diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-01-04 15:31:31 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-01-04 15:31:31 +0000 |
commit | 03530f3e0e09f13bc05d764db300df3c6735b0d3 (patch) | |
tree | 1507f742ffb225babbaa458215a6d34a18804449 /sot/qa | |
parent | b5db9b865ad1ef45831233b33f670ace623209ce (diff) |
INTEGRATION: CWS fwk77 (1.1.2); FILE ADDED
2007/10/18 12:04:47 mav 1.1.2.1: #i75848# OLESimpleStorage service tests
Diffstat (limited to 'sot/qa')
-rw-r--r-- | sot/qa/complex/olesimplestorage/TestHelper.java | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sot/qa/complex/olesimplestorage/TestHelper.java b/sot/qa/complex/olesimplestorage/TestHelper.java new file mode 100644 index 000000000000..4b29ed15e393 --- /dev/null +++ b/sot/qa/complex/olesimplestorage/TestHelper.java @@ -0,0 +1,26 @@ +package complex.olesimplestorage; + +import share.LogWriter; + +public class TestHelper +{ + LogWriter m_aLogWriter; + String m_sTestPrefix; + + /** Creates a new instance of TestHelper */ + public TestHelper ( LogWriter aLogWriter, String sTestPrefix ) + { + m_aLogWriter = aLogWriter; + m_sTestPrefix = sTestPrefix; + } + + public void Error ( String sError ) + { + m_aLogWriter.println ( m_sTestPrefix + "Error: " + sError ); + } + + public void Message ( String sMessage ) + { + m_aLogWriter.println ( m_sTestPrefix + sMessage ); + } +} |