HomeSort by relevance Sort by last modified time
    Searched full:test_case (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/protobuf/python/google/protobuf/internal/
test_util.py 355 def ExpectAllFieldsSet(test_case, message):
357 test_case.assertTrue(message.HasField('optional_int32'))
358 test_case.assertTrue(message.HasField('optional_int64'))
359 test_case.assertTrue(message.HasField('optional_uint32'))
360 test_case.assertTrue(message.HasField('optional_uint64'))
361 test_case.assertTrue(message.HasField('optional_sint32'))
362 test_case.assertTrue(message.HasField('optional_sint64'))
363 test_case.assertTrue(message.HasField('optional_fixed32'))
364 test_case.assertTrue(message.HasField('optional_fixed64'))
365 test_case.assertTrue(message.HasField('optional_sfixed32')
    [all...]
  /external/srtp/crypto/hash/
auth.c 87 auth_test_case_t *test_case = at->test_data; local
100 if (test_case == NULL)
104 while (test_case != NULL) {
107 if (test_case->tag_length_octets > SELF_TEST_TAG_BUF_OCTETS)
111 status = auth_type_alloc(at, &a, test_case->key_length_octets,
112 test_case->tag_length_octets);
117 status = auth_init(a, test_case->key);
124 octet_string_set_to_zero(tag, test_case->tag_length_octets);
125 status = auth_compute(a, test_case->data,
126 test_case->data_length_octets, tag)
    [all...]
  /external/chromium/net/ftp/
ftp_directory_listing_parser_unittest.h 41 const SingleLineTestData& test_case,
46 EXPECT_EQ(test_case.type, entry.type);
47 EXPECT_EQ(UTF8ToUTF16(test_case.filename), entry.name);
48 EXPECT_EQ(test_case.size, entry.size);
54 EXPECT_EQ(test_case.year, time_exploded.year);
55 EXPECT_EQ(test_case.month, time_exploded.month);
56 EXPECT_EQ(test_case.day_of_month, time_exploded.day_of_month);
57 EXPECT_EQ(test_case.hour, time_exploded.hour);
58 EXPECT_EQ(test_case.minute, time_exploded.minute);
  /external/srtp/crypto/test/
sha1_driver.c 72 hash_test_case_t *test_case; local
75 test_case = malloc(sizeof(hash_test_case_t));
76 if (test_case == NULL)
79 tmp_len = hex_string_to_octet_string((char *)test_case->data, hex_data, data_len*2);
83 tmp_len = hex_string_to_octet_string((char *)test_case->hash, hex_hash, hash_len*2);
87 test_case->data_len = data_len;
88 test_case->hash_len = hash_len;
91 test_case->next_test_case = list_head;
92 *list_ptr = test_case;
98 sha1_test_case_validate(const hash_test_case_t *test_case) {
491 hash_test_case_t *test_case; local
    [all...]
  /external/srtp/crypto/cipher/
cipher.c 85 const cipher_test_case_t *test_case = ct->test_data; local
100 if (test_case == NULL)
107 while (test_case != NULL) {
110 status = cipher_type_alloc(ct, &c, test_case->key_length_octets);
120 status = cipher_init(c, test_case->key, direction_encrypt);
127 if (test_case->ciphertext_length_octets > SELF_TEST_BUF_OCTETS) {
131 for (i=0; i < test_case->plaintext_length_octets; i++)
132 buffer[i] = test_case->plaintext[i];
136 test_case->plaintext_length_octets));
139 status = cipher_set_iv(c, test_case->idx)
    [all...]
  /external/chromium/testing/gtest/test/
gtest-unittest-api_test.cc 76 const TestCase* test_case = unit_test.GetTestCase(i); local
77 if (0 == strcmp(test_case->name(), name))
78 return test_case;
86 static TestInfo const** const GetSortedTests(const TestCase* test_case) {
88 new const TestInfo*[test_case->total_test_count()];
90 for (int i = 0; i < test_case->total_test_count(); ++i)
91 tests[i] = test_case->GetTestInfo(i);
93 std::sort(tests, tests + test_case->total_test_count(),
148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
149 ASSERT_TRUE(test_case != NULL)
211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local
279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
    [all...]
gtest_shuffle_test.py 123 test_case = test.split('.')[0]
124 if not test_case in test_cases:
125 test_cases.append(test_case)
248 [test_case, _] = test.split('.')
249 if test_cases and test_cases[-1] != test_case:
250 test_cases.append(test_case)
251 self.assertEqual(1, test_cases.count(test_case),
253 (test_case, tests))
  /external/gtest/test/
gtest-unittest-api_test.cc 76 const TestCase* test_case = unit_test.GetTestCase(i); local
77 if (0 == strcmp(test_case->name(), name))
78 return test_case;
86 static TestInfo const** const GetSortedTests(const TestCase* test_case) {
88 new const TestInfo*[test_case->total_test_count()];
90 for (int i = 0; i < test_case->total_test_count(); ++i)
91 tests[i] = test_case->GetTestInfo(i);
93 std::sort(tests, tests + test_case->total_test_count(),
148 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
149 ASSERT_TRUE(test_case != NULL)
211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local
279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
    [all...]
gtest_shuffle_test.py 123 test_case = test.split('.')[0]
124 if not test_case in test_cases:
125 test_cases.append(test_case)
248 [test_case, _] = test.split('.')
249 if test_cases and test_cases[-1] != test_case:
250 test_cases.append(test_case)
251 self.assertEqual(1, test_cases.count(test_case),
253 (test_case, tests))
  /external/protobuf/gtest/test/
gtest-unittest-api_test.cc 76 const TestCase* test_case = unit_test.GetTestCase(i); local
77 if (0 == strcmp(test_case->name(), name))
78 return test_case;
86 static TestInfo const** const GetSortedTests(const TestCase* test_case) {
88 new const TestInfo*[test_case->total_test_count()];
90 for (int i = 0; i < test_case->total_test_count(); ++i)
91 tests[i] = test_case->GetTestInfo(i);
93 std::sort(tests, tests + test_case->total_test_count(),
147 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
148 ASSERT_TRUE(test_case != NULL)
211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local
280 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
    [all...]
gtest_shuffle_test.py 129 test_case = test.split('.')[0]
130 if not test_case in test_cases:
131 test_cases.append(test_case)
254 [test_case, _] = test.split('.')
255 if test_cases and test_cases[-1] != test_case:
256 test_cases.append(test_case)
257 self.assertEqual(1, test_cases.count(test_case),
259 (test_case, tests))
  /external/llvm/test/CodeGen/X86/
machine-cse.ll 45 define void @commute(i32 %test_case, i32 %scale) nounwind ssp {
48 switch i32 %test_case, label %sw.bb307 [
55 %mul = mul nsw i32 %test_case, 3
64 tail call void (...)* @printf(i32 %test_case, i32 %mul20) nounwind
65 %tmp = mul i32 %scale, %test_case
  /external/chromium/chrome/common/
json_value_serializer_perftest.cc 33 std::string test_case; local
34 EXPECT_TRUE(file_util::ReadFileToString(filename, &test_case));
35 test_cases_.push_back(test_case);
  /external/dropbear/libtomcrypt/src/mac/hmac/
hmac_test.c 57 test_case = 1
73 test_case = 6
97 test_case = 7
123 test_case = 1
143 test_case = 2
157 test_case = 3
176 test_case = 4
198 test_case = 5
215 test_case = 6
241 test_case =
    [all...]
  /external/chromium/base/
time_win_unittest.cc 191 int test_case = 0; local
192 while (cases[test_case].func) {
195 cases[test_case].func();
204 printf("%s: %1.2fus per call\n", cases[test_case].description,
206 test_case++;
  /external/chromium/chrome/browser/
enumerate_modules_model_unittest_win.cc 25 ModuleEnumerator::Module test_case; member in struct:NormalizationEntryList
59 ModuleEnumerator::Module test = kNormalizationTestCases[i].test_case;
103 ModuleEnumerator::Module test_case; member in struct:MatchingEntryList
198 ModuleEnumerator::Module test = kMatchineEntryList[i].test_case;
212 string16 test_case; member in struct:CollapsePathList
231 module.location = kCollapsePathList[i].test_case;
  /external/webkit/Tools/Scripts/webkitpy/common/system/
logtesting.py 48 def __init__(self, test_case):
52 test_case: A unittest.TestCase instance.
55 self._test_case = test_case
124 def setUp(test_case, logging_level=logging.INFO):
142 test_case: A unittest.TestCase instance.
147 stream = TestLogStream(test_case)
  /external/webkit/Tools/Scripts/webkitpy/style/
main_unittest.py 43 def __init__(self, test_case):
44 self._test_case = test_case
  /cts/tests/tests/webkitsecurity/generate/
postprocess.py 21 test_case = "" variable in class:Test
37 for line in self.test_case.splitlines():
125 tests[fname].test_case = f.read()
  /external/chromium/base/test/
test_suite.cc 102 const testing::TestCase& test_case = *instance->GetTestCase(i); local
103 for (int j = 0; j < test_case.total_test_count(); ++j) {
104 if (test_match(*test_case.GetTestInfo(j))) {
  /external/chromium/testing/gtest/samples/
sample9_unittest.cc 143 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/gtest/samples/
sample9_unittest.cc 143 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/protobuf/gtest/samples/
sample9_unittest.cc 143 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/chromium/testing/gtest/src/
gtest.cc 324 static bool TestCasePassed(const TestCase* test_case) {
325 return test_case->should_run() && test_case->Passed();
329 static bool TestCaseFailed(const TestCase* test_case) {
330 return test_case->should_run() && test_case->Failed();
333 // Returns true iff test_case contains at least one test that should
335 static bool ShouldRunTestCase(const TestCase* test_case) {
336 return test_case->should_run();
1953 const TestCase* const test_case = impl->current_test_case(); local
2837 const TestCase& test_case = *unit_test.GetTestCase(i); local
4101 const std::vector<TestCase*>::const_iterator test_case = local
4390 TestCase* const test_case = test_cases_[i]; local
4433 const TestCase* const test_case = test_cases_[i]; local
    [all...]
  /external/gtest/src/
gtest.cc 324 static bool TestCasePassed(const TestCase* test_case) {
325 return test_case->should_run() && test_case->Passed();
329 static bool TestCaseFailed(const TestCase* test_case) {
330 return test_case->should_run() && test_case->Failed();
333 // Returns true iff test_case contains at least one test that should
335 static bool ShouldRunTestCase(const TestCase* test_case) {
336 return test_case->should_run();
1953 const TestCase* const test_case = impl->current_test_case(); local
2837 const TestCase& test_case = *unit_test.GetTestCase(i); local
4101 const std::vector<TestCase*>::const_iterator test_case = local
4390 TestCase* const test_case = test_cases_[i]; local
4433 const TestCase* const test_case = test_cases_[i]; local
    [all...]

Completed in 877 milliseconds

1 2 3