FileDocCategorySizeDatePackage
SmokeTestSuiteBuilderTest.javaAPI DocAndroid 1.5 API1259Wed May 06 22:42:02 BST 2009android.test.suitebuilder

SmokeTestSuiteBuilderTest

public class SmokeTestSuiteBuilderTest extends TestCase

Fields Summary
Constructors Summary
Methods Summary
public voidtestShouldOnlyIncludeSmokeTests()

        TestSuite testSuite = new SmokeTestSuiteBuilder(getClass())
                .includeAllPackagesUnderHere().build();

        List<String> testCaseNames = ListTestCaseNames.getTestCaseNames(testSuite);
        assertEquals("Unexpected number of smoke tests.", 1, testCaseNames.size());
        assertEquals("Unexpected test name", "testSmoke", testCaseNames.get(0));