Class Test
- java.lang.Object
-
- com.aventstack.extentreports.model.Test
-
- All Implemented Interfaces:
BaseEntity,MetaDataStorable,RunResult,Serializable
public final class Test extends Object implements RunResult, Serializable, BaseEntity, MetaDataStorable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Test()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChild(Test child)voidaddGeneratedLog(Log log)voidaddLog(Log log)voidaddMedia(Media m)List<ExceptionInfo>aggregateExceptions()TestgetAncestor()StringgetFullName()booleanhasAnyLog()booleanhasAttributes()booleanhasAuthor()booleanhasCategory()booleanhasChildren()booleanhasDevice()booleanhasException()booleanhasLog()booleanhasMedia()booleanhasScreenCapture()booleanhasVideo()booleanisBDD()longtimeTaken()StringtimeTakenPretty()Time taken formatted as HH:mm:ss:SSS Solution provided by @grasshopper7 https://github.com/extent-framework/extentreports-java/issues/247#issuecomment-679918613voidupdateResult()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.aventstack.extentreports.model.MetaDataStorable
getInfoMap
-
-
-
-
Method Detail
-
addChild
public void addChild(Test child)
-
addLog
public void addLog(Log log)
-
addGeneratedLog
public void addGeneratedLog(Log log)
-
isBDD
public boolean isBDD()
-
hasLog
public boolean hasLog()
-
hasAnyLog
public boolean hasAnyLog()
-
hasChildren
public boolean hasChildren()
-
hasAttributes
public boolean hasAttributes()
-
hasAuthor
public boolean hasAuthor()
-
hasCategory
public boolean hasCategory()
-
hasDevice
public boolean hasDevice()
-
hasException
public boolean hasException()
-
getFullName
public String getFullName()
-
addMedia
public void addMedia(Media m)
-
hasScreenCapture
public boolean hasScreenCapture()
-
hasVideo
public boolean hasVideo()
-
hasMedia
public boolean hasMedia()
-
timeTaken
public long timeTaken()
-
timeTakenPretty
public String timeTakenPretty()
Time taken formatted as HH:mm:ss:SSS Solution provided by @grasshopper7 https://github.com/extent-framework/extentreports-java/issues/247#issuecomment-679918613- Returns:
- A formatted time taken string as HH:mm:ss:SSS
-
aggregateExceptions
public List<ExceptionInfo> aggregateExceptions()
-
getAncestor
public Test getAncestor()
-
updateResult
public void updateResult()
-
-