Build 1.0_r1(from source)

android.test
Class InstrumentationTestSuite

java.lang.Object
  extended by junit.framework.TestSuite
      extended by android.test.InstrumentationTestSuite
All Implemented Interfaces:
Test

public class InstrumentationTestSuite
extends TestSuite

A TestSuite that injects Instrumentation into InstrumentationTestCase before running them.


Constructor Summary
InstrumentationTestSuite(Class theClass, Instrumentation instr)
           
InstrumentationTestSuite(Instrumentation instr)
           
InstrumentationTestSuite(String name, Instrumentation instr)
           
 
Method Summary
 void addTestSuite(Class testClass)
          Adds the tests from the given class to the suite
 void runTest(Test test, TestResult result)
           
 
Methods inherited from class junit.framework.TestSuite
addTest, countTestCases, createTest, getName, getTestConstructor, run, setName, testAt, testCount, tests, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstrumentationTestSuite

public InstrumentationTestSuite(Instrumentation instr)
Parameters:
instr - The instrumentation that will be injected into each test before running it.

InstrumentationTestSuite

public InstrumentationTestSuite(String name,
                                Instrumentation instr)

InstrumentationTestSuite

public InstrumentationTestSuite(Class theClass,
                                Instrumentation instr)
Parameters:
theClass - Inspected for methods starting with 'test'
instr - The instrumentation to inject into each test before running.
Method Detail

addTestSuite

public void addTestSuite(Class testClass)
Description copied from class: TestSuite
Adds the tests from the given class to the suite

Overrides:
addTestSuite in class TestSuite

runTest

public void runTest(Test test,
                    TestResult result)
Overrides:
runTest in class TestSuite

Build 1.0_r1(from source)

Please submit a feedback, bug or feature