Remove the suffix() from TestLibrary path.

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE
2015-12-12 14:22:13 +01:00
parent 4027a0581b
commit 735689c38c

View File

@@ -39,7 +39,6 @@ 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);
@@ -73,7 +72,6 @@ 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());
@@ -89,7 +87,6 @@ void SharedLibraryTest::testSharedLibrary2()
void SharedLibraryTest::testSharedLibrary3() void SharedLibraryTest::testSharedLibrary3()
{ {
std::string path = "NonexistentLibrary"; std::string path = "NonexistentLibrary";
path.append(SharedLibrary::suffix());
SharedLibrary sl; SharedLibrary sl;
try try
{ {