mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-12 22:09:25 +08:00
jamiaccount: init convModule for disabled accounts
Change-Id: Iec90e9d91f933531a96d4e84e6a3ed242caf1422
This commit is contained in:
@ -108,6 +108,7 @@ public:
|
||||
|
||||
private:
|
||||
void testCreateConversation();
|
||||
void testOfflineConvModule();
|
||||
void testCreateConversationInvalidDisplayName();
|
||||
void testGetConversation();
|
||||
void testGetConversationsAfterRm();
|
||||
@ -162,6 +163,7 @@ private:
|
||||
|
||||
CPPUNIT_TEST_SUITE(ConversationTest);
|
||||
CPPUNIT_TEST(testCreateConversation);
|
||||
CPPUNIT_TEST(testOfflineConvModule);
|
||||
CPPUNIT_TEST(testCreateConversationInvalidDisplayName);
|
||||
CPPUNIT_TEST(testGetConversation);
|
||||
CPPUNIT_TEST(testGetConversationsAfterRm);
|
||||
@ -547,6 +549,14 @@ ConversationTest::testCreateConversation()
|
||||
CPPUNIT_ASSERT(deviceCrtStr == deviceCert);
|
||||
}
|
||||
|
||||
void
|
||||
ConversationTest::testOfflineConvModule()
|
||||
{
|
||||
std::cout << "\nRunning test: " << __func__ << std::endl;
|
||||
auto carlaAccount = Manager::instance().getAccount<JamiAccount>(carlaId);
|
||||
CPPUNIT_ASSERT(carlaAccount->convModule() != nullptr);
|
||||
}
|
||||
|
||||
void
|
||||
ConversationTest::testCreateConversationInvalidDisplayName()
|
||||
{
|
||||
|
Reference in New Issue
Block a user