Bug 1319595, part 5 - Rename rpc to interrupt in IPDL error/ unit tests. r=billm
Change message annotations from "rpc" to "intr" to match the current
name, and similarly rename the protocols and the files.
MozReview-Commit-ID: Dd9ikvAHMnV
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/intrParentToChild.ipdl
@@ -0,0 +1,6 @@
+intr protocol intrParentToChild {
+
+ // can't declare interrupt parent-to-child messages
+child: intr Msg();
+
+};
deleted file mode 100644
--- a/ipc/ipdl/test/ipdl/error/rpcParentToChild.ipdl
+++ /dev/null
@@ -1,6 +0,0 @@
-intr protocol rpcParentToChild {
-
- // can't declare rpc parent-to-child messages
-child: rpc Msg();
-
-};
deleted file mode 100644
--- a/ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl
+++ /dev/null
@@ -1,7 +0,0 @@
-protocol tooWeakRPCAsync {
-
- // it's an error to declare an async protocol with an intr message
-
-parent: intr Msg();
-
-};
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/tooWeakIntrAsync.ipdl
@@ -0,0 +1,7 @@
+protocol tooWeakIntrAsync {
+
+ // it's an error to declare an async protocol with an intr message
+
+parent: intr Msg();
+
+};
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/tooWeakIntrSync.ipdl
@@ -0,0 +1,6 @@
+sync protocol tooWeakIntrSync {
+
+ // it's an error to declare a sync protocol with an interrupt message
+parent:
+ intr Msg();
+};
deleted file mode 100644
--- a/ipc/ipdl/test/ipdl/error/tooWeakRpcSync.ipdl
+++ /dev/null
@@ -1,6 +0,0 @@
-sync protocol tooWeakRpcSync {
-
- // it's an error to declare a sync protocol with an rpc message
-parent:
- rpc Msg();
-};