ipc/ipdl/test/cxx/PTestStackHooks.ipdl

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

michael@0 1
michael@0 2 namespace mozilla {
michael@0 3 namespace _ipdltest {
michael@0 4
michael@0 5
michael@0 6 intr protocol PTestStackHooks {
michael@0 7 child:
michael@0 8 async Start();
michael@0 9
michael@0 10 // These tests are more fruitful running child->parent, because
michael@0 11 // children can send |sync| messages
michael@0 12 parent:
michael@0 13 async Async();
michael@0 14 sync Sync();
michael@0 15 intr Rpc();
michael@0 16
michael@0 17 both:
michael@0 18 intr StackFrame();
michael@0 19
michael@0 20 parent:
michael@0 21 __delete__();
michael@0 22
michael@0 23
michael@0 24 state START:
michael@0 25 send Start goto TEST1;
michael@0 26
michael@0 27 state TEST1:
michael@0 28 recv Async goto TEST2;
michael@0 29
michael@0 30 state TEST2:
michael@0 31 recv Sync goto TEST3;
michael@0 32
michael@0 33 state TEST3:
michael@0 34 answer Rpc goto TEST4;
michael@0 35
michael@0 36 state TEST4:
michael@0 37 answer StackFrame goto TEST4_2;
michael@0 38 state TEST4_2:
michael@0 39 call StackFrame goto TEST4_3;
michael@0 40 state TEST4_3:
michael@0 41 recv Async goto TEST5;
michael@0 42
michael@0 43 state TEST5:
michael@0 44 answer StackFrame goto TEST5_2;
michael@0 45 state TEST5_2:
michael@0 46 call StackFrame goto TEST5_3;
michael@0 47 state TEST5_3:
michael@0 48 recv Sync goto DEAD;
michael@0 49
michael@0 50 state DEAD:
michael@0 51 recv __delete__;
michael@0 52 };
michael@0 53
michael@0 54
michael@0 55 } // namespace mozilla
michael@0 56 } // namespace _ipdltest

mercurial