summaryrefslogtreecommitdiffstats
path: root/win/pro_files/dcop/tests
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commitce4a32fe52ef09d8f5ff1dd22c001110902b60a2 (patch)
tree5ac38a06f3dde268dc7927dc155896926aaf7012 /win/pro_files/dcop/tests
downloadtdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.tar.gz
tdelibs-ce4a32fe52ef09d8f5ff1dd22c001110902b60a2.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'win/pro_files/dcop/tests')
-rwxr-xr-xwin/pro_files/dcop/tests/build_win.sh6
-rw-r--r--win/pro_files/dcop/tests/dcop_test.pro15
-rw-r--r--win/pro_files/dcop/tests/driver.pro15
-rw-r--r--win/pro_files/dcop/tests/tests.pro31
4 files changed, 67 insertions, 0 deletions
diff --git a/win/pro_files/dcop/tests/build_win.sh b/win/pro_files/dcop/tests/build_win.sh
new file mode 100755
index 000000000..161bdf13f
--- /dev/null
+++ b/win/pro_files/dcop/tests/build_win.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+perl ./generate.pl < testcases || exit 1
+
+qmake dcop_test.pro -o Makefile && $MAKE || exit 1
+qmake driver.pro -o Makefile && $MAKE || exit 1
diff --git a/win/pro_files/dcop/tests/dcop_test.pro b/win/pro_files/dcop/tests/dcop_test.pro
new file mode 100644
index 000000000..4b390dd1d
--- /dev/null
+++ b/win/pro_files/dcop/tests/dcop_test.pro
@@ -0,0 +1,15 @@
+TEMPLATE = app
+
+include( $(KDELIBS)/win/common.pro )
+
+TARGET = dcop_test
+DESTDIR = .
+
+system( bash kmoc )
+system( bash kdcopidl )
+
+INCLUDEPATH += .. ../moc
+
+LIBS += $$KDELIBDESTDIR/dcop$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdeice$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdecore$$KDELIB_SUFFIX
+
+SOURCES += test.cpp test_skel.cpp test_stub.cpp
diff --git a/win/pro_files/dcop/tests/driver.pro b/win/pro_files/dcop/tests/driver.pro
new file mode 100644
index 000000000..215a8596e
--- /dev/null
+++ b/win/pro_files/dcop/tests/driver.pro
@@ -0,0 +1,15 @@
+TEMPLATE = app
+
+include( $(KDELIBS)/win/common.pro )
+
+TARGET = driver
+DESTDIR = .
+
+system( bash kmoc )
+system( bash kdcopidl )
+
+INCLUDEPATH += .. ../moc
+
+LIBS += $$KDELIBDESTDIR/dcop$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdeice$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdecore$$KDELIB_SUFFIX
+
+SOURCES += driver.cpp test_stub.cpp
diff --git a/win/pro_files/dcop/tests/tests.pro b/win/pro_files/dcop/tests/tests.pro
new file mode 100644
index 000000000..fd5d7cab5
--- /dev/null
+++ b/win/pro_files/dcop/tests/tests.pro
@@ -0,0 +1,31 @@
+TEMPLATE = app
+
+include( $(KDELIBS)/win/common.pro )
+
+# needed to export library classes:
+DEFINES += MAKE_DCOP_LIB
+
+TARGET = testdcop
+
+system( bash kmoc .. )
+
+INCLUDEPATH += .. ../moc
+
+LIBS += $$KDELIBDESTDIR/dcop$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdeice$$KDELIB_SUFFIX $$KDELIBDESTDIR/kdecore$$KDELIB_SUFFIX
+
+SOURCES += ../testdcop.cpp
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+