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
1fa55878
Kaydet (Commit)
1fa55878
authored
Mar 18, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
restore cppunit test, Sequence ctor from sal_Int32 is now explicit
üst
f86c6a06
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
5 deletions
+12
-5
build.lst
cppu/prj/build.lst
+1
-1
test_cppumaker.cxx
cppu/qa/cppumaker/test_cppumaker.cxx
+11
-4
No files found.
cppu/prj/build.lst
Dosyayı görüntüle @
1fa55878
...
...
@@ -11,4 +11,4 @@ cu cppu\source\AffineBridge nmake - all cu_AffineBridge cu_inc NULL
cu cppu\source\LogBridge nmake - all cu_LogBridge cu_inc NULL
cu cppu\util nmake - all cu_util cu_thpool cu_typelib cu_cppu cu_uno cu_helper_purpenv cu_UnsafeBridge cu_AffineBridge cu_LogBridge NULL
cu cppu\qa nmake - all cu_qa_cppunit cu_util NULL
#
cu cppu\qa\cppumaker nmake - all cu_qa_cppumaker cu_util NULL
cu cppu\qa\cppumaker nmake - all cu_qa_cppumaker cu_util NULL
cppu/qa/cppumaker/test_cppumaker.cxx
Dosyayı görüntüle @
1fa55878
...
...
@@ -479,9 +479,13 @@ void Test::testPolyStruct() {
(
com
::
sun
::
star
::
uno
::
makeAny
(
test
::
codemaker
::
cppumaker
::
Struct
<
sal_Unicode
,
sal_Int16
>
()).
getValueType
().
getTypeName
()));
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>
>
aEmptySequence
;
CPPUNIT_ASSERT_EQUAL
(
(
test
::
codemaker
::
cppumaker
::
make_Struct
<
sal_uInt32
,
sal_Bool
>
(
5
,
0
).
member1
),
(
test
::
codemaker
::
cppumaker
::
make_Struct
<
sal_uInt32
,
sal_Bool
>
(
5
,
aEmptySequence
).
member1
),
static_cast
<
sal_uInt32
>
(
5
));
}
...
...
@@ -505,11 +509,14 @@ std::ostream & operator <<(
}
void
Test
::
testExceptions
()
{
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Any
>
>
aEmptySequence
;
test
::
codemaker
::
cppumaker
::
TestException1
e11
(
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"abc"
)),
0
,
1
,
com
::
sun
::
star
::
uno
::
makeAny
(
123.0
),
test
::
codemaker
::
cppumaker
::
HelperEnum_ONE
,
test
::
codemaker
::
cppumaker
::
Struct
<
sal_Int32
,
sal_Int32
>
(
5
,
0
),
2
);
test
::
codemaker
::
cppumaker
::
Struct
<
sal_Int32
,
sal_Int32
>
(
5
,
aEmptySequence
),
2
);
test
::
codemaker
::
cppumaker
::
TestException1
e12
(
e11
);
CPPUNIT_ASSERT_EQUAL
(
e11
,
e12
);
test
::
codemaker
::
cppumaker
::
TestException1
e13
;
...
...
@@ -519,7 +526,7 @@ void Test::testExceptions() {
rtl
::
OUString
(
RTL_CONSTASCII_USTRINGPARAM
(
"abc"
)),
0
,
1
,
com
::
sun
::
star
::
uno
::
makeAny
(
123.0
),
test
::
codemaker
::
cppumaker
::
HelperEnum_ONE
,
test
::
codemaker
::
cppumaker
::
Struct
<
sal_Int32
,
sal_Int32
>
(
5
,
0
),
2
);
test
::
codemaker
::
cppumaker
::
Struct
<
sal_Int32
,
sal_Int32
>
(
5
,
aEmptySequence
),
2
);
test
::
codemaker
::
cppumaker
::
TestException2
e22
(
e21
);
CPPUNIT_ASSERT_EQUAL
(
e21
,
e22
);
test
::
codemaker
::
cppumaker
::
TestException2
e23
;
...
...
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