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
1b3e9bcd
Kaydet (Commit)
1b3e9bcd
authored
Kas 13, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wunused-member-function
Change-Id: I4e47b5194992d3847a689284d7600be92a4ead26
üst
f71f94ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
10 deletions
+1
-10
basic_coverage.cxx
basic/qa/cppunit/basic_coverage.cxx
+1
-10
No files found.
basic/qa/cppunit/basic_coverage.cxx
Dosyayı görüntüle @
1b3e9bcd
...
...
@@ -21,16 +21,13 @@ class Coverage : public test::BootstrapFixture
{
private
:
typedef
std
::
vector
<
OUString
>
StringVec
;
int
m_nb_tests
;
int
m_nb_tests_ok
;
int
m_nb_tests_skipped
;
OUString
m_sCurrentTest
;
void
process_directory
(
OUString
sDirName
);
void
run_test
(
OUString
sFileName
);
void
test_start
(
OUString
/* sFileName */
);
void
test_failed
(
void
);
void
test_success
(
void
);
void
print_summary
()
{};
StringVec
get_subdirnames
(
const
OUString
&
sDirName
);
public
:
...
...
@@ -51,7 +48,6 @@ public:
Coverage
::
Coverage
()
:
BootstrapFixture
(
true
,
false
)
,
m_nb_tests
(
0
)
,
m_nb_tests_ok
(
0
)
,
m_nb_tests_skipped
(
0
)
{
...
...
@@ -62,12 +58,6 @@ Coverage::~Coverage()
fprintf
(
stderr
,
"basic coverage Summary : skipped:%d pass:%d
\n
"
,
m_nb_tests_skipped
,
m_nb_tests_ok
);
}
void
Coverage
::
test_start
(
OUString
sFileName
)
{
m_nb_tests
+=
1
;
m_sCurrentTest
=
sFileName
;
}
void
Coverage
::
test_failed
()
{
CPPUNIT_FAIL
(
...
...
@@ -82,6 +72,7 @@ void Coverage::test_success()
void
Coverage
::
run_test
(
OUString
sFileURL
)
{
m_sCurrentTest
=
sFileURL
;
bool
result
=
false
;
MacroSnippet
testMacro
;
testMacro
.
LoadSourceFromFile
(
sFileURL
);
...
...
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