summaryrefslogtreecommitdiffstats
path: root/kpilot/tests/conduits
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
commit460c52653ab0dcca6f19a4f492ed2c5e4e963ab0 (patch)
tree67208f7c145782a7e90b123b982ca78d88cc2c87 /kpilot/tests/conduits
downloadtdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.tar.gz
tdepim-460c52653ab0dcca6f19a4f492ed2c5e4e963ab0.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/kdepim@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpilot/tests/conduits')
-rw-r--r--kpilot/tests/conduits/vcalconduit/exampletest.cc26
-rw-r--r--kpilot/tests/conduits/vcalconduit/exampletest.h28
2 files changed, 54 insertions, 0 deletions
diff --git a/kpilot/tests/conduits/vcalconduit/exampletest.cc b/kpilot/tests/conduits/vcalconduit/exampletest.cc
new file mode 100644
index 000000000..5d6ba40d5
--- /dev/null
+++ b/kpilot/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 = QString("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/kpilot/tests/conduits/vcalconduit/exampletest.h b/kpilot/tests/conduits/vcalconduit/exampletest.h
new file mode 100644
index 000000000..137c31326
--- /dev/null
+++ b/kpilot/tests/conduits/vcalconduit/exampletest.h
@@ -0,0 +1,28 @@
+#ifndef EXAMPLETEST_H
+#define EXAMPLETEST_H
+
+#include <cppunit/extensions/HelperMacros.h>
+#include <qstring.h>
+
+#include "kpilotlocallink.h"
+#include "syncAction.h"
+
+class VCalConduitTest : public CppUnit::TestFixture
+{
+ CPPUNIT_TEST_SUITE( VCalConduitTest );
+ CPPUNIT_TEST( testConstructor );
+ CPPUNIT_TEST_SUITE_END();
+
+private:
+ QString device;
+ KPilotLocalLink *link;
+ SyncAction::SyncMode::Mode syncMode;
+
+public:
+ void setUp();
+ void tearDown();
+
+ void testConstructor();
+};
+
+#endif