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

1234

/external/chromium_org/chrome/android/host_driven_tests/
H A DDummyTest.py7 from pylib.host_driven import test_case namespace
11 class DummyTest(test_case.HostDrivenTestCase):
/external/chromium_org/chrome/browser/chromeos/net/
H A Donc_utils_unittest.cc31 base::DictionaryValue* test_case; local
32 (*it)->GetAsDictionary(&test_case);
35 test_case->GetDictionary("ONC_ProxySettings", &onc_proxy_settings);
38 test_case->GetDictionary("ProxyConfig", &expected_proxy_config);
/external/chromium_org/components/autofill/core/browser/
H A Dautofill_regexes_unittest.cc36 const TestCase& test_case = kPositiveCases[i]; local
37 SCOPED_TRACE(test_case.input);
38 SCOPED_TRACE(test_case.pattern);
39 EXPECT_TRUE(autofill::MatchesPattern(ASCIIToUTF16(test_case.input),
40 ASCIIToUTF16(test_case.pattern)));
56 const TestCase& test_case = kNegativeCases[i]; local
57 SCOPED_TRACE(test_case.input);
58 SCOPED_TRACE(test_case.pattern);
59 EXPECT_FALSE(autofill::MatchesPattern(ASCIIToUTF16(test_case.input),
60 ASCIIToUTF16(test_case
[all...]
/external/chromium/chrome/common/
H A Djson_value_serializer_perftest.cc33 std::string test_case; local
34 EXPECT_TRUE(file_util::ReadFileToString(filename, &test_case));
35 test_cases_.push_back(test_case);
/external/chromium_org/build/android/pylib/host_driven/
H A Dtest_runner.py16 import test_case namespace
84 assert isinstance(test, test_case.HostDrivenTestCase)
H A Dsetup.py12 import test_case namespace
130 issubclass(test_class, test_case.HostDrivenTestCase) and
131 test_class is not test_case.HostDrivenTestCase)
/external/chromium_org/net/http/
H A Dhttp_content_disposition_unittest.cc580 const ParseResultTestCase& test_case = kTestCases[i]; local
581 HttpContentDisposition content_disposition(test_case.header, "utf-8");
585 << " with header " << test_case.header);
586 EXPECT_EQ(test_case.expected_flags, result);
/external/chromium_org/ui/base/ime/win/
H A Dimm32_manager_unittest.cc73 const InputModeTestCase& test_case = GetParam(); local
78 IMM32Manager::ConvertInputModeToImmFlags(test_case.input_mode,
79 test_case.conversion_mode,
83 EXPECT_EQ(test_case.expected_open, open);
84 EXPECT_EQ(test_case.expected_conversion_mode, conversion_mode);
/external/chromium_org/webkit/browser/fileapi/
H A Dtest_file_set.cc43 const TestCaseRecord& test_case) {
44 base::FilePath path = root_path.Append(test_case.path);
45 if (test_case.is_directory) {
59 if (test_case.data_file_size > 0U) {
60 std::string content = base::RandBytesAsString(test_case.data_file_size);
42 SetUpOneTestCase(const base::FilePath& root_path, const TestCaseRecord& test_case) argument
/external/srtp/crypto/hash/
H A Dauth.c87 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
[all...]
/external/chromium/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/chromium_org/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/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/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/chromium/net/ftp/
H A Dftp_directory_listing_parser_unittest.h41 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);
40 VerifySingleLineTestCase( const SingleLineTestData& test_case, const std::vector<FtpDirectoryListingEntry>& entries) argument
/external/chromium_org/base/i18n/
H A Drtl_unittest.cc368 string16 test_case = WideToUTF16(cases[i]); local
369 string16 adjusted_string = test_case;
374 EXPECT_NE(test_case, adjusted_string);
376 EXPECT_EQ(test_case, adjusted_string) << " for test case [" << test_case
/external/chromium_org/chrome_frame/test/
H A Dhtml_util_unittests.cc36 virtual bool GetTestPath(const std::string& test_case, base::FilePath* path) { argument
51 test_path = test_path.AppendASCII(test_case);
57 virtual bool GetTestData(const std::string& test_case, std::wstring* data) { argument
64 if (!GetTestPath(test_case, &path)) {
/external/chromium_org/chromeos/network/onc/
H A Donc_utils_unittest.cc116 const base::DictionaryValue* test_case = NULL; local
117 it.value().GetAsDictionary(&test_case);
120 test_case->GetList("WithCertRefs", &networks_with_cert_refs);
123 test_case->GetList("WithResolvedRefs", &expected_resolved_onc);
/external/chromium_org/content/browser/worker_host/test/
H A Dworker_browsertest.cc35 GURL GetTestURL(const std::string& test_case, const std::string& query) { argument
37 "workers", test_case.c_str());
42 const std::string& test_case,
44 GURL url = GetTestURL(test_case, query);
52 void RunTest(const std::string& test_case, const std::string& query) { argument
53 RunTest(shell(), test_case, query); local
41 RunTest(Shell* window, const std::string& test_case, const std::string& query) argument
/external/chromium_org/net/ftp/
H A Dftp_directory_listing_parser_unittest.h40 const SingleLineTestData& test_case,
45 EXPECT_EQ(test_case.type, entry.type);
46 EXPECT_EQ(UTF8ToUTF16(test_case.filename), entry.name);
47 EXPECT_EQ(test_case.size, entry.size);
53 EXPECT_EQ(test_case.year, time_exploded.year);
54 EXPECT_EQ(test_case.month, time_exploded.month);
55 EXPECT_EQ(test_case.day_of_month, time_exploded.day_of_month);
56 EXPECT_EQ(test_case.hour, time_exploded.hour);
57 EXPECT_EQ(test_case.minute, time_exploded.minute);
39 VerifySingleLineTestCase( const SingleLineTestData& test_case, const std::vector<FtpDirectoryListingEntry>& entries) argument
/external/chromium_org/third_party/WebKit/Source/core/scripts/
H A Dmake_token_matcher_unittest.py56 def test_case(self): member in class:SwitchLineProcessorTest
/external/srtp/crypto/cipher/
H A Dcipher.c85 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
[all...]
/external/chromium/base/test/
H A Dtest_suite.cc102 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/chrome/browser/
H A Denumerate_modules_model_unittest_win.cc25 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/chromium/testing/gtest/test/
H A Dgtest-unittest-api_test.cc76 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) { argument
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 !
211 const TestCase* test_case = UnitTestHelper::FindTestCase("DISABLED_Test"); local
279 const TestCase* test_case = UnitTestHelper::FindTestCase("ApiTest"); local
[all...]

Completed in 6786 milliseconds

1234