use of com.github.anba.es6draft.util.SystemConsole in project es6draft by anba.
the class PromiseUnwrappingTest method setUp.
@Before
public void setUp() throws Throwable {
assumeTrue("Test disabled", test.isEnabled());
realm.initialize(new SystemConsole(), test);
exceptionHandler.setExecutionContext(realm.get().defaultContext());
async = realm.get().createGlobalProperties(new PromiseAsync(), PromiseAsync.class);
timers = realm.get().createGlobalProperties(new Timers(), Timers.class);
}
use of com.github.anba.es6draft.util.SystemConsole in project es6draft by anba.
the class NativesDefaultTest method setUp.
@Before
public void setUp() throws Throwable {
assumeTrue("Test disabled", test.isEnabled());
realm.initialize(new SystemConsole(), test);
exceptionHandler.setExecutionContext(realm.get().defaultContext());
}
use of com.github.anba.es6draft.util.SystemConsole in project es6draft by anba.
the class CompilerTest method setUp.
@Before
public void setUp() throws Throwable {
assumeTrue("Test disabled", test.isEnabled());
realm.initialize(new SystemConsole(), test);
exceptionHandler.setExecutionContext(realm.get().defaultContext());
}
use of com.github.anba.es6draft.util.SystemConsole in project es6draft by anba.
the class PromiseAPlusTest method setUp.
@Before
public void setUp() throws Throwable {
assumeTrue("Test disabled", test.isEnabled());
realm.initialize(new SystemConsole(), test);
exceptionHandler.setExecutionContext(realm.get().defaultContext());
async = realm.get().createGlobalProperties(new PromiseAsync(), PromiseAsync.class);
timers = realm.get().createGlobalProperties(new Timers(), Timers.class);
}
use of com.github.anba.es6draft.util.SystemConsole in project es6draft by anba.
the class StrictTest method setUp.
@Before
public void setUp() throws Throwable {
assumeTrue("Test disabled", test.isEnabled());
realm.initialize(new SystemConsole(), test);
exceptionHandler.setExecutionContext(realm.get().defaultContext());
}
Aggregations