Searched defs:test_case (Results 1 - 25 of 117) sorted by relevance

12345

/external/adhd/cras/src/tests/
H A Dchecksum_unittest.cc17 static TestCase test_case[] = member in namespace:__anon757
26 for (size_t i = 0; i < ARRAY_SIZE(test_case); i++) {
27 const char *input = test_case[i].input;
28 uint32_t output = test_case[i].output;
/external/ltp/testcases/kernel/syscalls/clock_getres/
H A Dclock_getres01.c37 static struct test_case { struct
/external/pdfium/fxbarcode/oned/
H A DBC_OnedCode128Writer_unittest.cpp36 const TestCase& test_case = kTestCases[i]; local
39 CBC_OnedCode128Writer::Encode128B(test_case.input, &patterns);
40 EXPECT_EQ(test_case.checksum, checksum);
41 ASSERT_EQ(test_case.num_patterns, patterns.size());
45 EXPECT_EQ(test_case.patterns[j], patterns[j]);
69 const TestCase& test_case = kTestCases[i]; local
72 CBC_OnedCode128Writer::Encode128C(test_case.input, &patterns);
73 EXPECT_EQ(test_case.checksum, checksum);
74 ASSERT_EQ(test_case.num_patterns, patterns.size());
78 EXPECT_EQ(test_case
[all...]
/external/ltp/testcases/kernel/syscalls/lgetxattr/
H A Dlgetxattr02.c49 static struct test_case { struct
61 struct test_case *tc = tcase + n;
/external/ltp/testcases/kernel/syscalls/listxattr/
H A Dlistxattr02.c55 static struct test_case { struct
68 struct test_case *t = tc + n;
/external/ltp/testcases/kernel/syscalls/mq_unlink/
H A Dmq_unlink01.c35 struct test_case { struct
42 static struct test_case tcase[] = {
86 struct test_case *tc = &tcase[i];
/external/ltp/testcases/kernel/syscalls/removexattr/
H A Dremovexattr02.c46 static struct test_case { struct
59 static void verify_removexattr(struct test_case *tc);
84 static void verify_removexattr(struct test_case *tc)
/external/nos/test/system-test-harness/src/
H A Daes-cmac-tests.cc78 const cmac_data *test_case = &RFC4493_AES_CMAC_DATA[i]; local
80 request.set_key(test_case->K, sizeof(test_case->K));
82 if (test_case->M_len > 0) {
83 request.set_plain_text(test_case->M, test_case->M_len);
103 for (size_t j = 0; j < sizeof(test_case->CMAC); j++) {
104 ASSERT_EQ(result.cmac()[j] & 0x00ff, test_case->CMAC[j] & 0x00ff);
H A Dcavptests.cc91 const gcm_data *test_case = &NIST_GCM_DATA[i]; local
94 request.set_key(test_case->key, test_case->key_len / 8);
95 request.set_iv(test_case->IV, test_case->IV_len / 8);
96 request.set_plain_text(test_case->PT, test_case->PT_len / 8);
97 request.set_aad(test_case->AAD, test_case->AAD_len / 8);
98 request.set_tag_len(test_case
[all...]
/external/pdfium/core/fpdfapi/parser/
H A Dfpdf_parser_decode_unittest.cpp101 const auto& test_case = test_data[i]; local
102 ByteString output = PDF_EncodeText(test_case.input);
103 ASSERT_EQ(test_case.expected_length, output.GetLength()) << "for case "
106 for (size_t j = 0; j < test_case.expected_length; ++j) {
107 EXPECT_EQ(test_case.expected_output[j], str_ptr[j]) << "for case " << i
/external/google-breakpad/src/testing/gtest/samples/
H A Dsample9_unittest.cc143 const TestCase& test_case = *unit_test.GetTestCase(i); local
144 for (int j = 0; j < test_case.total_test_count(); ++j) {
145 const TestInfo& test_info = *test_case.GetTestInfo(j);
/external/googletest/googletest/samples/
H A Dsample9_unittest.cc140 const TestCase& test_case = *unit_test.GetTestCase(i); local
141 for (int j = 0; j < test_case.total_test_count(); ++j) {
142 const TestInfo& test_info = *test_case.GetTestInfo(j);
/external/ltp/testcases/kernel/syscalls/flistxattr/
H A Dflistxattr02.c49 static struct test_case { struct
60 struct test_case *t = tc + n;
/external/ltp/testcases/kernel/syscalls/kcmp/
H A Dkcmp01.c42 static struct test_case { struct
68 static void do_child(const struct test_case *test)
104 struct test_case *tc = &test_cases[n];
H A Dkcmp02.c49 static struct test_case { struct
85 struct test_case *test = &test_cases[n];
/external/ltp/testcases/kernel/syscalls/llistxattr/
H A Dllistxattr02.c54 static struct test_case { struct
67 struct test_case *t = tc + n;
/external/ltp/testcases/kernel/syscalls/request_key/
H A Drequest_key02.c42 static struct test_case { struct
54 struct test_case *tc = tcases + n;
/external/ltp/testcases/kernel/syscalls/sched_getattr/
H A Dsched_getattr02.c47 static struct test_case { struct
61 static void sched_getattr_verify(const struct test_case *test);
65 static void sched_getattr_verify(const struct test_case *test)
/external/ltp/testcases/kernel/syscalls/utils/
H A Dmq_timed.h23 struct test_case { struct
/external/protobuf/gtest/samples/
H A Dsample9_unittest.cc143 const TestCase& test_case = *unit_test.GetTestCase(i); local
144 for (int j = 0; j < test_case.total_test_count(); ++j) {
145 const TestInfo& test_info = *test_case.GetTestInfo(j);
/external/v8/testing/gtest/samples/
H A Dsample9_unittest.cc143 const TestCase& test_case = *unit_test.GetTestCase(i); local
144 for (int j = 0; j < test_case.total_test_count(); ++j) {
145 const TestInfo& test_info = *test_case.GetTestInfo(j);
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/
H A Dsample9_unittest.cc143 const TestCase& test_case = *unit_test.GetTestCase(i); local
144 for (int j = 0; j < test_case.total_test_count(); ++j) {
145 const TestInfo& test_info = *test_case.GetTestInfo(j);
/external/libchrome/base/test/
H A Dgtest_util.cc40 const testing::TestCase* test_case = unit_test->GetTestCase(i); local
41 for (int j = 0; j < test_case->total_test_count(); ++j) {
42 const testing::TestInfo* test_info = test_case->GetTestInfo(j);
44 test_data.test_case_name = test_case->name();
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/
H A Dclock_nanosleep01.c41 struct test_case { struct
57 static struct test_case tcase[] = {
99 struct test_case *tc = &tcase[i];
/external/ltp/testcases/kernel/syscalls/fchown/
H A Dfchown02.c54 struct test_case { struct
70 static void verify_fchown(struct test_case *t)

Completed in 700 milliseconds

12345