use of de.hu_berlin.german.korpling.annis.kickstarter.KickstartRunner in project ANNIS by korpling.
the class AcceptanceTest method runKickstarter.
@BeforeClass
public static void runKickstarter() {
try {
runner = new KickstartRunner(WEB_PORT, SERVICE_PORT);
runner.startService();
runner.startJetty();
// get all installed corpora
for (AnnisCorpus c : runner.getCorpora()) {
corpora.add(c.getName());
}
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability("takesScreenshot", true);
driver = new PhantomJSDriver(caps);
driver.manage().window().setSize(new Dimension(1024, 768));
} catch (Exception ex) {
log.error(null, ex);
runner = null;
}
}
Aggregations