@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); }
@AfterClass public static void tearDownConnection() throws InterruptedException, com.sun.star.uno.Exception { connection.tearDown(); }
@BeforeClass public static void setUpConnection() throws Exception { connection.setUp(); }