Home
last modified time | relevance | path

Searched refs:testCases (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/test-runner/tests/src/android/test/
DAndroidTestRunnerTest.java52 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); in testLoadNoTestCases() local
53 assertNotNull(testCases); in testLoadNoTestCases()
54 assertEquals(1, testCases.size()); in testLoadNoTestCases()
55 assertEquals("warning", testCases.get(0).getName()); in testLoadNoTestCases()
62 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); in testSetTestSuiteWithOneTestCase() local
63 assertNotNull(testCases); in testSetTestSuiteWithOneTestCase()
64 assertEquals(1, testCases.size()); in testSetTestSuiteWithOneTestCase()
65 assertEquals("testOne", testCases.get(0).getName()); in testSetTestSuiteWithOneTestCase()
106 List<TestCase> testCases = mAndroidTestRunner.getTestCases(); in testRunTestWithAndroidTestCaseInSuite() local
107 for (TestCase testCase : testCases) { in testRunTestWithAndroidTestCaseInSuite()
[all …]
/frameworks/minikin/tests/unittest/
DLayoutSplitterTest.cpp102 } testCases[] = { in TEST() local
144 for (const auto& testCase : testCases) { in TEST()
164 } testCases[] = { in TEST() local
206 for (const auto& testCase : testCases) { in TEST()
226 } testCases[] = { in TEST() local
258 for (const auto& testCase : testCases) { in TEST()
278 } testCases[] = { in TEST() local
310 for (const auto& testCase : testCases) { in TEST()
DFontFamilyTest.cpp177 } testCases[] = { in TEST() local
254 for (const auto& testCase : testCases) { in TEST()
554 } testCases[] = { in TEST_F() local
559 for (const auto& testCase : testCases) { in TEST_F()
699 } testCases[] = { in TEST_F() local
729 for (const TestCase& testCase : testCases) { in TEST_F()
DFontCollectionItemizeTest.cpp813 } testCases[] = { in TEST() local
912 for (auto testCase : testCases) { in TEST()
973 } testCases[] = { in TEST() local
1266 for (const auto& testCase : testCases) { in TEST()
/frameworks/base/test-runner/src/android/test/
DTestCaseUtil.java49 List<Test> testCases = new ArrayList<>(); in getTests() local
73 testCases.addAll(getTests(childTest, flatten, seen)); in getTests()
75 testCases.add(childTest); in getTests()
79 testCases.add(workingTest); in getTests()
82 return testCases; in getTests()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestSuiteBuilder.java49 private List<TestCase> testCases; field in TestSuiteBuilder
70 this.testCases = new ArrayList<>(); in TestSuiteBuilder()
82 this.testCases.addAll(atr.getTestCases()); in addTestClassByName()
89 this.testCases.add(testCase); in addTestSuite()
188 if (testCases.size() > 0) { in build()
189 for (TestCase testCase : testCases) { in build()
/frameworks/base/wifi/tests/src/android/net/wifi/util/
DHexEncodingTest.java33 Object[][] testCases = new Object[][]{ in testEncodeByte() local
45 for (Object[] testCase : testCases) { in testEncodeByte()
58 Object[][] testCases = new Object[][]{ in testEncodeBytes() local
62 for (Object[] testCase : testCases) { in testEncodeBytes()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DUtilsTest.java218 final int[][] testCases = { in testBiometricConstantsConversion() local
231 for (int i = 0; i < testCases.length; i++) { in testBiometricConstantsConversion()
232 assertEquals(testCases[i][1], in testBiometricConstantsConversion()
233 Utils.biometricConstantsToBiometricManager(testCases[i][0])); in testBiometricConstantsConversion()
DBiometricServiceTest.java1190 final int[][] testCases = { in testAuthenticatorActualStrength() local
1208 for (int i = 0; i < testCases.length; i++) { in testAuthenticatorActualStrength()
1212 testCases[i][0], in testAuthenticatorActualStrength()
1214 authenticator.updateStrength(testCases[i][1]); in testAuthenticatorActualStrength()
1215 assertEquals(testCases[i][2], authenticator.getActualStrength()); in testAuthenticatorActualStrength()
/frameworks/av/camera/ndk/ndk_vendor/tests/
DAImageReaderVendorTest.cpp744 std::vector<ImageReaderTestCase*> testCases; in testLogicalCameraPhysicalStream() local
750 testCases.push_back(testCase); in testLogicalCameraPhysicalStream()
755 physicalImgReaderInfo.push_back({physicalCameraIds[0], testCases[1]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
756 physicalImgReaderInfo.push_back({physicalCameraIds[1], testCases[2]->getNativeWindow()}); in testLogicalCameraPhysicalStream()
759 cameraHelper.initCamera(testCases[0]->getNativeWindow(), physicalImgReaderInfo, in testLogicalCameraPhysicalStream()
765 ASSERT_LE(configuredWindowsp->size(), testCases.size()); in testLogicalCameraPhysicalStream()
782 if (testCases[0]->getAcquiredImageCount() == pictureCount) { in testLogicalCameraPhysicalStream()
788 for(auto &testCase : testCases) { in testLogicalCameraPhysicalStream()
/frameworks/base/tests/net/java/com/android/internal/util/
DBitUtilsTest.java136 BitPackingTestCase[] testCases = { in testBitsPacking() local
148 for (BitPackingTestCase tc : testCases) { in testBitsPacking()
159 for (BitPackingTestCase tc : testCases) { in testBitsPacking()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java124 List<TestCase> testCases = collector.getTestCases(); in start() local
129 resultPrinter = new WatcherResultPrinter(testCases.size()); in start()
158 for (TestCase testCase : testCases) { in start()
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateConfigsTest.cpp1086 const std::vector<std::pair<float, float>> testCases = { in TEST_F() local
1104 for (const auto& test : testCases) { in TEST_F()