/** * Stop XWiki server if run alone. * * @throws Exception on errors */ @AfterClass public static void stopExecutor() throws Exception { SingleXWikiExecutor.getExecutor().stop(); }
/** * Start XWiki server if run alone. * * @throws Exception on errors */ @BeforeClass public static void startExecutor() throws Exception { SingleXWikiExecutor.getExecutor().start(); }