Package net.sourceforge.marathon.junit.textui

Examples of net.sourceforge.marathon.junit.textui.TestLinkXMLOutputter.output()


      Map<Test, MarathonTestResult> testOutputMap = new HashMap<Test, MarathonTestResult>();
      TestSuite suite = (TestSuite) new TestCreator(false, new StdOutConsole()).getTest("AllTests");
        createResult(suite, testOutputMap);
        StringWriter writer = new StringWriter();
        TestLinkXMLOutputter outputter = new TestLinkXMLOutputter();
        outputter.output(writer, suite, testOutputMap);
        String actual = writer.toString();
        /*
      String expected = "<?xml version=\"1.0\" ?>\n" + "<test projectname='' reportdir='testDir' >\n"
                + "<testsuite name=\"AllTests\" >\n" + "  <testsuite name=\"subdir.AllTests\" >\n"
                + "    <testcase name=\"subtest1\" status=\"0\" time=\"0\" >\n" + "    </testcase>\n"
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.