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
0201156f
Kaydet (Commit)
0201156f
authored
Agu 13, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
salhelper: work around spurious warning C4189
Change-Id: If919ca6da332bb94419a25253a5d6dec7243def9
üst
a247b825
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
test_api.cxx
salhelper/qa/test_api.cxx
+11
-0
No files found.
salhelper/qa/test_api.cxx
Dosyayı görüntüle @
0201156f
...
...
@@ -120,6 +120,13 @@ void Test::testCondition() {
CPPUNIT_ASSERT
(
typeid
(
salhelper
::
Condition
*
)
==
getConditionTypeInfo
());
}
#ifdef _MSC_VER
// MSVC 2012 warns about the "p" being unused
#pragma warning (push, 1)
#pragma warning (disable: 4189)
#endif
void
Test
::
testConditionModifier
()
{
salhelper
::
ConditionModifier
*
p
=
0
;
CPPUNIT_ASSERT
(
typeid
(
*
p
)
==
typeid
(
salhelper
::
ConditionModifier
));
...
...
@@ -184,6 +191,10 @@ void Test::testORealDynamicLoader() {
==
getORealDynamicLoaderTypeInfo
());
}
#ifdef _MSC_VER
#pragma warning (pop)
#endif
void
Test
::
testSimpleReferenceObject
()
{
salhelper
::
SimpleReferenceObject
*
p
=
new
DerivedSimpleReferenceObject
;
try
{
...
...
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