update dev300-m58
[ooovba.git] / embeddedobj / qa / embedding / TestHelper.java
blobfd0c26ebbc78474c31f7a82318a7388b76b02817
1 package complex.embedding;
3 import com.sun.star.uno.UnoRuntime;
4 import com.sun.star.uno.XInterface;
5 import com.sun.star.uno.AnyConverter;
7 import com.sun.star.lang.*;
8 import com.sun.star.embed.*;
9 import com.sun.star.packages.*;
10 import com.sun.star.io.*;
11 import com.sun.star.beans.*;
13 import share.LogWriter;
15 public class TestHelper {
17 LogWriter m_aLogWriter;
18 String m_sTestPrefix;
20 public TestHelper( LogWriter aLogWriter, String sTestPrefix )
22 m_aLogWriter = aLogWriter;
23 m_sTestPrefix = sTestPrefix;
26 public void Error( String sError )
28 m_aLogWriter.println( m_sTestPrefix + "Error: " + sError );
31 public void Message( String sMessage )
33 m_aLogWriter.println( m_sTestPrefix + sMessage );