Modifier and Type | Field and Description |
---|---|
boolean |
hasChildNodes
Attribute to denote if the current test has child tests
Default = false When test.appendChild(child) is called, the flag becomes true |
boolean |
hasEnded
Attribute to mark if the test ended safely
It is marked TRUE when extent.endTest(test) is called |
boolean |
isChildNode
Attribute to mark the test as a child node
Top-most test will always have this attribute as false eg: Parent - false Child - true GrandChild - true |
Constructor and Description |
---|
Test() |
public boolean isChildNode
public boolean hasEnded
public boolean hasChildNodes
public com.relevantcodes.extentreports.model.Test.LogIterator logIterator()
LogIterator
public com.relevantcodes.extentreports.model.Test.TestAttributeIterator<Author> authorIterator()
TestAttributeIterator
public com.relevantcodes.extentreports.model.Test.TestAttributeIterator<Category> categoryIterator()
TestAttributeIterator
public void setStartedTime(Date startedTime)
setStartedTime
in interface ITest
public Date getStartedTime()
getStartedTime
in interface ITest
public String getRunDuration()
getRunDuration
in interface ITest
public void setEndedTime(Date endedTime)
setEndedTime
in interface ITest
public Date getEndedTime()
getEndedTime
in interface ITest
public void setStatus(LogStatus status)
public void setDescription(String description)
setDescription
in interface ITest
public String getDescription()
getDescription
in interface ITest
public void setInternalWarning(String warning)
public String getInternalWarning()
public void setCategory(TestAttribute category)
setCategory
in interface ITest
public List<TestAttribute> getCategoryList()
getCategoryList
in interface ITest
public void setAuthor(TestAttribute author)
public List<TestAttribute> getAuthorsList()
getAuthorsList
in interface ITest
public void setException(ExceptionInfo exceptionInfo)
setException
in interface ITest
public List<ExceptionInfo> getExceptionList()
public void setLog(Log log)
public List<Log> getLogList()
getLogList
in interface ITest
public int getLogColumnSize()
public void setScreenCaptureList(List<ScreenCapture> screenCaptureList)
public void setScreenCapture(ScreenCapture screenCapture)
public List<ScreenCapture> getScreenCaptureList()
public void setScreencastList(List<Screencast> screencastList)
public void setScreencast(Screencast screencast)
public List<Screencast> getScreencastList()
public void hasChildNodes(boolean val)
hasChildNodes
in interface ITest
public void setNodeList(List<Test> nodeList)
setNodeList
in interface ITest
public void setNode(Test node)
public List<Test> getNodeList()
getNodeList
in interface ITest
public void setParentTest(Test test)
public Test getParentTest()
public void prepareFinalize()
public void trackLastRunStatus()
Copyright © 2016. All rights reserved.