Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11 from martyone/fix-tests
tests: Fix execution w/o -devel subpkg
  • Loading branch information
VDVsx committed Sep 16, 2014
2 parents 59abdf8 + adefae1 commit fcc082c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests_meego/SyncAgentTest.cpp
Expand Up @@ -68,9 +68,9 @@ void SyncAgentTest::testSync()
{
createSyncAgent_t createSyncAgent = (createSyncAgent_t) QLibrary::resolve(
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
"libbuteosyncml.so", "createSyncAgent");
"buteosyncml", "0", "createSyncAgent");
#else
"libbuteosyncml5.so", "createSyncAgent");
"buteosyncml5", "0", "createSyncAgent");
#endif
QVERIFY(NULL != createSyncAgent);
SyncAgent* agent = createSyncAgent(NULL);
Expand Down Expand Up @@ -163,11 +163,11 @@ void SyncAgentTest::testSync()

destroySyncAgent_t* destroySyncAgent =
#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0)
(destroySyncAgent_t*) QLibrary::resolve("libbuteosyncml.so",
(destroySyncAgent_t*) QLibrary::resolve("buteosyncml",
#else
(destroySyncAgent_t*) QLibrary::resolve("libbuteosyncml5.so",
(destroySyncAgent_t*) QLibrary::resolve("buteosyncml5",
#endif
"destroySyncAgent");
"0", "destroySyncAgent");
QVERIFY(NULL != destroySyncAgent);
destroySyncAgent(agent);
agent = NULL;
Expand Down

0 comments on commit fcc082c

Please sign in to comment.