summaryrefslogtreecommitdiff
path: root/tubes/qa
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2012-03-21 19:31:50 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2012-07-17 16:39:26 +0200
commit5edcd7fa12c69c5b27d6b317f380f266f292008d (patch)
treee9fbbf1a8958032c8fda213c65695701848cf2e2 /tubes/qa
parent1e28e0f28082be69c02fa6dc5c0cb3e59167b7a3 (diff)
make service name configurable for tests
Diffstat (limited to 'tubes/qa')
-rw-r--r--tubes/qa/test_manager.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/tubes/qa/test_manager.cxx b/tubes/qa/test_manager.cxx
index 3618f6ca4ad9..69266d09b5b0 100644
--- a/tubes/qa/test_manager.cxx
+++ b/tubes/qa/test_manager.cxx
@@ -46,11 +46,11 @@ public:
TestTeleTubes();
~TestTeleTubes();
- void testContactList();
void testSetupManager1();
void testSetupManager2();
void testConnect1();
void testConnect2();
+ void testContactList();
void testPrepareAccountManager1();
void testPrepareAccountManager2();
void testStartBuddySession1();
@@ -66,11 +66,11 @@ public:
// Order is significant.
CPPUNIT_TEST_SUITE( TestTeleTubes );
- CPPUNIT_TEST( testContactList );
CPPUNIT_TEST( testSetupManager1 );
CPPUNIT_TEST( testSetupManager2 );
CPPUNIT_TEST( testConnect1 );
CPPUNIT_TEST( testConnect2 );
+ CPPUNIT_TEST( testContactList );
CPPUNIT_TEST( testPrepareAccountManager1 );
CPPUNIT_TEST( testPrepareAccountManager2 );
CPPUNIT_TEST( testStartBuddySession1 );
@@ -83,9 +83,6 @@ public:
CPPUNIT_TEST( testFailAlways ); // need failure to display SAL_LOG, comment out for real builds
CPPUNIT_TEST_SUITE_END();
-private:
-
- void runSetupManager( TeleManager* pManager, const rtl::OUString& rBuddy );
};
// static, not members, so they actually survive cppunit test iteration
@@ -101,6 +98,7 @@ static sal_uInt32 nSentPackets = 0;
TestTeleTubes::TestTeleTubes()
{
+ TeleManager::addSuffixToNames( "TeleTest");
}
TestTeleTubes::~TestTeleTubes()