public class Test extends Object
| 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()
LogIteratorpublic com.relevantcodes.extentreports.model.Test.TestAttributeIterator<Author> authorIterator()
TestAttributeIteratorpublic com.relevantcodes.extentreports.model.Test.TestAttributeIterator<Category> categoryIterator()
TestAttributeIteratorpublic void setStartedTime(Date startedTime)
public Date getStartedTime()
public String getRunDuration()
public void setEndedTime(Date endedTime)
public Date getEndedTime()
public void setStatus(LogStatus status)
public LogStatus getStatus()
public void setDescription(String description)
public String getDescription()
public void setInternalWarning(String warning)
public String getInternalWarning()
public void setName(String name)
public String getName()
public UUID getId()
public void setCategory(TestAttribute category)
public List<TestAttribute> getCategoryList()
public void setAuthor(TestAttribute author)
public List<TestAttribute> getAuthorsList()
public void setLog(Log log)
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 setNode(Test node)
public void prepareFinalize()
public void trackLastRunStatus()
Copyright © 2015. All rights reserved.