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
;
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
);