com.atlassian.bamboo.plugins.testresultparser.testng
Class TestNGResultsParser

java.lang.Object
  extended by com.atlassian.bamboo.plugins.testresultparser.testng.TestNGResultsParser

@NotThreadSafe
public class TestNGResultsParser
extends java.lang.Object

Currently the following XML paths are analyzed for data: /testng-results /testng-results/suite /testng-results/suite/test /testng-results/suite/test/class /testng-results/suite/test/class/test-method /testng-results/suite/test/class/test-method/params/param/value /testng-results/suite/test/class/test-method/exception /testng-results/suite/test/class/test-method/exception/full-stacktrace /testng-results/suite/test/class/test-method/exception/message /testng-results/suite/test/class/test-method/reporter-output/line


Constructor Summary
TestNGResultsParser()
           
 
Method Summary
 java.util.List<TestResults> getFailedTests()
           
 java.util.List<TestResults> getSkippedTests()
           
 java.util.List<TestResults> getSuccessfulTests()
           
 void parse(java.io.InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestNGResultsParser

public TestNGResultsParser()
Method Detail

parse

public void parse(@NotNull
                  java.io.InputStream inputStream)
           throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

getSuccessfulTests

@NotNull
public java.util.List<TestResults> getSuccessfulTests()

getFailedTests

@NotNull
public java.util.List<TestResults> getFailedTests()

getSkippedTests

@NotNull
public java.util.List<TestResults> getSkippedTests()


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.