Package au.com.rayh
Class XcodeTestSummariesParser
java.lang.Object
au.com.rayh.XcodeTestSummariesParser
Summary of test results output by xcodebuild Analyze "TestSummaries.plist" to generate a JUnit compatible XML file.
- Author:
- Kazuhide Takahashi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OutputStreamoutputForSuite(TestSuite currentTestSuite) voidparseSubTests(com.dd.plist.NSObject[] tests, TestSuite parentTestSuite) voidparseTestSummariesPlist(FilePath testSummariesPlistFile)
-
Constructor Details
-
XcodeTestSummariesParser
- Throws:
IOExceptionInterruptedException
-
-
Method Details
-
outputForSuite
protected OutputStream outputForSuite(TestSuite currentTestSuite) throws IOException, InterruptedException - Throws:
IOExceptionInterruptedException
-
parseSubTests
public void parseSubTests(com.dd.plist.NSObject[] tests, TestSuite parentTestSuite) throws ParseException, IOException, InterruptedException, javax.xml.bind.JAXBException - Parameters:
tests- An array of NSDictionaries containing the results of subtests.parentTestSuite- An instance of the parent test result including this subtests.- Throws:
ParseExceptionIOExceptionInterruptedExceptionjavax.xml.bind.JAXBException
-
parseTestSummariesPlist
- Parameters:
testSummariesPlistFile- The location of the TestSummaries.plist file output from Xcode.
-