public class TestClassSection extends SectionEvent<TestClassSection,TestClassReport,TestSuiteSection>
SectionEvent
that represents section for TestClassReport
sConstructor and Description |
---|
TestClassSection()
Creates an instance of
TestClassSection |
TestClassSection(Class<?> testClass)
Creates an instance of
TestClassSection with an id created as canonical name of the given test class |
TestClassSection(Class<?> testClass,
String testSuiteId)
Creates an instance of
TestClassSection with an id created as a canonical name of the given test class. |
TestClassSection(TestClassReport testClassReport)
Creates an instance of
TestClassSection with the given TestClassReport |
TestClassSection(TestClassReport testClassReport,
Class<?> testClass)
Creates an instance of
TestClassSection with the given TestClassReport
and an id created as canonical name of the given test class |
TestClassSection(TestClassReport testClassReport,
Class<?> testClass,
String testSuiteId)
Creates an instance of
TestClassSection with the given TestClassReport
and an id created as canonical name of the given test class
The test suite id is stored to identify a parental section this section belongs to |
Modifier and Type | Method and Description |
---|---|
TestSuiteSection |
getParentSectionThisSectionBelongsTo()
Based on information that are set, creates and returns an instance of
SectionEvent implementation
that represents a parent section this section belongs to |
Class<TestClassReport> |
getReportTypeClass()
Returns a
Report class that is default payload of this SectionEvent |
String |
getTestSuiteId()
Returns a test suite id of the
TestSuiteSection this section belongs to |
void |
setTestSuiteId(String testSuiteId)
Sets a test suite id of the
TestSuiteSection this section belongs to |
getReport, getSectionId, identifyYourself, isContainsSubReport, setContainsSubReport, setReport, setSectionId
public TestClassSection()
TestClassSection
public TestClassSection(Class<?> testClass)
TestClassSection
with an id created as canonical name of the given test classtestClass
- A test class the section relates to and whose canonical name should be used as an id of this TestClassSection
public TestClassSection(Class<?> testClass, String testSuiteId)
TestClassSection
with an id created as a canonical name of the given test class.
The test suite id is stored to identify a parental section this section belongs totestClass
- A test class the section relates to and whose canonical name should be used as an id of this TestClassSection
testSuiteId
- A test suite id this class belongs topublic TestClassSection(TestClassReport testClassReport)
TestClassSection
with the given TestClassReport
testClassReport
- A TestClassReport
that should be contained as the payload of this TestClassSection
public TestClassSection(TestClassReport testClassReport, Class<?> testClass)
TestClassSection
with the given TestClassReport
and an id created as canonical name of the given test classtestClassReport
- A TestClassReport
that should be contained as the payload of this TestClassSection
testClass
- A test class the section relates to and whose canonical name should be used as an id of this TestClassSection
public TestClassSection(TestClassReport testClassReport, Class<?> testClass, String testSuiteId)
TestClassSection
with the given TestClassReport
and an id created as canonical name of the given test class
The test suite id is stored to identify a parental section this section belongs totestClassReport
- A TestClassReport
that should be contained as the payload of this TestClassSection
testClass
- A test class the section relates to and whose canonical name should be used as an id of this TestClassSection
testSuiteId
- A test suite id this class belongs topublic TestSuiteSection getParentSectionThisSectionBelongsTo()
SectionEvent
SectionEvent
implementation
that represents a parent section this section belongs togetParentSectionThisSectionBelongsTo
in class SectionEvent<TestClassSection,TestClassReport,TestSuiteSection>
SectionEvent
implementation that represents a parent section this section belongs topublic Class<TestClassReport> getReportTypeClass()
SectionEvent
Report
class that is default payload of this SectionEvent
getReportTypeClass
in class SectionEvent<TestClassSection,TestClassReport,TestSuiteSection>
Report
class that is default payload of this SectionEvent
public String getTestSuiteId()
TestSuiteSection
this section belongs toTestSuiteSection
this section belongs topublic void setTestSuiteId(String testSuiteId)
TestSuiteSection
this section belongs totestSuiteId
- A test suite id of the TestSuiteSection
this section belongs toCopyright © 2017 JBoss by Red Hat. All rights reserved.