Android
android.test
public class

android.test.InstrumentationTestSuite

java.lang.Object
junit.framework.TestSuite Test
android.test.InstrumentationTestSuite

A TestSuite that injects Instrumentation into InstrumentationTestCase before running them.

Summary

Public Constructors

            InstrumentationTestSuite(Instrumentation instr)
            InstrumentationTestSuite(String name, Instrumentation instr)
            InstrumentationTestSuite(Class theClass, Instrumentation instr)

Public Methods

          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
Methods inherited from class java.lang.Object
Methods inherited from interface junit.framework.Test

Details

Public Constructors

public InstrumentationTestSuite(Instrumentation instr)

Parameters

instr The instrumentation that will be injected into each test before running it.

public InstrumentationTestSuite(String name, Instrumentation instr)

public InstrumentationTestSuite(Class theClass, Instrumentation instr)

Parameters

theClass Inspected for methods starting with 'test'
instr The instrumentation to inject into each test before running.

Public Methods

public void addTestSuite(Class testClass)

Adds the tests from the given class to the suite

public void runTest(Test test, TestResult result)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56