@Override public void runBare() throws Exception { final ShellContextFactory shellContextFactory = new ShellContextFactory(); shellContextFactory.setOptimizationLevel(optimizationLevel); ShellTestParameters params = new ShellTestParameters(); ShellTest.run(shellContextFactory, jsFile, params, new JunitStatus()); }
@Test public void runMozillaTest() throws Exception { //System.out.println("Test \"" + jsFile + "\" running under optimization level " + optimizationLevel); final ShellContextFactory shellContextFactory = new ShellContextFactory(); shellContextFactory.setOptimizationLevel(optimizationLevel); ShellTestParameters params = new ShellTestParameters(); JunitStatus status = new JunitStatus(); ShellTest.run(shellContextFactory, jsFile, params, status); }