mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
c8133fee65
--HG-- rename : ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl => ipc/ipdl/test/cxx/PTestInterruptErrorCleanup.ipdl rename : ipc/ipdl/test/cxx/PTestRPCRaces.ipdl => ipc/ipdl/test/cxx/PTestInterruptRaces.ipdl rename : ipc/ipdl/test/cxx/PTestRPCShutdownRace.ipdl => ipc/ipdl/test/cxx/PTestInterruptShutdownRace.ipdl rename : ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl => ipc/ipdl/test/cxx/PTestRacyInterruptReplies.ipdl rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.cpp => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.cpp rename : ipc/ipdl/test/cxx/TestRPCErrorCleanup.h => ipc/ipdl/test/cxx/TestInterruptErrorCleanup.h rename : ipc/ipdl/test/cxx/TestRPCRaces.cpp => ipc/ipdl/test/cxx/TestInterruptRaces.cpp rename : ipc/ipdl/test/cxx/TestRPCRaces.h => ipc/ipdl/test/cxx/TestInterruptRaces.h rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.cpp => ipc/ipdl/test/cxx/TestInterruptShutdownRace.cpp rename : ipc/ipdl/test/cxx/TestRPCShutdownRace.h => ipc/ipdl/test/cxx/TestInterruptShutdownRace.h rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.cpp => ipc/ipdl/test/cxx/TestRacyInterruptReplies.cpp rename : ipc/ipdl/test/cxx/TestRacyRPCReplies.h => ipc/ipdl/test/cxx/TestRacyInterruptReplies.h rename : ipc/ipdl/test/ipdl/error/rpcMessageCompress.ipdl => ipc/ipdl/test/ipdl/error/intrMessageCompress.ipdl rename : ipc/ipdl/test/ipdl/error/tooWeakRPCAsync.ipdl => ipc/ipdl/test/ipdl/error/tooWeakInterruptAsync.ipdl rename : ipc/ipdl/test/ipdl/ok/rpcProtocol.ipdl => ipc/ipdl/test/ipdl/ok/intrProtocol.ipdl
57 lines
861 B
Plaintext
57 lines
861 B
Plaintext
|
|
namespace mozilla {
|
|
namespace _ipdltest {
|
|
|
|
|
|
intr protocol PTestStackHooks {
|
|
child:
|
|
async Start();
|
|
|
|
// These tests are more fruitful running child->parent, because
|
|
// children can send |sync| messages
|
|
parent:
|
|
async Async();
|
|
sync Sync();
|
|
intr Rpc();
|
|
|
|
both:
|
|
intr StackFrame();
|
|
|
|
parent:
|
|
__delete__();
|
|
|
|
|
|
state START:
|
|
send Start goto TEST1;
|
|
|
|
state TEST1:
|
|
recv Async goto TEST2;
|
|
|
|
state TEST2:
|
|
recv Sync goto TEST3;
|
|
|
|
state TEST3:
|
|
answer Rpc goto TEST4;
|
|
|
|
state TEST4:
|
|
answer StackFrame goto TEST4_2;
|
|
state TEST4_2:
|
|
call StackFrame goto TEST4_3;
|
|
state TEST4_3:
|
|
recv Async goto TEST5;
|
|
|
|
state TEST5:
|
|
answer StackFrame goto TEST5_2;
|
|
state TEST5_2:
|
|
call StackFrame goto TEST5_3;
|
|
state TEST5_3:
|
|
recv Sync goto DEAD;
|
|
|
|
state DEAD:
|
|
recv __delete__;
|
|
};
|
|
|
|
|
|
} // namespace mozilla
|
|
} // namespace _ipdltest
|