Class RootFactory
java.lang.Object
org.opentest4j.reporting.events.root.RootFactory
Factory for elements of the events namespace.
-
Method Details
-
started
Create a factory forStarted
elements.- Parameters:
id
- test id (unique within the test run)time
- time of the eventname
- test name- Returns:
- Started factory
-
reported
Create a factory forReported
elements.- Parameters:
id
- test id (must match id of previousStarted
element)time
- time of the event- Returns:
- Reported factory
-
finished
Create a factory forFinished
elements.- Parameters:
id
- test id (must match id of previousStarted
element)time
- time of the event- Returns:
- Finished factory
-