Package org.infinispan.commons.test
Class PolarionJUnitXMLWriter
- java.lang.Object
-
- org.infinispan.commons.test.PolarionJUnitXMLWriter
-
- All Implemented Interfaces:
AutoCloseable
public class PolarionJUnitXMLWriter extends Object implements AutoCloseable
A JUnit XML report generator for Polarion based on the JUnitXMLReporterExtracted from
PolarionJUnitXMLReporter- Since:
- 10.0
- Author:
- Alan Field, Dan Berindei
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPolarionJUnitXMLWriter.Status
-
Constructor Summary
Constructors Constructor Description PolarionJUnitXMLWriter(File outputFile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()voidstart(String moduleName, long testCount, long skippedCount, long failedCount, long elapsedTime, boolean includeProperties)voidwriteTestCase(String testName, String className, long elapsedTimeMillis, PolarionJUnitXMLWriter.Status status, String stackTrace, String throwableClass, String throwableMessage)
-
-
-
Constructor Detail
-
PolarionJUnitXMLWriter
public PolarionJUnitXMLWriter(File outputFile) throws IOException
- Throws:
IOException
-
-
Method Detail
-
start
public void start(String moduleName, long testCount, long skippedCount, long failedCount, long elapsedTime, boolean includeProperties) throws XMLStreamException
- Throws:
XMLStreamException
-
close
public void close() throws Exception- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
writeTestCase
public void writeTestCase(String testName, String className, long elapsedTimeMillis, PolarionJUnitXMLWriter.Status status, String stackTrace, String throwableClass, String throwableMessage) throws XMLStreamException
- Throws:
XMLStreamException
-
-