Class TestCaseDestination
- java.lang.Object
-
- org.alfresco.utility.testrail.core.TestCaseDestination
-
public class TestCaseDestination extends java.lang.ObjectSaves the details of all Section assigned for a Test Case the string passed from annotation, the root Section object from TestRail and the destination child Section
-
-
Constructor Summary
Constructors Constructor Description TestCaseDestination()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfromAnnotation(TestRail testRailAnnotation)java.util.List<java.lang.String>getChildDestinationSection()SectiongetDestination()java.util.List<java.lang.String>getDestinationSections()SectiongetRootSection()java.lang.StringgetRootSectionName()booleanhasDestination()booleanhasRootSection()voidsetDestination(Section destination)voidsetRootSection(Section rootSection)java.lang.StringtoString()
-
-
-
Method Detail
-
fromAnnotation
protected void fromAnnotation(TestRail testRailAnnotation)
-
getRootSectionName
public java.lang.String getRootSectionName()
-
getDestinationSections
public java.util.List<java.lang.String> getDestinationSections()
-
getRootSection
public Section getRootSection()
-
setRootSection
public void setRootSection(Section rootSection)
-
hasRootSection
public boolean hasRootSection()
-
hasDestination
public boolean hasDestination()
-
getDestination
public Section getDestination()
-
setDestination
public void setDestination(Section destination)
-
getChildDestinationSection
public java.util.List<java.lang.String> getChildDestinationSection()
- Returns:
- all Sections of current Test Case without root Section
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-