Restore suffix for TestLibrary.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-12 15:34:51 +01:00
parent ae51e05c1e
commit 2c601fd12b

View File

@ -39,6 +39,7 @@ SharedLibraryTest::~SharedLibraryTest()
void SharedLibraryTest::testSharedLibrary1() void SharedLibraryTest::testSharedLibrary1()
{ {
std::string path = "TestLibrary"; std::string path = "TestLibrary";
path.append(SharedLibrary::suffix());
SharedLibrary sl; SharedLibrary sl;
assert (!sl.isLoaded()); assert (!sl.isLoaded());
sl.load(path); sl.load(path);
@ -72,6 +73,7 @@ void SharedLibraryTest::testSharedLibrary1()
void SharedLibraryTest::testSharedLibrary2() void SharedLibraryTest::testSharedLibrary2()
{ {
std::string path = "TestLibrary"; std::string path = "TestLibrary";
path.append(SharedLibrary::suffix());
SharedLibrary sl(path); SharedLibrary sl(path);
assert (sl.getPath() == path); assert (sl.getPath() == path);
assert (sl.isLoaded()); assert (sl.isLoaded());