Home
last modified time | relevance | path

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

123456

/external/boringssl/src/ssl/test/runner/
Drunner.go639 var testCases []testCase var
3237 testCases = append(testCases, basicTests...)
3244 testCases = append(testCases, testCase{
3250 testCases = append(testCases, testCase{
3259 testCases = append(testCases, testCase{
3268 testCases = append(testCases, testCase{
3281 testCases = append(testCases, testCase{
3357 testCases = append(testCases, testCase{
3381 testCases = append(testCases, testCase{
3409 testCases = append(testCases, testCase{
[all …]
/external/catch2/include/internal/
Dcatch_totals.cpp40 diff.testCases = testCases - other.testCases; in operator -()
46 testCases += other.testCases; in operator +=()
53 ++diff.testCases.failed; in delta()
55 ++diff.testCases.failedButOk; in delta()
57 ++diff.testCases.passed; in delta()
/external/icu/icu4c/source/test/cintltst/
Dcbiditransformtst.c279 static const UBidiTestCases testCases[] = { in testAllTransformOptions() local
392 uint32_t i, nTestCases = sizeof(testCases) / sizeof(testCases[0]); in testAllTransformOptions()
403 expectedStr = testCases[i].pReorderAndMirror; in testAllTransformOptions()
405 testCases[i].inLevel, testCases[i].inOr, in testAllTransformOptions()
406 testCases[i].outLevel, testCases[i].outOr, in testAllTransformOptions()
408 verifyResultsForAllOpt(&testCases[i], src, dest, expectedStr, U_SHAPE_DIGITS_NOOP, in testAllTransformOptions()
412 expectedStr = digits[j] == U_SHAPE_DIGITS_ALEN2AN_INIT_LR ? testCases[i].pContextShapes in testAllTransformOptions()
413 : testCases[i].pReorderNoMirror; in testAllTransformOptions()
417 testCases[i].inLevel, testCases[i].inOr, in testAllTransformOptions()
418 testCases[i].outLevel, testCases[i].outOr, in testAllTransformOptions()
[all …]
Dcg7coll.c68 const static UChar testCases[][MAX_TOKEN_LEN] = { variable
190 doTest(myCollation, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales()
222 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1()
252 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2()
282 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3()
311 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
Dcloctst.c1693 } testCases[] = { in TestKeywordVariants() local
1741 for(i = 0; i < UPRV_LENGTHOF(testCases); i++) { in TestKeywordVariants()
1744 keywords = uloc_openKeywords(testCases[i].localeID, &status); in TestKeywordVariants()
1746 if(status != testCases[i].expectedStatus) { in TestKeywordVariants()
1748 testCases[i].localeID, in TestKeywordVariants()
1749 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants()
1753 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants()
1754 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants()
1759 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants()
1760 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants()
[all …]
Dputiltst.c321 const char *testCases[] = { in TestCompareVersions() local
336 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions()
337 v1str = testCases[j+0]; in TestCompareVersions()
338 opstr = testCases[j+1]; in TestCompareVersions()
339 v2str = testCases[j+2]; in TestCompareVersions()
566 } testCases[] = { in toolutil_findBasename() local
584 int32_t count=UPRV_LENGTHOF(testCases); in toolutil_findBasename()
591 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename()
592 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename()
594 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename()
[all …]
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
DPhoneNumberMatcherTest.java542 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithPossibleLeniency() local
543 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithPossibleLeniency()
544 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithPossibleLeniency()
545 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithPossibleLeniency()
546 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testMatchesWithPossibleLeniency()
547 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); in testMatchesWithPossibleLeniency()
551 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testNonMatchesWithPossibleLeniency() local
552 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithPossibleLeniency()
553 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); in testNonMatchesWithPossibleLeniency()
557 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithValidLeniency() local
[all …]
/external/icu/icu4c/source/test/intltest/
Dg7coll.cpp21 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { variable
143 …doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales()
175 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1()
209 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2()
243 … doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3()
272 … doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DG7CollationTest.java33 private static String[] testCases = { field in G7CollationTest
89 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); in TestDemo1()
116 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); in TestDemo2()
144 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); in TestDemo3()
171 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], -1); in TestDemo4()
202 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], -1); in TestG7Data()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DG7CollationTest.java30 private static String[] testCases = { field in G7CollationTest
86 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); in TestDemo1()
113 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); in TestDemo2()
141 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); in TestDemo3()
168 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], -1); in TestDemo4()
199 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], -1); in TestG7Data()
/external/deqp/execserver/tools/
DxsTest.cpp206 void runCases (const std::vector<TestCase*>& testCases);
222 void TestExecutor::runCases (const std::vector<TestCase*>& testCases) in runCases() argument
225 int numCases = (int)testCases.size(); in runCases()
227 for (std::vector<TestCase*>::const_iterator i = testCases.begin(); i != testCases.end(); i++) in runCases()
892 std::vector<TestCase*> testCases; in runExecServerTests() local
893 testCases.push_back(new ConnectTest(testCtx)); in runExecServerTests()
894 testCases.push_back(new HelloTest(testCtx)); in runExecServerTests()
895 testCases.push_back(new ExecFailTest(testCtx)); in runExecServerTests()
896 testCases.push_back(new SimpleExecTest(testCtx)); in runExecServerTests()
897 testCases.push_back(new InfoTest(testCtx)); in runExecServerTests()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/
DTestStreaming.java46 static final TestCase[] testCases = { field in TestStreaming
84 int nTests = testCases.length, nLevels = paraLevels.length; in testStreaming()
96 src = testCases[i].textIn; in testStreaming()
98 chunk = testCases[i].chunk; in testStreaming()
99 nPortions = testCases[i].nPortions[levelIndex]; in testStreaming()
122 processedLen != testCases[i].portionLens[levelIndex][j]; in testStreaming()
137 testCases[i].message[levelIndex] + " }\n"); in testStreaming()
DTestInverse.java33 static final String[] testCases = { field in TestInverse
48 log("inverse Bidi: testInverse(L) with " + testCases.length + in testInverse()
50 for(i = 0; i < testCases.length; ++i) { in testInverse()
52 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_LEFT_TO_RIGHT); in testInverse()
55 log("inverse Bidi: testInverse(R) with " + testCases.length + in testInverse()
57 for (i = 0; i < testCases.length; ++i) { in testInverse()
59 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_RIGHT_TO_LEFT); in testInverse()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestStreaming.java43 static final TestCase[] testCases = { field in TestStreaming
81 int nTests = testCases.length, nLevels = paraLevels.length; in testStreaming()
93 src = testCases[i].textIn; in testStreaming()
95 chunk = testCases[i].chunk; in testStreaming()
96 nPortions = testCases[i].nPortions[levelIndex]; in testStreaming()
119 processedLen != testCases[i].portionLens[levelIndex][j]; in testStreaming()
134 testCases[i].message[levelIndex] + " }\n"); in testStreaming()
DTestInverse.java30 static final String[] testCases = { field in TestInverse
45 log("inverse Bidi: testInverse(L) with " + testCases.length + in testInverse()
47 for(i = 0; i < testCases.length; ++i) { in testInverse()
49 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_LEFT_TO_RIGHT); in testInverse()
52 log("inverse Bidi: testInverse(R) with " + testCases.length + in testInverse()
54 for (i = 0; i < testCases.length; ++i) { in testInverse()
56 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_RIGHT_TO_LEFT); in testInverse()
/external/catch2/include/reporters/
Dcatch_reporter_compact.cpp43 if (totals.testCases.total() == 0) { in printTotals()
45 } else if (totals.testCases.failed == totals.testCases.total()) { in printTotals()
51 "Failed " << bothOrAll(totals.testCases.failed) in printTotals()
52 << pluralise(totals.testCases.failed, "test case") << ", " in printTotals()
57 "Passed " << bothOrAll(totals.testCases.total()) in printTotals()
58 << pluralise(totals.testCases.total(), "test case") in printTotals()
63 "Failed " << pluralise(totals.testCases.failed, "test case") << ", " in printTotals()
68 "Passed " << bothOrAll(totals.testCases.passed) in printTotals()
69 << pluralise(totals.testCases.passed, "test case") << in printTotals()
Dcatch_reporter_console.cpp554 if (totals.testCases.total() == 0) { in printTotals()
556 } else if (totals.assertions.total() > 0 && totals.testCases.allPassed()) { in printTotals()
560 << pluralise(totals.testCases.passed, "test case") << ')' in printTotals()
566 .addRow(totals.testCases.total()) in printTotals()
569 .addRow(totals.testCases.passed) in printTotals()
572 .addRow(totals.testCases.failed) in printTotals()
575 .addRow(totals.testCases.failedButOk) in printTotals()
601 if (totals.testCases.total() > 0) { in printTotalsDivider()
602 std::size_t failedRatio = makeRatio(totals.testCases.failed, totals.testCases.total()); in printTotalsDivider()
603 … std::size_t failedButOkRatio = makeRatio(totals.testCases.failedButOk, totals.testCases.total()); in printTotalsDivider()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
DTestStringPrepProfiles.java41 private static String[][] testCases = { field in TestStringPrepProfiles
152 for (int i = 0; i < testCases.length; i++) { in TestProfiles()
153 for (int j = 0; j < testCases[i].length; j++) { in TestProfiles()
155 profileName = testCases[i][j]; in TestProfiles()
159 src = testCases[i][j]; in TestProfiles()
160 expected = testCases[i][++j]; in TestProfiles()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestStringPrepProfiles.java38 private static String[][] testCases = { field in TestStringPrepProfiles
149 for (int i = 0; i < testCases.length; i++) { in TestProfiles()
150 for (int j = 0; j < testCases[i].length; j++) { in TestProfiles()
152 profileName = testCases[i][j]; in TestProfiles()
156 src = testCases[i][j]; in TestProfiles()
157 expected = testCases[i][++j]; in TestProfiles()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp1377 …void build(vector<OperationTestCase>& testCases, TypeTestResultsSP typeTestResults, bool arguments…
1382 void createUnaryTestCases(vector<OperationTestCase>& testCases,
1703 void TestCasesBuilder::build(vector<OperationTestCase>& testCases, TypeTestResultsSP typeTestResult… in build() argument
1708 testCases.reserve(750); in build()
1715testCases.push_back(OTC("denorm_op_var_flush_to_zero", B_DENORM_FLUSH, operation, V_DENORM, … in build()
1716testCases.push_back(OTC("denorm_op_denorm_flush_to_zero", B_DENORM_FLUSH, operation, V_DENORM… in build()
1717testCases.push_back(OTC("denorm_op_inf_flush_to_zero", B_DENORM_FLUSH | B_ZIN_PERSERVE, operation… in build()
1718testCases.push_back(OTC("denorm_op_nan_flush_to_zero", B_DENORM_FLUSH | B_ZIN_PERSERVE, operation… in build()
1726testCases.push_back(OTC("op_denorm_flush_to_zero", B_DENORM_FLUSH, operation, V_DENORM, V_UNUSED, … in build()
1734testCases.push_back(OTC("denorm_op_var_preserve", B_DENORM_PERSERVE, operation, V_DENORM, V_… in build()
[all …]
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DTestCasesTest.java42 String[] testCases = { in testCaseNamesShouldMapToEnums() local
76 assertEquals(testCases.length + additionalTestCases.length, TestCases.values().length); in testCaseNamesShouldMapToEnums()
78 Set<TestCases> testCaseSet = new HashSet<TestCases>(testCases.length); in testCaseNamesShouldMapToEnums()
79 for (String testCase : testCases) { in testCaseNamesShouldMapToEnums()
/external/skqp/tests/
DDashPathEffectTest.cpp48 } testCases[] = { in DEF_TEST() local
76 for (int j = 0; j < (int)SK_ARRAY_COUNT(testCases); ++j) { in DEF_TEST()
81 src.moveTo(testCases[j].fPts[k]); in DEF_TEST()
82 src.lineTo(testCases[j].fPts[(k+1)%2]); in DEF_TEST()
86 REPORTER_ASSERT(r, actualResult == testCases[j].fExpectedResult); in DEF_TEST()
/external/skia/tests/
DDashPathEffectTest.cpp48 } testCases[] = { in DEF_TEST() local
76 for (int j = 0; j < (int)SK_ARRAY_COUNT(testCases); ++j) { in DEF_TEST()
81 src.moveTo(testCases[j].fPts[k]); in DEF_TEST()
82 src.lineTo(testCases[j].fPts[(k+1)%2]); in DEF_TEST()
86 REPORTER_ASSERT(r, actualResult == testCases[j].fExpectedResult); in DEF_TEST()
/external/testng/src/test/java/test/tmp/
DTestCaseFactory.java15 Object[] testCases = new Object[1]; in createTestCases() local
16 testCases[0] = new MyTestClass() { in createTestCases()
18 return testCases; in createTestCases()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/
Dis_symlink.pass.cpp46 const TestCase testCases[] = { in TEST_CASE() local
58 for (auto& TC : testCases) { in TEST_CASE()
70 const TestCase testCases[] = { in TEST_CASE() local
77 for (auto& TC : testCases) { in TEST_CASE()

123456