summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGene Anaya <ganaya@openoffice.org>2001-05-04 03:30:22 +0000
committerGene Anaya <ganaya@openoffice.org>2001-05-04 03:30:22 +0000
commit93cb28d75f3e86876725635a3d30a7ef5f8ffd53 (patch)
tree7822d148bd0515503d3b4610d5b376f66eecf333
parent2ecebd4efc1beee86abf08398c1f0c046e545f7b (diff)
Update files to use new 1.2 version of tres.h (TestResult class name instead of tRes)
-rw-r--r--soltools/testSHL/util/tlog.cxx6
-rw-r--r--soltools/testSHL/util/tstMgr.cxx14
2 files changed, 10 insertions, 10 deletions
diff --git a/soltools/testSHL/util/tlog.cxx b/soltools/testSHL/util/tlog.cxx
index 7e21323a3fa6..c5b447e2cf98 100644
--- a/soltools/testSHL/util/tlog.cxx
+++ b/soltools/testSHL/util/tlog.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tlog.cxx,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: sz $ $Date: 2001-04-12 10:54:54 $
+ * last change: $Author: ganaya $ $Date: 2001-05-04 04:30:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -102,7 +102,7 @@ void tLog::initialize( const ::rtl::OString& name ) {
} // </method_close>
// <method_writeRes>
-::osl::FileBase::RC tLog::writeRes( ::rtl::tRes& oRes, sal_Bool v, sal_Bool xml ) {
+::osl::FileBase::RC tLog::writeRes( ::rtl::TestResult& oRes, sal_Bool v, sal_Bool xml ) {
::osl::FileBase::RC ret;
sal_Char* ptr = oRes.getName();
diff --git a/soltools/testSHL/util/tstMgr.cxx b/soltools/testSHL/util/tstMgr.cxx
index 7ec7d2751994..82f415965ba7 100644
--- a/soltools/testSHL/util/tstMgr.cxx
+++ b/soltools/testSHL/util/tstMgr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: tstMgr.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: pluby $ $Date: 2001-04-18 14:48:35 $
+ * last change: $Author: ganaya $ $Date: 2001-05-04 04:30:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -81,8 +81,8 @@ using namespace rtl;
// <namespace_tstutl>
namespace tstutl {
-typedef void* ( tstFunc )( tRes* );
-void test_Entry_Impl( ::osl::Module& oMod, tRes* oRes );
+typedef void* ( tstFunc )( TestResult* );
+void test_Entry_Impl( ::osl::Module& oMod, TestResult* oRes );
// <private_members>
struct tstMgr::tstMgr_Impl {
@@ -115,7 +115,7 @@ sal_Bool tstMgr::test_Entries( vector< sal_Char* > entries,
log.open();
while ( iter != entries.end() ) {
if ( *iter[0] != '#' ) {
- ::rtl::tRes oRes( *iter, pImpl->m_boom );
+ ::rtl::TestResult oRes( *iter, pImpl->m_boom );
test_Entry_Impl( pImpl->m_tstmodule, &oRes );
bOK &= oRes.getState();
log.writeRes( oRes );
@@ -133,7 +133,7 @@ sal_Bool tstMgr::test_Entry( sal_Char* entry, sal_Char* logName ) {
tLog log( logName );
// open testLog
log.open();
- ::rtl::tRes oRes( entry, pImpl->m_boom );
+ ::rtl::TestResult oRes( entry, pImpl->m_boom );
test_Entry_Impl( pImpl->m_tstmodule, &oRes );
log.writeRes( oRes, sal_True );
log.close();
@@ -173,7 +173,7 @@ void tstMgr::cleanup() {
// <function_test_Entry_Impl>
-void test_Entry_Impl( ::osl::Module& oMod, ::rtl::tRes* oRes ) {
+void test_Entry_Impl( ::osl::Module& oMod, ::rtl::TestResult* oRes ) {
tstFunc* pFunc; // entry pointer
::rtl::OString entryName( "test_" ); // entryname prefix