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
a43d163d
Kaydet (Commit)
a43d163d
authored
Ock 28, 2003
tarafından
Lars Langhans
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
changes to not longer use iostream in the most files.
üst
ded59609
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
18 deletions
+19
-18
d.lst
testshl2/prj/d.lst
+1
-0
testshl.cxx
testshl2/source/testshl.cxx
+14
-14
versioner.cxx
testshl2/source/versioner.cxx
+4
-4
No files found.
testshl2/prj/d.lst
Dosyayı görüntüle @
a43d163d
...
@@ -21,6 +21,7 @@ mkdir: %_DEST%\inc%_EXT%\cppunit\extensions
...
@@ -21,6 +21,7 @@ mkdir: %_DEST%\inc%_EXT%\cppunit\extensions
# ..\%__SRC%\bin\testshl.exe %_DEST%\bin%_EXT%\testshl.exe
# ..\%__SRC%\bin\testshl.exe %_DEST%\bin%_EXT%\testshl.exe
..\%__SRC%\bin\testshl2.exe %_DEST%\bin%_EXT%\testshl2.exe
..\%__SRC%\bin\testshl2.exe %_DEST%\bin%_EXT%\testshl2.exe
..\%__SRC%\bin\testshl2 %_DEST%\bin%_EXT%\testshl2
..\%__SRC%\bin\testshl2 %_DEST%\bin%_EXT%\testshl2
..\source\codegen\codegen.pl %_DEST%\bin%_EXT%\codegen_testshl2.pl
mkdir: %_DEST%\inc%_EXT%\testshl
mkdir: %_DEST%\inc%_EXT%\testshl
..\inc\*.hxx %_DEST%\inc%_EXT%\testshl\*.hxx
..\inc\*.hxx %_DEST%\inc%_EXT%\testshl\*.hxx
...
...
testshl2/source/testshl.cxx
Dosyayı görüntüle @
a43d163d
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: testshl.cxx,v $
* $RCSfile: testshl.cxx,v $
*
*
* $Revision: 1.
4
$
* $Revision: 1.
5
$
*
*
* last change: $Author: lla $ $Date: 2003-01-2
0 11:09:46
$
* last change: $Author: lla $ $Date: 2003-01-2
8 10:13:33
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -136,14 +136,15 @@ std::auto_ptr<Outputter> initOutputter(GetOpt & _aOptions)
...
@@ -136,14 +136,15 @@ std::auto_ptr<Outputter> initOutputter(GetOpt & _aOptions)
Log
*
pLog
=
new
Log
(
FileHelper
::
convertPath
(
sLogFile
)
);
Log
*
pLog
=
new
Log
(
FileHelper
::
convertPath
(
sLogFile
)
);
if
(
pLog
->
open
()
!=
osl
::
FileBase
::
E_None
)
if
(
pLog
->
open
()
!=
osl
::
FileBase
::
E_None
)
{
{
cerr
<<
"could not open LogFile: "
<<
pLog
->
getName
().
getStr
()
<<
endl
;
// cerr << "could not open LogFile: " << pLog->getName().getStr() << endl;
fprintf
(
stderr
,
"could not open LogFile: %s
\n
"
,
pLog
->
getName
().
getStr
());
exit
(
1
);
exit
(
1
);
}
}
pOutputter
=
std
::
auto_ptr
<
Outputter
>
(
new
Outputter
(
pLog
));
pOutputter
=
std
::
auto_ptr
<
Outputter
>
(
new
Outputter
(
pLog
));
}
}
else
else
{
{
pOutputter
=
std
::
auto_ptr
<
Outputter
>
(
new
Outputter
(
cout
));
pOutputter
=
std
::
auto_ptr
<
Outputter
>
(
new
Outputter
(
std
::
cout
));
}
}
return
pOutputter
;
return
pOutputter
;
...
@@ -188,7 +189,8 @@ int _cdecl main( int argc, char* argv[] )
...
@@ -188,7 +189,8 @@ int _cdecl main( int argc, char* argv[] )
// no library is given, but if a jobonly list is given, we should generate UNKNOWN errors.
// no library is given, but if a jobonly list is given, we should generate UNKNOWN errors.
if
(
!
opt
.
hasOpt
(
"-jobonly"
))
if
(
!
opt
.
hasOpt
(
"-jobonly"
))
{
{
std
::
cerr
<<
"error: At least a library or a job file should given."
<<
std
::
endl
;
// std::cerr << "error: At least a library or a job file should given." << std::endl;
fprintf
(
stderr
,
"error: At least a library or a job file should given.
\n
"
);
opt
.
showUsage
();
opt
.
showUsage
();
exit
(
0
);
exit
(
0
);
}
}
...
@@ -236,21 +238,14 @@ int _cdecl main( int argc, char* argv[] )
...
@@ -236,21 +238,14 @@ int _cdecl main( int argc, char* argv[] )
// all functions + the given, no one twice
// all functions + the given, no one twice
// only the given functions
// only the given functions
// Signals info
// We can only say which function has thrown a signal, and what signal was thrown,
// but not really where the signal was thrown. You have to debug this function by hand.
// Exception info
// Exception info
// Due to the fact that exceptions will caught, on exceptions the ASSERTION text is given.
// Due to the fact that exceptions will caught, on exceptions the ASSERTION text is given.
// but we know also the real thrown exception
// but we know also the real thrown exception
// PARAMETER:
// PARAMETER:
// - BaselibTest.txt anders benennen.
// - in eigenes Verzeichnis setzen.
// - log file, nicht nur cout.
// - emacs mode
// - emacs mode
// - test runner in perl.
// - test runner in perl.
// - Version/Buildno. i
m Datum
// - Version/Buildno. i
n Date
// - xml
// - xml
// Remove rtl_tres_state from SAL!
// Remove rtl_tres_state from SAL!
...
@@ -260,7 +255,7 @@ int _cdecl main( int argc, char* argv[] )
...
@@ -260,7 +255,7 @@ int _cdecl main( int argc, char* argv[] )
// What is a good test?
// What is a good test?
// init your data
// init your data
// ASSERT( check if a generated result is what you expect )
// ASSERT( check if a generated result is
,
what you expect )
//
//
// that's all
// that's all
// really all, no
// really all, no
...
@@ -304,3 +299,8 @@ int _cdecl main( int argc, char* argv[] )
...
@@ -304,3 +299,8 @@ int _cdecl main( int argc, char* argv[] )
// get info what works, what not.
// get info what works, what not.
// By a human readable line by line info.
// By a human readable line by line info.
// http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?automated+testing
// http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?fault-based+testing
// http://foldoc.doc.ic.ac.uk/foldoc/foldoc.cgi?confidence+test
testshl2/source/versioner.cxx
Dosyayı görüntüle @
a43d163d
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
*
*
* $RCSfile: versioner.cxx,v $
* $RCSfile: versioner.cxx,v $
*
*
* $Revision: 1.
3
$
* $Revision: 1.
4
$
*
*
* last change: $Author: lla $ $Date: 2003-01-2
0 11:10:27
$
* last change: $Author: lla $ $Date: 2003-01-2
8 10:13:33
$
*
*
* The Contents of this file are made available subject to the terms of
* The Contents of this file are made available subject to the terms of
* either of the following licenses
* either of the following licenses
...
@@ -65,7 +65,6 @@
...
@@ -65,7 +65,6 @@
#include "versionhelper.hxx"
#include "versionhelper.hxx"
#include <rtl/ustring.hxx>
#include <rtl/ustring.hxx>
#include <iostream>
#include <iostream>
// ----------------------------------- Main -----------------------------------
// ----------------------------------- Main -----------------------------------
...
@@ -92,7 +91,8 @@ int _cdecl main( int argc, char* argv[] )
...
@@ -92,7 +91,8 @@ int _cdecl main( int argc, char* argv[] )
if
(
opt
.
getParams
().
empty
())
if
(
opt
.
getParams
().
empty
())
{
{
std
::
cerr
<<
"error: At least a library should given."
<<
std
::
endl
;
// std::cerr << "error: At least a library should given." << std::endl;
fprintf
(
stderr
,
"error: At least a library should given.
\n
"
);
opt
.
showUsage
();
opt
.
showUsage
();
exit
(
0
);
exit
(
0
);
}
}
...
...
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