예제 #1
0
 @Before
 public void before() throws Exception {
   m_xContext = connection.getComponentContext();
   assertNotNull("could not get component context.", m_xContext);
   m_xMSF = UnoRuntime.queryInterface(XMultiServiceFactory.class, m_xContext.getServiceManager());
   m_xGEB = theGlobalEventBroadcaster.get(m_xContext);
   m_TmpDir = util.utils.getOfficeTemp /*Dir*/(m_xMSF);
   System.out.println("tempdir: " + m_TmpDir);
   System.out.println("sourcedir: " + m_SourceDir);
   System.out.println("targetdir: " + m_TargetDir);
 }
예제 #2
0
 @AfterClass
 public static void tearDownConnection() throws InterruptedException, com.sun.star.uno.Exception {
   connection.tearDown();
 }
예제 #3
0
 @BeforeClass
 public static void setUpConnection() throws Exception {
   connection.setUp();
 }