unitee.client
Class  RemoteTestSuiteStub
java.lang.Object
  |
  +--unitee.client.AbstractStreamable
        |
        +--unitee.client.RemoteTestStub
              |
              +--unitee.client.RemoteTestSuiteStub
- public class RemoteTestSuiteStub- extends RemoteTestStub- implements TestSuite
Stub for a remote TestSuite
 
 
| Method Summary | 
|  void | addTest(Test test)Adds a test case into this suite.
 | 
|  Test | findTest(java.lang.String qualifiedName)Searches for a test in this test suite and in the child suites.
 | 
|  Test[] | getTests()Returns all tests (both test case holders and test suites).
 | 
|  void | relocate(int oldIndex,
         int newIndex)Relocates a test within this test suite and shrinks the array.
 | 
|  void | removeTest(Test test)Deletes a test from this suite.
 | 
 
| Methods inherited from class unitee.client.RemoteTestStub | 
| asSuite, 
asTestCase, 
getName, 
getParent, 
getQualifiedName, 
getTestParameters, 
init, 
setName, 
setParent, 
setTestParameters, 
test | 
 
 
| Methods inherited from class java.lang.Object | 
| clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
toString, 
wait, 
wait, 
wait | 
 
RemoteTestSuiteStub
public RemoteTestSuiteStub()
addTest
public void addTest(Test test)
- Description copied from interface: TestSuite
- Adds a test case into this suite.- 
- Specified by: 
- addTest in interface TestSuite
 
removeTest
public void removeTest(Test test)
- Description copied from interface: TestSuite
- Deletes a test from this suite.- 
- Specified by: 
- removeTest in interface TestSuite
 
getTests
public Test[] getTests()
- Returns all tests (both test case holders and test suites).- 
- Specified by: 
- getTests in interface TestSuite
 
relocate
public void relocate(int oldIndex,
                     int newIndex)
- Description copied from interface: TestSuite
- Relocates a test within this test suite and shrinks the array. 
 
 If your array is - [ a b c d e f ] , and you run relocate(2,5) 
 You will get -->   [ a c d e b f ].
 If your array is - [ a b c d e f ] , and you run relocate(5,2) 
 You will get -->   [ a e b c d f ].
  do nothing.
 
- 
- Specified by: 
- relocate in interface TestSuite
 
- Tags copied from interface: TestSuite
- 
- Throws:
-  -  
 
findTest
public Test findTest(java.lang.String qualifiedName)
- Description copied from interface: TestSuite
- Searches for a test in this test suite and in the child suites.- 
- Specified by: 
- findTest in interface TestSuite
 
- Tags copied from interface: TestSuite
- 
- Returns:
- the found test , or null if the qualified name 
 does not exist in this suite.