com.atlassian.bamboo.resultsummary.tests
Interface TestClass

All Superinterfaces:
java.lang.Comparable<TestClass>
All Known Implementing Classes:
TestClassImpl

public interface TestClass
extends java.lang.Comparable<TestClass>

A grouping of TestCases. Belongs to a plan


Method Summary
 void addTest(TestCase testCase)
          Add a testCase to this group
 TestClass copyTestClass(Plan plan)
          Creates a copy of the TestClass.
 java.lang.String getName()
          The real name of the test class
 Plan getPlan()
          Get the plan that this test class belongs to
 java.lang.String getShortName()
          Get the short name for this class for the UI
 java.util.List<TestCase> getTestCases()
          Retrieve the TestCases that are part of this class.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

addTest

void addTest(TestCase testCase)
Add a testCase to this group

Parameters:
testCase - to add.

getName

java.lang.String getName()
The real name of the test class

Returns:
real name of the test class

getTestCases

java.util.List<TestCase> getTestCases()
Retrieve the TestCases that are part of this class.

Returns:
the TestCases that are part of this class.

getPlan

Plan getPlan()
Get the plan that this test class belongs to

Returns:
the plan that this test class belongs to

getShortName

java.lang.String getShortName()
Get the short name for this class for the UI

Returns:
the name of this class without preceding packages.

copyTestClass

@NotNull
TestClass copyTestClass(@NotNull
                                Plan plan)
Creates a copy of the TestClass. Includes all child TestCases but not the Plan

Parameters:
plan -
Returns:
testClass


Copyright © 2010 Atlassian. All Rights Reserved.