Searched refs:testSuiteBuilder (Results 1 – 3 of 3) sorted by relevance
43 private TestSuiteBuilder testSuiteBuilder; field in TestSuiteBuilderTest47 testSuiteBuilder = new TestSuiteBuilder(getClass()); in setUp()51 testSuiteBuilder.includePackages(packageFor(SimpleTest.class)); in testShouldRunSimpleTests()53 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldRunSimpleTests()61 testSuiteBuilder.includePackages(packageFor(SimpleTest.class)) in testShouldOnlyIncludeTestsThatSatisfyAllPredicates()66 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldOnlyIncludeTestsThatSatisfyAllPredicates()72 testSuiteBuilder.includePackages(packageFor(FailingTest.class)); in testShouldAddFailingTestsToSuite()74 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldAddFailingTestsToSuite()81 testSuiteBuilder.includePackages(packageFor(ErrorTest.class)); in testShouldAddTestsWithErrorsToSuite()83 SuiteExecutionRecorder recorder = runSuite(testSuiteBuilder); in testShouldAddTestsWithErrorsToSuite()[all …]
354 TestSuiteBuilder testSuiteBuilder = new TestSuiteBuilder(getClass().getName(), in onCreate() local358 testSuiteBuilder.addRequirements(testSizePredicate); in onCreate()361 testSuiteBuilder.addRequirements(testAnnotationPredicate); in onCreate()364 testSuiteBuilder.addRequirements(testNotAnnotationPredicate); in onCreate()369 testSuiteBuilder.includePackages(mPackageOfTests); in onCreate()373 testSuiteBuilder.addTestSuite(testSuite); in onCreate()377 testSuiteBuilder.includePackages(""); in onCreate()381 parseTestClasses(testClassesArg, testSuiteBuilder); in onCreate()384 testSuiteBuilder.addRequirements(getBuilderRequirements()); in onCreate()390 mTestRunner.setTest(testSuiteBuilder.build()); in onCreate()[all …]
34 public TestSuite buildTestsUnderHereWith(TestSuiteBuilder testSuiteBuilder) { in buildTestsUnderHereWith() argument35 return testSuiteBuilder.includeAllPackagesUnderHere().build(); in buildTestsUnderHereWith()