summaryrefslogtreecommitdiff
path: root/sot/qa
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2008-01-04 15:31:31 +0000
committerOliver Bolte <obo@openoffice.org>2008-01-04 15:31:31 +0000
commit03530f3e0e09f13bc05d764db300df3c6735b0d3 (patch)
tree1507f742ffb225babbaa458215a6d34a18804449 /sot/qa
parentb5db9b865ad1ef45831233b33f670ace623209ce (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.java26
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 );
+ }
+}