()
| 44 | private final DynJS dynjs; |
| 45 | |
| 46 | public TestRunner() { |
| 47 | Config config = new Config(TestRunner.class.getClassLoader()); |
| 48 | config.setCompileMode(Config.CompileMode.OFF); |
| 49 | this.executor = Executors.newSingleThreadScheduledExecutor( new ThreadFactory() { |
| 50 | @Override |
| 51 | public Thread newThread(Runnable r) { |
| 52 | Thread t = new Thread(r); |
| 53 | t.setDaemon(false); |
| 54 | return t; |
| 55 | } |
| 56 | }); |
| 57 | //config.setArgv(new String[]{ SCRIPT}); |
| 58 | this.dynjs = new DynJS(config); |
| 59 | setupTimers(); |
| 60 | setupConsole(); |
| 61 | } |
| 62 | |
| 63 | public void increment() { |
| 64 | counter.incrementAndGet(); |
nothing calls this directly
no test coverage detected