mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-24 17:30:44 +02:00
Remove the suffix() from TestLibrary path.
Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user