Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
michael@0 | 1 | include protocol PTestDataStructuresSub; |
michael@0 | 2 | include PTestDataStructuresCommon; |
michael@0 | 3 | |
michael@0 | 4 | include "mozilla/GfxMessageUtils.h"; |
michael@0 | 5 | |
michael@0 | 6 | namespace mozilla { |
michael@0 | 7 | namespace _ipdltest { |
michael@0 | 8 | |
michael@0 | 9 | sync protocol PTestDataStructures { |
michael@0 | 10 | manages PTestDataStructuresSub; |
michael@0 | 11 | |
michael@0 | 12 | child: |
michael@0 | 13 | PTestDataStructuresSub(int i); |
michael@0 | 14 | |
michael@0 | 15 | Start(); |
michael@0 | 16 | |
michael@0 | 17 | parent: |
michael@0 | 18 | __delete__(); |
michael@0 | 19 | |
michael@0 | 20 | sync Test1(int[] i1) |
michael@0 | 21 | returns (int[] o1); |
michael@0 | 22 | |
michael@0 | 23 | sync Test2(PTestDataStructuresSub[] i1) |
michael@0 | 24 | returns (PTestDataStructuresSub[] o1); |
michael@0 | 25 | |
michael@0 | 26 | sync Test3(IntDouble i1, |
michael@0 | 27 | IntDouble i2) |
michael@0 | 28 | returns (IntDouble o1, |
michael@0 | 29 | IntDouble o2); |
michael@0 | 30 | |
michael@0 | 31 | sync Test4(IntDouble[] i1) |
michael@0 | 32 | returns (IntDouble[] o1); |
michael@0 | 33 | |
michael@0 | 34 | sync Test5(IntDoubleArrays i1, |
michael@0 | 35 | IntDoubleArrays i2, |
michael@0 | 36 | IntDoubleArrays i3) |
michael@0 | 37 | returns (IntDoubleArrays o1, |
michael@0 | 38 | IntDoubleArrays o2, |
michael@0 | 39 | IntDoubleArrays o3); |
michael@0 | 40 | |
michael@0 | 41 | sync Test6(IntDoubleArrays[] i1) |
michael@0 | 42 | returns (IntDoubleArrays[] o1); |
michael@0 | 43 | |
michael@0 | 44 | sync Test7_0(ActorWrapper a1) |
michael@0 | 45 | returns (ActorWrapper o1); |
michael@0 | 46 | |
michael@0 | 47 | sync Test7(Actors i1, |
michael@0 | 48 | Actors i2, |
michael@0 | 49 | Actors i3) |
michael@0 | 50 | returns (Actors o1, |
michael@0 | 51 | Actors o2, |
michael@0 | 52 | Actors o3); |
michael@0 | 53 | |
michael@0 | 54 | sync Test8(Actors[] i1) |
michael@0 | 55 | returns (Actors[] o1); |
michael@0 | 56 | |
michael@0 | 57 | sync Test9(Unions i1, |
michael@0 | 58 | Unions i2, |
michael@0 | 59 | Unions i3, |
michael@0 | 60 | Unions i4) |
michael@0 | 61 | returns (Unions o1, |
michael@0 | 62 | Unions o2, |
michael@0 | 63 | Unions o3, |
michael@0 | 64 | Unions o4); |
michael@0 | 65 | |
michael@0 | 66 | sync Test10(Unions[] i1) |
michael@0 | 67 | returns (Unions[] o1); |
michael@0 | 68 | |
michael@0 | 69 | sync Test11(SIntDouble i) |
michael@0 | 70 | returns (SIntDouble o); |
michael@0 | 71 | |
michael@0 | 72 | sync Test12(SIntDoubleArrays i) |
michael@0 | 73 | returns (SIntDoubleArrays o); |
michael@0 | 74 | |
michael@0 | 75 | sync Test13(SActors i) |
michael@0 | 76 | returns (SActors o); |
michael@0 | 77 | |
michael@0 | 78 | sync Test14(Structs i) |
michael@0 | 79 | returns (Structs o); |
michael@0 | 80 | |
michael@0 | 81 | sync Test15(WithStructs i1, |
michael@0 | 82 | WithStructs i2, |
michael@0 | 83 | WithStructs i3, |
michael@0 | 84 | WithStructs i4, |
michael@0 | 85 | WithStructs i5) |
michael@0 | 86 | returns (WithStructs o1, |
michael@0 | 87 | WithStructs o2, |
michael@0 | 88 | WithStructs o3, |
michael@0 | 89 | WithStructs o4, |
michael@0 | 90 | WithStructs o5); |
michael@0 | 91 | |
michael@0 | 92 | sync Test16(WithUnions i) |
michael@0 | 93 | returns (WithUnions o); |
michael@0 | 94 | |
michael@0 | 95 | sync Test17(Op[] ops); |
michael@0 | 96 | |
michael@0 | 97 | // test that the ParamTraits<nsTArray>::Read() workaround for |
michael@0 | 98 | // nsTArray's incorrect memmove() semantics works properly |
michael@0 | 99 | // (nsIntRegion isn't memmove()able) |
michael@0 | 100 | sync Test18(nsIntRegion[] ops); |
michael@0 | 101 | |
michael@0 | 102 | sync Dummy(ShmemUnion su) returns (ShmemUnion rsu); |
michael@0 | 103 | |
michael@0 | 104 | state CONSTRUCTING: |
michael@0 | 105 | send PTestDataStructuresSub goto CONSTRUCTING; |
michael@0 | 106 | send Start goto TEST1; |
michael@0 | 107 | state TEST1: recv Test1 goto TEST2; |
michael@0 | 108 | state TEST2: recv Test2 goto TEST3; |
michael@0 | 109 | state TEST3: recv Test3 goto TEST4; |
michael@0 | 110 | state TEST4: recv Test4 goto TEST5; |
michael@0 | 111 | state TEST5: recv Test5 goto TEST6; |
michael@0 | 112 | state TEST6: recv Test6 goto TEST7; |
michael@0 | 113 | state TEST7: recv Test7 goto TEST8; |
michael@0 | 114 | state TEST8: recv Test8 goto TEST9; |
michael@0 | 115 | state TEST9: recv Test9 goto TEST10; |
michael@0 | 116 | state TEST10: recv Test10 goto TEST11; |
michael@0 | 117 | state TEST11: recv Test11 goto TEST12; |
michael@0 | 118 | state TEST12: recv Test12 goto TEST13; |
michael@0 | 119 | state TEST13: recv Test13 goto TEST14; |
michael@0 | 120 | state TEST14: recv Test14 goto TEST15; |
michael@0 | 121 | state TEST15: recv Test15 goto TEST16; |
michael@0 | 122 | state TEST16: recv Test16 goto TEST17; |
michael@0 | 123 | state TEST17: recv Test17 goto TEST18; |
michael@0 | 124 | state TEST18: recv Test18 goto DEAD; |
michael@0 | 125 | |
michael@0 | 126 | state DEAD: |
michael@0 | 127 | recv __delete__; |
michael@0 | 128 | }; |
michael@0 | 129 | |
michael@0 | 130 | } // namespace _ipdltest |
michael@0 | 131 | } // namespace mozilla |
michael@0 | 132 |