1 package complex.embedding;
2 
3 import com.sun.star.uno.UnoRuntime;
4 import com.sun.star.uno.XInterface;
5 import com.sun.star.uno.AnyConverter;
6 
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.*;
12 
13 import share.LogWriter;
14 
15 public class TestHelper  {
16 
17 	LogWriter m_aLogWriter;
18 	String m_sTestPrefix;
19 
20 	public TestHelper( LogWriter aLogWriter, String sTestPrefix )
21 	{
22 		m_aLogWriter = aLogWriter;
23 		m_sTestPrefix = sTestPrefix;
24 	}
25 
26 	public void Error( String sError )
27 	{
28 		m_aLogWriter.println( m_sTestPrefix + "Error: " + sError );
29 	}
30 
31 	public void Message( String sMessage )
32 	{
33 		m_aLogWriter.println( m_sTestPrefix + sMessage );
34 	}
35 }
36 
37