summaryrefslogtreecommitdiffstats
path: root/dcopjava/tests/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dcopjava/tests/main.cpp')
-rw-r--r--dcopjava/tests/main.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/dcopjava/tests/main.cpp b/dcopjava/tests/main.cpp
new file mode 100644
index 00000000..2bdb0547
--- /dev/null
+++ b/dcopjava/tests/main.cpp
@@ -0,0 +1,17 @@
+#include <kapplication.h>
+#include <dcopclient.h>
+
+
+#include "test_impl.h"
+
+
+int main(int argc, char *argv[])
+{
+ KApplication app(argc, argv, "test-server", false, false);
+
+ app.dcopClient()->registerAs("test-server", false);
+
+ test_impl *t = new test_impl;
+
+ return app.exec();
+}