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 …]
344 TestSuiteBuilder testSuiteBuilder = new TestSuiteBuilder(getClass().getName(), in onCreate() local348 testSuiteBuilder.addRequirements(testSizePredicate); in onCreate()351 testSuiteBuilder.addRequirements(testAnnotationPredicate); in onCreate()354 testSuiteBuilder.addRequirements(testNotAnnotationPredicate); in onCreate()359 testSuiteBuilder.includePackages(mPackageOfTests); in onCreate()363 testSuiteBuilder.addTestSuite(testSuite); in onCreate()367 testSuiteBuilder.includePackages(""); in onCreate()371 parseTestClasses(testClassesArg, testSuiteBuilder); in onCreate()374 testSuiteBuilder.addRequirements(getBuilderRequirements()); in onCreate()380 mTestRunner.setTest(testSuiteBuilder.build()); in onCreate()[all …]
34 public TestSuite buildTestsUnderHereWith(TestSuiteBuilder testSuiteBuilder) { in buildTestsUnderHereWith() argument35 return testSuiteBuilder.includeAllPackagesUnderHere().build(); in buildTestsUnderHereWith()