summaryrefslogtreecommitdiffstats
path: root/tests/conduits
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitcb7eddb91455a69cf66fcd717e91a51ca5e2cfef (patch)
treecf5546e4d7c44370fbe9ca2be937bd254f30ebaa /tests/conduits
downloadkpilot-cb7eddb91455a69cf66fcd717e91a51ca5e2cfef.tar.gz
kpilot-cb7eddb91455a69cf66fcd717e91a51ca5e2cfef.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpilot@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'tests/conduits')
-rw-r--r--tests/conduits/vcalconduit/exampletest.cc26
-rw-r--r--tests/conduits/vcalconduit/exampletest.h28
2 files changed, 54 insertions, 0 deletions
diff --git a/tests/conduits/vcalconduit/exampletest.cc b/tests/conduits/vcalconduit/exampletest.cc
new file mode 100644
index 0000000..b16a6c3
--- /dev/null
+++ b/tests/conduits/vcalconduit/exampletest.cc
@@ -0,0 +1,26 @@
+#include "options.h"
+#include "config.h"
+
+#include "exampletest.h"
+
+CPPUNIT_TEST_SUITE_REGISTRATION( VCalConduitTest );
+
+
+void VCalConduitTest::setUp()
+{
+ device = TQString("testdevice");
+ link = new KPilotLocalLink(0, "localLink");
+ syncMode = SyncAction::SyncMode::eHotSync;
+}
+
+
+void VCalConduitTest::tearDown()
+{
+ delete link;
+}
+
+
+void VCalConduitTest::testConstructor()
+{
+ CPPUNIT_ASSERT( true == true );
+}
diff --git a/tests/conduits/vcalconduit/exampletest.h b/tests/conduits/vcalconduit/exampletest.h
new file mode 100644
index 0000000..f98c14c
--- /dev/null
+++ b/tests/conduits/vcalconduit/exampletest.h
@@ -0,0 +1,28 @@
+#ifndef EXAMPLETEST_H
+#define EXAMPLETEST_H
+
+#include <cppunit/extensions/HelperMacros.h>
+#include <tqstring.h>
+
+#include "kpilotlocallink.h"
+#include "syncAction.h"
+
+class VCalConduitTest : public CppUnit::TestFixture
+{
+ CPPUNIT_TEST_SUITE( VCalConduitTest );
+ CPPUNIT_TEST( testConstructor );
+ CPPUNIT_TEST_SUITE_END();
+
+private:
+ TQString device;
+ KPilotLocalLink *link;
+ SyncAction::SyncMode::Mode syncMode;
+
+public:
+ void setUp();
+ void tearDown();
+
+ void testConstructor();
+};
+
+#endif