Class FileSource
java.lang.Object
org.opentest4j.reporting.events.api.Element<FileSource>
org.opentest4j.reporting.events.api.ChildElement<Sources, FileSource>
org.opentest4j.reporting.events.core.FileSource
- All Implemented Interfaces:
Appendable<FileSource>
The
fileSource element of the core namespace.-
Method Summary
Modifier and TypeMethodDescriptionaddFilePosition(int line, Optional<Integer> column) Add afilePositionchild element to this element.Methods inherited from class Element
append, toString, withAttribute, withCDataSection, withContentMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Appendable
append
-
Method Details
-
addFilePosition
Add afilePositionchild element to this element.- Parameters:
line- the line numbercolumn- the column number- Returns:
- this element
-