Bug 540111, part 4: IPDL-only tests of multi-managers.
authorChris Jones <jones.chris.g@gmail.com>
Tue, 26 Jan 2010 22:56:13 -0600
changeset 46614 d7a34309805841767abfabe1d9cf6947b4f4d600
parent 46613 de1a20e521f8a02ea23ab1b841be698a850c3c60
child 46615 3b8310fcc35df722b40757423775f68a34d81601
push idunknown
push userunknown
push dateunknown
bugs540111
milestone1.9.3a1pre
Bug 540111, part 4: IPDL-only tests of multi-managers.
ipc/ipdl/test/ipdl/error/multimanDupMgrs.ipdl
ipc/ipdl/test/ipdl/error/multimanDupMgrsMgr.ipdl
ipc/ipdl/test/ipdl/error/multimanNonexistentMgrs.ipdl
ipc/ipdl/test/ipdl/ok/multiManaged.ipdl
ipc/ipdl/test/ipdl/ok/multiManager1.ipdl
ipc/ipdl/test/ipdl/ok/multiManager2.ipdl
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/multimanDupMgrs.ipdl
@@ -0,0 +1,8 @@
+include protocol "multimanDupMgrsMgr.ipdl";
+
+protocol multimanDupMgrs {
+    manager multimanDupMgrsMgr or multimanDupMgrsMgr;
+
+child:
+    __delete__();
+};
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/multimanDupMgrsMgr.ipdl
@@ -0,0 +1,9 @@
+include protocol "multimanDupMgrs.ipdl";
+
+protocol multimanDupMgrsMgr {
+    manages multimanDupMgrs;
+
+child:
+    multimanDupMgrs();
+    __delete__();
+};
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/error/multimanNonexistentMgrs.ipdl
@@ -0,0 +1,7 @@
+protocol multimanNonexistentManagers {
+    manager Starsky or Hutch;
+
+child:
+    Dummy();
+    __delete__();
+};
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/ok/multiManaged.ipdl
@@ -0,0 +1,9 @@
+include protocol "multiManager1.ipdl";
+include protocol "multiManager2.ipdl";
+
+protocol multiManaged {
+    manager multiManager1 or multiManager2;
+
+child:
+    __delete__();
+};
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/ok/multiManager1.ipdl
@@ -0,0 +1,8 @@
+include protocol "multiManaged.ipdl";
+
+protocol multiManager1 {
+    manages multiManaged;
+
+child:
+    multiManaged();
+};
new file mode 100644
--- /dev/null
+++ b/ipc/ipdl/test/ipdl/ok/multiManager2.ipdl
@@ -0,0 +1,8 @@
+include protocol "multiManaged.ipdl";
+
+protocol multiManager2 {
+    manages multiManaged;
+
+child:
+    multiManaged();
+};