Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
d3721e50
Kaydet (Commit)
d3721e50
authored
Agu 17, 2012
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Handle CppUnit::DynamicLibraryManagerException
Change-Id: I81f9b133ffb03c225b276639f60ad5e7f38ec1ef
üst
b2315f6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
cppunittester.cxx
sal/cppunittester/cppunittester.cxx
+7
-1
No files found.
sal/cppunittester/cppunittester.cxx
Dosyayı görüntüle @
d3721e50
...
...
@@ -53,6 +53,7 @@
#include "cppunit/TestRunner.h"
#include "cppunit/extensions/TestFactoryRegistry.h"
#include "cppunit/plugin/PlugInManager.h"
#include "cppunit/plugin/DynamicLibraryManagerException.h"
#include "cppunit/portability/Stream.h"
#include "boost/noncopyable.hpp"
...
...
@@ -137,7 +138,12 @@ public:
// we statically link to the app executable.
#else
CppUnit
::
PlugInManager
manager
;
manager
.
load
(
testlib
,
args
);
try
{
manager
.
load
(
testlib
,
args
);
}
catch
(
const
CppUnit
::
DynamicLibraryManagerException
&
e
)
{
fprintf
(
stderr
,
"%s
\n
"
,
e
.
what
());
return
false
;
}
#endif
CppUnit
::
TestRunner
runner
;
runner
.
addTest
(
CppUnit
::
TestFactoryRegistry
::
getRegistry
().
makeTest
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment