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
9fcd47b5
Kaydet (Commit)
9fcd47b5
authored
Eki 25, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix tests that aren't testing anything
Change-Id: I62c5f9206b6bc0321b7ee2b9c679ab7b5400a8ef
üst
0cf62745
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
46 deletions
+25
-46
rtl_OStringBuffer.cxx
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
+25
-46
No files found.
sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
Dosyayı görüntüle @
9fcd47b5
...
@@ -1943,25 +1943,6 @@ namespace rtl_OStringBuffer
...
@@ -1943,25 +1943,6 @@ namespace rtl_OStringBuffer
}
}
#ifdef WITH_CORE
void append_001_021()
{
OString expVal;
::rtl::OStringBuffer aStrBuf( kSInt32Max );
OString input2;
aStrBuf.append( input2 );
CPPUNIT_ASSERT_MESSAGE
(
"Appends the string(length equal to 0) to the string buffer arrOUS[4]",
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
);
}
#endif
CPPUNIT_TEST_SUITE( append_001 );
CPPUNIT_TEST_SUITE( append_001 );
CPPUNIT_TEST( append_001_001 );
CPPUNIT_TEST( append_001_001 );
CPPUNIT_TEST( append_001_002 );
CPPUNIT_TEST( append_001_002 );
...
@@ -1984,9 +1965,6 @@ namespace rtl_OStringBuffer
...
@@ -1984,9 +1965,6 @@ namespace rtl_OStringBuffer
CPPUNIT_TEST( append_001_019 );
CPPUNIT_TEST( append_001_019 );
CPPUNIT_TEST( append_001_020 );
CPPUNIT_TEST( append_001_020 );
CPPUNIT_TEST( append_null );
CPPUNIT_TEST( append_null );
#ifdef WITH_CORE
CPPUNIT_TEST( append_001_021 );
#endif
CPPUNIT_TEST_SUITE_END();
CPPUNIT_TEST_SUITE_END();
};
};
...
@@ -8183,7 +8161,6 @@ namespace rtl_OStringBuffer
...
@@ -8183,7 +8161,6 @@ namespace rtl_OStringBuffer
aStrBuf.getStr()== expVal &&
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
void append_099()
void append_099()
...
@@ -8203,7 +8180,6 @@ namespace rtl_OStringBuffer
...
@@ -8203,7 +8180,6 @@ namespace rtl_OStringBuffer
aStrBuf.getStr()== expVal &&
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
void append_100()
void append_100()
...
@@ -8223,7 +8199,6 @@ namespace rtl_OStringBuffer
...
@@ -8223,7 +8199,6 @@ namespace rtl_OStringBuffer
aStrBuf.getStr()== expVal &&
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
CPPUNIT_TEST_SUITE( append_006_Int32_Negative );
CPPUNIT_TEST_SUITE( append_006_Int32_Negative );
...
@@ -8315,9 +8290,9 @@ namespace rtl_OStringBuffer
...
@@ -8315,9 +8290,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[0]",
"Appends the WrongRadix to the string buffer arrOUS[0]",
sal_True
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
void append_002()
void append_002()
...
@@ -8330,9 +8305,9 @@ namespace rtl_OStringBuffer
...
@@ -8330,9 +8305,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[1]",
"Appends the WrongRadix to the string buffer arrOUS[1]",
sal_True
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
void append_003()
void append_003()
...
@@ -8345,7 +8320,8 @@ namespace rtl_OStringBuffer
...
@@ -8345,7 +8320,8 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[2]",
"Appends the WrongRadix to the string buffer arrOUS[2]",
sal_True
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
...
@@ -8360,7 +8336,8 @@ namespace rtl_OStringBuffer
...
@@ -8360,7 +8336,8 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[3]",
"Appends the WrongRadix to the string buffer arrOUS[3]",
sal_True
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
...
@@ -8375,9 +8352,9 @@ namespace rtl_OStringBuffer
...
@@ -8375,9 +8352,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[4]",
"Appends the WrongRadix to the string buffer arrOUS[4]",
sal_True
(aStrBuf.toString() == expVal &&
aStrBuf.getLength() == expVal.getLength())
);
);
}
}
#ifdef WITH_CORE
#ifdef WITH_CORE
void append_006()
void append_006()
...
@@ -8390,7 +8367,8 @@ namespace rtl_OStringBuffer
...
@@ -8390,7 +8367,8 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer(with INT_MAX)",
"Appends the WrongRadix to the string buffer(with INT_MAX)",
sal_True
aStrBuf.getStr()== expVal &&
aStrBuf.getLength() == expVal.getLength()
);
);
}
}
...
@@ -14061,12 +14039,13 @@ namespace rtl_OStringBuffer
...
@@ -14061,12 +14039,13 @@ namespace rtl_OStringBuffer
aStrBuf.append( intVal, -5 );
aStrBuf.append( intVal, -5 );
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[0]",
"Appends the WrongRadix to the string buffer arrOUS[0]",
sal_True
(aStrBuf.toString() == expVal &&
aStrBuf.getLength() == expVal.getLength())
);
);
}
}
void append_002()
void append_002()
...
@@ -14079,9 +14058,9 @@ namespace rtl_OStringBuffer
...
@@ -14079,9 +14058,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[1]",
"Appends the WrongRadix to the string buffer arrOUS[1]",
sal_True
(aStrBuf.toString() == expVal &&
aStrBuf.getLength() == expVal.getLength())
);
);
}
}
void append_003()
void append_003()
...
@@ -14094,9 +14073,9 @@ namespace rtl_OStringBuffer
...
@@ -14094,9 +14073,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[2]",
"Appends the WrongRadix to the string buffer arrOUS[2]",
sal_True
(aStrBuf.toString() == expVal &&
aStrBuf.getLength() == expVal.getLength())
);
);
}
}
void append_004()
void append_004()
...
@@ -14109,9 +14088,9 @@ namespace rtl_OStringBuffer
...
@@ -14109,9 +14088,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[3]",
"Appends the WrongRadix to the string buffer arrOUS[3]",
sal_True
(aStrBuf.toString() == expVal &&
aStrBuf.getLength() == expVal.getLength())
);
);
}
}
void append_005()
void append_005()
...
@@ -14124,9 +14103,9 @@ namespace rtl_OStringBuffer
...
@@ -14124,9 +14103,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer arrOUS[4]",
"Appends the WrongRadix to the string buffer arrOUS[4]",
sal_True
(aStrBuf.toString() == expVal &&
aStrBuf.getLength() == expVal.getLength())
);
);
}
}
#ifdef WITH_CORE
#ifdef WITH_CORE
void append_006()
void append_006()
...
@@ -14139,9 +14118,9 @@ namespace rtl_OStringBuffer
...
@@ -14139,9 +14118,9 @@ namespace rtl_OStringBuffer
CPPUNIT_ASSERT_MESSAGE
CPPUNIT_ASSERT_MESSAGE
(
(
"Appends the WrongRadix to the string buffer(with INT_MAX)",
"Appends the WrongRadix to the string buffer(with INT_MAX)",
sal_True
(aStrBuf.toString() == expVal &&
aStrBuf.getLength() == expVal.getLength())
);
);
}
}
#endif
#endif
...
...
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