summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-13 04:08:37 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2017-04-13 04:08:37 +0200
commitde5eab33cb30f15f85ac8f197bd571b7695566a6 (patch)
tree27fd9b32a90ab947cf081e6e62c24afed5bdce9a /src
parent6456f18a9aa00cbf9d90075786122075dc8f3141 (diff)
remove BeOS special support
Diffstat (limited to 'src')
-rw-r--r--src/cppunit/BeOsDynamicLibraryManager.cpp49
-rw-r--r--src/cppunit/Makefile.am1
-rw-r--r--src/cppunit/cppunit.vcxproj1
-rw-r--r--src/cppunit/cppunit_dll.vcxproj1
4 files changed, 0 insertions, 52 deletions
diff --git a/src/cppunit/BeOsDynamicLibraryManager.cpp b/src/cppunit/BeOsDynamicLibraryManager.cpp
deleted file mode 100644
index b8568be..0000000
--- a/src/cppunit/BeOsDynamicLibraryManager.cpp
+++ /dev/null
@@ -1,49 +0,0 @@
-#include <cppunit/Portability.h>
-
-#if defined(CPPUNIT_HAVE_BEOS_DLL_LOADER)
-#include <cppunit/plugin/DynamicLibraryManager.h>
-
-#include <kernel/image.h>
-
-
-CPPUNIT_NS_BEGIN
-
-
-DynamicLibraryManager::LibraryHandle
-DynamicLibraryManager::doLoadLibrary( const std::string &libraryName )
-{
- return (LibraryHandle)::load_add_on( libraryName.c_str() );
-}
-
-
-void
-DynamicLibraryManager::doReleaseLibrary()
-{
- ::unload_add_on( (image_id)m_libraryHandle );
-}
-
-
-DynamicLibraryManager::Symbol
-DynamicLibraryManager::doFindSymbol( const std::string &symbol )
-{
- void *symbolPointer;
- if ( ::get_image_symbol( (image_id)m_libraryHandle,
- symbol.c_str(),
- B_SYMBOL_TYPE_TEXT,
- &symbolPointer ) == B_OK )
- return symnolPointer;
- return NULL;
-}
-
-
-std::string
-DynamicLibraryManager::getLastErrorDetail() const
-{
- return "";
-}
-
-
-CPPUNIT_NS_END
-
-
-#endif // defined(CPPUNIT_HAVE_BEOS_DLL_LOADER)
diff --git a/src/cppunit/Makefile.am b/src/cppunit/Makefile.am
index 7134bad..bb67a8a 100644
--- a/src/cppunit/Makefile.am
+++ b/src/cppunit/Makefile.am
@@ -10,7 +10,6 @@ lib_LTLIBRARIES = libcppunit.la
libcppunit_la_SOURCES = \
AdditionalMessage.cpp \
Asserter.cpp \
- BeOsDynamicLibraryManager.cpp \
BriefTestProgressListener.cpp \
CompilerOutputter.cpp \
DefaultProtector.h \
diff --git a/src/cppunit/cppunit.vcxproj b/src/cppunit/cppunit.vcxproj
index 7b7b270..43c63a0 100644
--- a/src/cppunit/cppunit.vcxproj
+++ b/src/cppunit/cppunit.vcxproj
@@ -299,7 +299,6 @@
<ClCompile Include="TestCaseDecorator.cpp" />
<ClCompile Include="TestDecorator.cpp" />
<ClCompile Include="TestSetUp.cpp" />
- <ClCompile Include="BeOsDynamicLibraryManager.cpp" />
<ClCompile Include="DynamicLibraryManager.cpp" />
<ClCompile Include="DynamicLibraryManagerException.cpp" />
<ClCompile Include="PlugInManager.cpp" />
diff --git a/src/cppunit/cppunit_dll.vcxproj b/src/cppunit/cppunit_dll.vcxproj
index 71ef783..043e977 100644
--- a/src/cppunit/cppunit_dll.vcxproj
+++ b/src/cppunit/cppunit_dll.vcxproj
@@ -309,7 +309,6 @@ copy "$(TargetDir)$(TargetName).lib" ..\..\lib\$(TargetName).lib</Command>
<ClCompile Include="TestSuccessListener.cpp" />
<ClCompile Include="TextTestProgressListener.cpp" />
<ClCompile Include="TextTestResult.cpp" />
- <ClCompile Include="BeosDynamicLibraryManager.cpp" />
<ClCompile Include="DynamicLibraryManager.cpp" />
<ClCompile Include="DynamicLibraryManagerException.cpp" />
<ClCompile Include="PlugInManager.cpp" />