diff options
| author | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-07-03 06:02:49 +0000 |
|---|---|---|
| committer | Baptiste Lepilleur <gaiacrtn@free.fr> | 2002-07-03 06:02:49 +0000 |
| commit | ad45759ab7a47c7a7932f7e6be66f3ea106b643b (patch) | |
| tree | 827097bba87b959981cc3676f0e4d90630649c0b /src/cppunit/DynamicLibraryManager.cpp | |
| parent | d8e61dcb0fd9046b44ca3e9e6868b5429eee8aa9 (diff) | |
| download | cppunit-ad45759ab7a47c7a7932f7e6be66f3ea106b643b.tar.gz | |
Include/cppunit/XmlOutputter.
include/cppunit/XmlOutputter.h: fixed XmlOutputter constructed default
value initializatino which caused compilation error with BC5.
* src/cppunit/PlugInManager.cpp: added missing CPPUNIT_NO_TESTPLUGIN guard.
* src/msvc6/testrunner/TestRunner.dsp:
* src/msvc6/testrunner/TestRunner.rc:
* src/msvc6/testrunner/TestRunnerDlg.cpp:
* src/msvc6/testrunner/TestRunnerDlg.h:
* src/msvc6/testrunner/TreeHierarchyDlg.cpp:
* src/msvc6/testrunner/TreeHierarchyDlg.h:
* src/msvc6/testpluginrunner/TestPlugInRunner.dsp:
* src/msvc6/testpluginrunner/TestPlugInRunner.rc:
* src/msvc6/testpluginrunner/TestPlugInRunnerApp.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.cpp:
* src/msvc6/testpluginrunner/TestPlugInRunnerDlg.h: applied Steven Mitter
patch to fix bug #530426 (conflict between TestRunner and host application
resources). Adapted patch to compile work with Unicode.
* src/msvc6/testrunner/ResourceLoaders.h:
* src/msvc6/testrunner/ResourceLoaders.cpp:
* src/msvc6/testrunner/Change-Diary-ResourceBugFix.txt: added, from
Steven Mitter's patch. Simplified loadCString() to compile with Unicode.
* src/cppunit/cppunit.dsp:
* src/cppunit/cppunit_dll.dsp:
* src/DllPlugInTester/DllPlugInTester.dsp:
* src/msvc6/testrunner/TestRunner.dsp:
* src/msvc6/testpluginrunner/TestPlugInRunner.dsp: all lib, dll and exe are
now created in the intermediate directory. A post-build rule is used to
copy them to the lib/ directory.
Diffstat (limited to 'src/cppunit/DynamicLibraryManager.cpp')
| -rw-r--r-- | src/cppunit/DynamicLibraryManager.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/cppunit/DynamicLibraryManager.cpp b/src/cppunit/DynamicLibraryManager.cpp index 00e97f8..2f281ef 100644 --- a/src/cppunit/DynamicLibraryManager.cpp +++ b/src/cppunit/DynamicLibraryManager.cpp @@ -34,7 +34,9 @@ DynamicLibraryManager::findSymbol( const std::string &symbol ) { } - throw DynamicLibraryManagerException( m_libraryName, symbol ); + throw DynamicLibraryManagerException( m_libraryName, + symbol, + DynamicLibraryManagerException::symbolNotFound ); return NULL; // keep compiler happy } @@ -45,7 +47,7 @@ DynamicLibraryManager::loadLibrary( const std::string &libraryName ) try { releaseLibrary(); - m_libraryHandle = doLoadLibrary( libraryName ); + m_libraryHandle = doLoadLibrary( libraryName ); if ( m_libraryHandle != NULL ) return; } @@ -53,7 +55,9 @@ DynamicLibraryManager::loadLibrary( const std::string &libraryName ) { } - throw DynamicLibraryManagerException( m_libraryName ); + throw DynamicLibraryManagerException( m_libraryName, + getLastErrorDetail(), + DynamicLibraryManagerException::loadingFailed ); } |
