public class XCodeBuildOutputParser extends Object
Modifier and Type | Class and Description |
---|---|
class |
XCodeBuildOutputParser.LineBasedFilterOutputStream |
Modifier and Type | Field and Description |
---|---|
protected OutputStream |
captureOutputStream |
protected boolean |
consoleLog |
protected TestCase |
currentTestCase |
protected TestSuite |
currentTestSuite |
protected int |
exitCode |
protected HashMap<String,TestSuite> |
testSuitesHash |
Modifier | Constructor and Description |
---|---|
protected |
XCodeBuildOutputParser() |
|
XCodeBuildOutputParser(File workspace,
OutputStream log)
Initalize the FilterOutputStream and prepare to generate the JUnit result files
|
Modifier and Type | Method and Description |
---|---|
int |
getExitCode() |
OutputStream |
getOutputStream() |
protected void |
handleLine(String line) |
protected OutputStream |
outputForSuite() |
protected OutputStream captureOutputStream
protected int exitCode
protected TestSuite currentTestSuite
protected TestCase currentTestCase
protected boolean consoleLog
protected XCodeBuildOutputParser()
public XCodeBuildOutputParser(File workspace, OutputStream log)
workspace
- directory that will receive the result fileslog
- the Xcode output stream that should be parsedprotected OutputStream outputForSuite() throws IOException, InterruptedException
IOException
InterruptedException
protected void handleLine(String line) throws ParseException, IOException, InterruptedException, JAXBException
public OutputStream getOutputStream()
public int getExitCode()
Copyright © 2016–2022. All rights reserved.