summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/TestSyncError.cpp
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:14:29 +0000
commitfbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8 (patch)
tree4c1ccaf5486d4f2009f9a338a98a83e886e29c97 /ipc/ipdl/test/cxx/TestSyncError.cpp
parentReleasing progress-linux version 124.0.1-1~progress7.99u1. (diff)
downloadfirefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.tar.xz
firefox-fbaf0bb26397aa498eb9156f06d5a6fe34dd7dd8.zip
Merging upstream version 125.0.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ipc/ipdl/test/cxx/TestSyncError.cpp')
-rw-r--r--ipc/ipdl/test/cxx/TestSyncError.cpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/ipc/ipdl/test/cxx/TestSyncError.cpp b/ipc/ipdl/test/cxx/TestSyncError.cpp
deleted file mode 100644
index 6c21590a87..0000000000
--- a/ipc/ipdl/test/cxx/TestSyncError.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-#include "TestSyncError.h"
-
-#include "IPDLUnitTests.h" // fail etc.
-
-namespace mozilla {
-namespace _ipdltest {
-
-//-----------------------------------------------------------------------------
-// parent
-
-TestSyncErrorParent::TestSyncErrorParent() {
- MOZ_COUNT_CTOR(TestSyncErrorParent);
-}
-
-TestSyncErrorParent::~TestSyncErrorParent() {
- MOZ_COUNT_DTOR(TestSyncErrorParent);
-}
-
-void TestSyncErrorParent::Main() {
- if (!SendStart()) fail("sending Start");
-}
-
-mozilla::ipc::IPCResult TestSyncErrorParent::RecvError() {
- return IPC_FAIL_NO_REASON(this);
-}
-
-//-----------------------------------------------------------------------------
-// child
-
-TestSyncErrorChild::TestSyncErrorChild() { MOZ_COUNT_CTOR(TestSyncErrorChild); }
-
-TestSyncErrorChild::~TestSyncErrorChild() {
- MOZ_COUNT_DTOR(TestSyncErrorChild);
-}
-
-mozilla::ipc::IPCResult TestSyncErrorChild::RecvStart() {
- if (SendError()) fail("Error() should have return false");
-
- Close();
-
- return IPC_OK();
-}
-
-} // namespace _ipdltest
-} // namespace mozilla