diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2012-03-22 11:06:42 +0000 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-07-17 16:39:29 +0200 |
commit | bbfc386f54b4b6ca17431e187f161858a3b80976 (patch) | |
tree | 4ed259fd70c31bbf4f6d7dc4bf0b190bccb036e3 /tubes/qa | |
parent | 543c6520a8aa633511da604436b107e95c3142e0 (diff) |
Make startBuddySession() take a TpAccount *.
Diffstat (limited to 'tubes/qa')
-rw-r--r-- | tubes/qa/test_manager.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tubes/qa/test_manager.cxx b/tubes/qa/test_manager.cxx index 63077dc9f4a1..f7461ba1730c 100644 --- a/tubes/qa/test_manager.cxx +++ b/tubes/qa/test_manager.cxx @@ -190,7 +190,9 @@ void TestTeleTubes::testPrepareAccountManager2() void TestTeleTubes::testStartBuddySession1() { - bool bStarted = mpManager1->startBuddySession( maAcc1, maAcc2); + TpAccount *pAcc1 = mpManager1->getAccount( OUStringToOString( maAcc1, RTL_TEXTENCODING_UTF8)); + CPPUNIT_ASSERT ( pAcc1 != 0); + bool bStarted = mpManager1->startBuddySession( pAcc1, maAcc2); CPPUNIT_ASSERT( bStarted == true); } |