Searched refs:TestCaseUtil (Results 1 – 4 of 4) sorted by relevance
31 List<Test> tests = (List<Test>) TestCaseUtil.getTests(test, false); in getTestCaseNames()34 testCaseNames.add(TestCaseUtil.getTestName(aTest)); in getTestCaseNames()57 … Test test = TestCaseUtil.invokeSuiteMethodIfPossible(OneTestTestCase.class, new HashSet<>()); in testInvokeSuiteMethodIfPossible_ForTestCase()62 … Test test = TestCaseUtil.invokeSuiteMethodIfPossible(TwoTestsInTestSuite.class, new HashSet<>()); in testInvokeSuiteMethodIfPossible_ForTestSuiteWithSuiteMethod()68 …Test test = TestCaseUtil.invokeSuiteMethodIfPossible(OneTestTestCaseWithSuite.class, new HashSet<>… in testInvokeSuiteMethodIfPossible_ForTestCaseWithSuiteMethod()74 assertEquals("", TestCaseUtil.getTestName(new TestSuite())); in testReturnEmptyStringForTestSuiteWithNoName()
38 public class TestCaseUtil { class40 private TestCaseUtil() { in TestCaseUtil() method in TestCaseUtil
71 mTestCases = (List<TestCase>) TestCaseUtil.getTests(test, true); in setTest()73 mTestClassName = TestCaseUtil.getTestName(test); in setTest()
21 import android.test.TestCaseUtil;88 for (TestCase testCase : (List<TestCase>) TestCaseUtil.getTests(testSuite, true)) { in addTestSuite()