Package fi.jumi.core.drivers

Examples of fi.jumi.core.drivers.DriverRunner.run()


        Executor executor = mock(Executor.class);
        Class<AnnotatedWithRunInDriverThreadTest> testClass = AnnotatedWithRunInDriverThreadTest.class;
        SuiteNotifier notifier = new ThreadBoundSuiteNotifier(ActorRef.wrap(runListener), new RunIdSequence(), new OutputCapturer());
        DriverRunner driverRunner = new DriverRunner(new SimpleUnit(), testClass, notifier, executor);

        driverRunner.run();

        verifyZeroInteractions(executor);
        // should anyways run the tests
        verify(runListener).onTestStarted(new RunId(1), TestId.ROOT);
        verify(runListener).onTestStarted(new RunId(1), TestId.of(0));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.