Package net.sourceforge.marathon.junit

Examples of net.sourceforge.marathon.junit.MarathonResultReporter


    private void doRunTest(final Test testSuite) {
        setButtonState(runAction, false);
        setButtonState(stopAction, true);
        setButtonState(testViewAction, false);
        setButtonState(testReportViewAction, false);
        reporter = new MarathonResultReporter(testSuite);
        runnerThread = new Thread("TestRunner-Thread") {
            public void run() {
                try {
                    TestRunner.this.start(testSuite);
                    testSuite.run(testResult);
View Full Code Here


    }

    public TestResult doRun(Test suite, boolean wait) {
        TestResult result = new TestResult();
        TestResultPrinter printer = new TestResultPrinter(System.out);
        resultReporter = new MarathonResultReporter(currentTest);
        result.addListener(resultReporter);
        result.addListener(printer);
        result.addListener(TestRunner.this);
        long startTime = System.currentTimeMillis();
        suite.run(result);
View Full Code Here

                }
            } else {
                logger.warning("Unable to create report directory: " + runReportDir + " - Ignoring report option");
            }
            testSuite = new TestSuite("Marathon Test");
            resultReporter = new MarathonResultReporter(testSuite);
        }
View Full Code Here

TOP

Related Classes of net.sourceforge.marathon.junit.MarathonResultReporter

Copyright © 2018 www.massapicom. 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.