Home
last modified time | relevance | path

Searched refs:TestCases (Results 1 – 25 of 105) sorted by relevance

12345

/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DTestCasesTest.java19 import static io.grpc.testing.integration.TestCases.fromString;
76 assertEquals(testCases.length + additionalTestCases.length, TestCases.values().length); in testCaseNamesShouldMapToEnums()
78 Set<TestCases> testCaseSet = new HashSet<TestCases>(testCases.length); in testCaseNamesShouldMapToEnums()
80 testCaseSet.add(TestCases.fromString(testCase)); in testCaseNamesShouldMapToEnums()
83 testCaseSet.add(TestCases.fromString(testCase)); in testCaseNamesShouldMapToEnums()
86 assertEquals(TestCases.values().length, testCaseSet.size()); in testCaseNamesShouldMapToEnums()
DStressTestClientTest.java91 new TestCaseWeightPair(TestCases.EMPTY_UNARY, 20), in allCommandlineSwitchesAreSupported()
92 new TestCaseWeightPair(TestCases.LARGE_UNARY, 50), in allCommandlineSwitchesAreSupported()
93 new TestCaseWeightPair(TestCases.SERVER_STREAMING, 30)); in allCommandlineSwitchesAreSupported()
/external/libcxx/test/support/test.support/
Dtest_demangle.pass.cpp22 } TestCases[] = { in main() local
27 const size_t size = sizeof(TestCases) / sizeof(TestCases[0]); in main()
29 const char* raw = TestCases[i].raw; in main()
30 const char* expect = TestCases[i].expect; in main()
/external/libcxx/test/libcxx/utilities/function.objects/unord.hash/
Dmurmur2_or_cityhash_ubsan_unsigned_overflow_ignored.pass.cpp33 const std::string TestCases[] = { in main() local
38 const size_t NumCases = sizeof(TestCases)/sizeof(TestCases[0]); in main()
40 test(TestCases[i].data(), TestCases[i].length()); in main()
/external/pdfium/xfa/fxfa/parser/
Dxfa_utils_unittest.cpp13 } TestCases[] = {{-1000000, 80}, {-361, 359}, {-360, 0}, {-359, 1}, in TEST() local
19 for (size_t i = 0; i < FX_ArraySize(TestCases); ++i) { in TEST()
20 EXPECT_EQ(TestCases[i].expected_output, in TEST()
21 XFA_MapRotation(TestCases[i].input)); in TEST()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestCases.java24 public enum TestCases { enum
57 TestCases(String description) { in TestCases() method in TestCases
72 public static TestCases fromString(String s) { in fromString()
74 return TestCases.valueOf(s.toUpperCase()); in fromString()
DStressTestClient.java319 TestCases testCase = TestCases.fromString(nameWeight.get(0)); in parseTestCases()
373 for (TestCases testCase : TestCases.values()) { in validTestCasesHelpText()
455 private void runTestCase(Tester tester, TestCases testCase) throws Exception { in runTestCase()
538 final Iterator<TestCases> testCases;
544 List<TestCases> testCases = new ArrayList<>(); in WeightedTestCaseSelector()
556 TestCases nextTestCase() { in nextTestCase()
592 final TestCases testCase;
595 TestCaseWeightPair(TestCases testCase, int weight) { in TestCaseWeightPair()
/external/libcxx/test/libcxx/numerics/
Dclamp_to_integral.pass.cpp28 } TestCases[] = { in test() local
39 for (TestCase TC : TestCases) { in test()
60 } TestCases[] = { in test_float() local
69 for (TestCase TC : TestCases) { in test_float()
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dsymlink_status.pass.cpp38 path TestCases[] = {StaticEnv::File, StaticEnv::Dir, StaticEnv::SymlinkToFile, in TEST_CASE() local
40 for (const auto& p : TestCases) { in TEST_CASE()
49 for (const auto& p : TestCases) { in TEST_CASE()
Dstatus.pass.cpp38 path TestCases[] = {StaticEnv::File, StaticEnv::Dir, StaticEnv::SymlinkToFile, in TEST_CASE() local
40 for (const auto& p : TestCases) { in TEST_CASE()
49 for (const auto& p : TestCases) { in TEST_CASE()
Dcomparisons.pass.cpp53 TestType TestCases[] = in test_comparisons_simple() local
70 for (auto const& TC : TestCases) { in test_comparisons_simple()
/external/libcxx/test/std/language.support/cmp/cmp.partialord/
Dpartialord.pass.cpp62 std::partial_ordering TestCases[] = { in test_conversion() local
67 for (auto V : TestCases) in test_conversion()
86 } TestCases[] = { in test_constexpr() local
92 for (auto TC : TestCases) { in test_constexpr()
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/
Dmake_preferred.pass.cpp32 const MakePreferredTestcase TestCases[] = variable
47 for (auto const & TC : TestCases) { in main()
Dremove_filename.pass.cpp33 const RemoveFilenameTestcase TestCases[] = variable
64 for (auto const & TC : TestCases) { in main()
Dreplace_filename.pass.cpp35 const ReplaceFilenameTestcase TestCases[] = variable
54 for (auto const & TC : TestCases) { in main()
Dreplace_extension.pass.cpp34 const ReplaceExtensionTestcase TestCases[] = variable
58 for (auto const & TC : TestCases) { in main()
Dswap.pass.cpp35 const SwapTestcase TestCases[] = variable
53 for (auto const & TC : TestCases) { in main()
/external/libcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/
Dlexically_normal.pass.cpp35 } TestCases[] = { in main() local
128 for (auto& TC : TestCases) { in main()
Dlexically_relative_and_proximate.pass.cpp37 } TestCases[] = { in main() local
62 for (auto& TC : TestCases) { in main()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/
Dabsolute.pass.cpp43 } TestCases [] = { in TEST_CASE() local
49 for (auto& TC : TestCases) { in TEST_CASE()
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.compare/
Dequal_comp.pass.cpp50 std::pair<uintptr_t, uintptr_t> const TestCases[] = { in main() local
56 for (auto& TC : TestCases) { in main()
Dless_comp.pass.cpp59 std::pair<uintptr_t, uintptr_t> const TestCases[] = { in main() local
65 for (auto& TC : TestCases) { in main()
/external/libcxx/test/std/experimental/language.support/support.coroutines/coroutine.handle/coroutine.handle.hash/
Dhash.pass.cpp53 std::pair<uintptr_t, uintptr_t> const TestCases[] = { in main() local
59 for (auto& TC : TestCases) { in main()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/
Dweakly_canonical.pass.cpp34 } TestCases[] = { in main() local
62 for (auto& TC : TestCases) { in main()
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/
Dfile_size.pass.cpp68 } TestCases[] = { in TEST_CASE() local
75 for (auto& TC : TestCases) { in TEST_CASE()

12345