Package org.infinispan.commons.test
Class PolarionJUnitXMLWriter
java.lang.Object
org.infinispan.commons.test.PolarionJUnitXMLWriter
- All Implemented Interfaces:
AutoCloseable
A JUnit XML report generator for Polarion based on the JUnitXMLReporter
Extracted from PolarionJUnitXMLReporter
- Since:
- 10.0
- Author:
- Alan Field, Dan Berindei
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()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 Details
-
PolarionJUnitXMLWriter
- Throws:
IOException
-
-
Method Details
-
start
public void start(String moduleName, long testCount, long skippedCount, long failedCount, long elapsedTime, boolean includeProperties) throws XMLStreamException - Throws:
XMLStreamException
-
close
- 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
-