|
@@ -33,6 +33,20 @@ using namespace std;
|
|
|
|
|
|
namespace {
|
|
|
|
|
|
+// Names of the libraries used in these tests. These libraries are built using
|
|
|
+// libtool, so we need to look in the hidden ".libs" directory to locate the
|
|
|
+// .so file. Note that we access the .so file - libtool creates this as a
|
|
|
+// like to the real shared library.
|
|
|
+static const char* BASIC_CALLOUT_LIBRARY = "@abs_builddir@/.libs/libbcl.so";
|
|
|
+static const char* FULL_CALLOUT_LIBRARY = "@abs_builddir@/.libs/libfcl.so";
|
|
|
+static const char* INCORRECT_VERSION_LIBRARY = "@abs_builddir@/.libs/libivl.so";
|
|
|
+static const char* LOAD_CALLOUT_LIBRARY = "@abs_builddir@/.libs/liblcl.so";
|
|
|
+static const char* LOAD_ERROR_CALLOUT_LIBRARY =
|
|
|
+ "@abs_builddir@/.libs/liblecl.so";
|
|
|
+static const char* NOT_PRESENT_LIBRARY = "@abs_builddir@/.libs/libnothere.so";
|
|
|
+static const char* NO_VERSION_LIBRARY = "@abs_builddir@/.libs/libnvl.so";
|
|
|
+static const char* UNLOAD_CALLOUT_LIBRARY = "@abs_builddir@/.libs/libucl.so";
|
|
|
+
|
|
|
/// @brief Library manager test class
|
|
|
|
|
|
class LibraryManagerTest : public ::testing::Test {
|
|
@@ -143,7 +157,6 @@ public:
|
|
|
boost::shared_ptr<CalloutManager> callout_manager_;
|
|
|
};
|
|
|
|
|
|
-
|
|
|
/// @brief Library manager class
|
|
|
///
|
|
|
/// This is an instance of the LibraryManager class but with the protected
|
|
@@ -174,20 +187,6 @@ public:
|
|
|
using LibraryManager::runUnload;
|
|
|
};
|
|
|
|
|
|
-// Names of the libraries used in these tests. These libraries are built using
|
|
|
-// libtool, so we need to look in the hidden ".libs" directory to locate the
|
|
|
-// .so file. Note that we access the .so file - libtool creates this as a
|
|
|
-// like to the real shared library.
|
|
|
-static const char* BASIC_CALLOUT_LIBRARY = "@abs_builddir@/.libs/libbcl.so";
|
|
|
-static const char* FULL_CALLOUT_LIBRARY = "@abs_builddir@/.libs/libfcl.so";
|
|
|
-static const char* INCORRECT_VERSION_LIBRARY = "@abs_builddir@/.libs/libivl.so";
|
|
|
-static const char* LOAD_CALLOUT_LIBRARY = "@abs_builddir@/.libs/liblcl.so";
|
|
|
-static const char* LOAD_ERROR_CALLOUT_LIBRARY =
|
|
|
- "@abs_builddir@/.libs/liblecl.so";
|
|
|
-static const char* NOT_PRESENT_LIBRARY = "@abs_builddir@/.libs/libnothere.so";
|
|
|
-static const char* NO_VERSION_LIBRARY = "@abs_builddir@/.libs/libnvl.so";
|
|
|
-static const char* UNLOAD_CALLOUT_LIBRARY = "@abs_builddir@/.libs/libucl.so";
|
|
|
-
|
|
|
|
|
|
// Check that openLibrary() reports an error when it can't find the specified
|
|
|
// library.
|