/external/chromium_org/chrome/browser/ui/webui/ |
history_ui_unittest.cc | 55 TestResult test_data[] = { local 62 AddQueryResults(test_data, arraysize(test_data), &results); 66 EXPECT_TRUE(ResultEquals(results[0], test_data[3])); 67 EXPECT_TRUE(ResultEquals(results[1], test_data[1])); 72 TestResult test_data[] = { local 78 AddQueryResults(test_data, arraysize(test_data), &results); 82 EXPECT_TRUE(ResultEquals(results[0], test_data[2])); 83 EXPECT_TRUE(ResultEquals(results[1], test_data[1])) 88 TestResult test_data[] = { local 114 TestResult test_data[] = { local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/layout_package/ |
bot_test_expectations_unittest.py | 64 def _results_json_from_test_data(self, test_data): 65 test_data[bot_test_expectations.ResultsJSON.FAILURE_MAP_KEY] = self.FAILURE_MAP 67 'builder': test_data, 81 def _assert_expectations(self, test_data, expectations_string, only_ignore_very_flaky): 82 results_json = self._results_json_from_test_data(test_data) 86 def _assert_unexpected_results(self, test_data, expectations_string): 87 results_json = self._results_json_from_test_data(test_data) 92 test_data = { 102 self._assert_expectations(test_data, { 106 self._assert_expectations(test_data, { [all...] |
/external/chromium_org/chrome/installer/util/ |
logging_installer_unittest.cc | 16 const std::string test_data(installer::kMaxInstallerLogFileSize + 1, 'a'); 22 EXPECT_EQ(test_data.size(), 23 file_util::WriteFile(temp_file, &test_data[0], test_data.size())); 28 EXPECT_EQ(test_data.size(), file_size); 41 const std::string test_data(installer::kMaxInstallerLogFileSize, 'a'); 47 EXPECT_EQ(test_data.size(), 48 file_util::WriteFile(temp_file, &test_data[0], test_data.size())); 53 EXPECT_EQ(test_data.size(), file_size) [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
stacked_tab_strip_layout_unittest.cc | 157 struct CommonTestData test_data[] = { local 170 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { 171 CreateLayout(test_data[i]); 172 EXPECT_EQ(test_data[i].expected_bounds, BoundsString()) << " at " << i; 181 } test_data[] = { local 255 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { 256 CreateLayout(test_data[i].common_data); 257 layout_->DragActiveTab(test_data[i].delta); 258 EXPECT_EQ(test_data[i].common_data.expected_bounds, BoundsString()) << 265 struct CommonTestData test_data[] = local 295 } test_data[] = { local 354 } test_data[] = { local 404 } test_data[] = { local 436 } test_data[] = { local 473 } test_data[] = { local 541 } test_data[] = { local [all...] |
/external/chromium_org/chrome/common/extensions/manifest_tests/ |
extension_manifests_manifest_version_unittest.cc | 30 } test_data[] = { local 39 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { 41 if (test_data[i].require_modern_manifest_version) 43 if (test_data[i].expect_error) { 45 Manifest(test_data[i].manifest, 46 test_data[i].test_name), 51 LoadAndExpectSuccess(Manifest(test_data[i].manifest, 52 test_data[i].test_name),
|
/external/chromium_org/media/ffmpeg/ |
ffmpeg_common_unittest.cc | 62 int64 test_data[][5] = { local 68 for (size_t i = 0; i < arraysize(test_data); ++i) { 72 time_base.num = static_cast<int>(test_data[i][0]); 73 time_base.den = static_cast<int>(test_data[i][1]); 75 TimeDelta time_delta = ConvertFromTimeBase(time_base, test_data[i][2]); 77 EXPECT_EQ(time_delta.InMicroseconds(), test_data[i][3]); 78 EXPECT_EQ(ConvertToTimeBase(time_base, time_delta), test_data[i][4]); local
|
/external/chromium_org/content/common/ |
sandbox_mac_unittest_helper.h | 47 // by |sandbox_type|. |test_data| is a custom string that a test can pass 54 const char* test_data); 66 const char* test_data); 90 virtual void SetTestData(const char* test_data);
|
/external/chromium_org/content/browser/gamepad/ |
gamepad_test_helpers.cc | 12 const WebKit::WebGamepads& test_data) 13 : test_data_(test_data), 45 const WebKit::WebGamepads& test_data) { 46 data_fetcher_ = new MockGamepadDataFetcher(test_data);
|
gamepad_provider_unittest.cc | 47 GamepadProvider* CreateProvider(const WebGamepads& test_data) { 48 mock_data_fetcher_ = new MockGamepadDataFetcher(test_data); 68 WebGamepads test_data; local 69 test_data.length = 1; 70 test_data.items[0].connected = true; 71 test_data.items[0].timestamp = 0; 72 test_data.items[0].buttonsLength = 1; 73 test_data.items[0].axesLength = 2; 74 test_data.items[0].buttons[0] = 1.f; 75 test_data.items[0].axes[0] = -1.f [all...] |
gamepad_test_helpers.h | 24 explicit MockGamepadDataFetcher(const WebKit::WebGamepads& test_data); 66 explicit GamepadServiceTestConstructor(const WebKit::WebGamepads& test_data);
|
/external/chromium_org/ui/base/dragdrop/ |
gtk_dnd_util_unittest.cc | 24 scoped_ptr<guchar[]> test_data(new guchar[pickle.size()]); 25 memcpy(test_data.get(), pickle.data(), pickle.size()); 26 data.data = test_data.get(); 44 scoped_ptr<guchar[]> test_data(new guchar[pickle.size()]); 45 memcpy(test_data.get(), pickle.data(), pickle.size()); 46 data.data = test_data.get(); 73 scoped_ptr<guchar[]> test_data(new guchar[pickle.size()]); 74 memcpy(test_data.get(), pickle.data(), pickle.size()); 75 data.data = test_data.get();
|
/external/sfntly/cpp/src/test/ |
endian_test.cc | 28 byte_t test_data[] = { local 39 for (size_t i = 0; i < sizeof(test_data); ++i) { 40 ba1->Put(i, test_data[i]); 68 EXPECT_EQ(memcmp(os.Get(), test_data, sizeof(test_data)), 0);
|
/external/chromium/chrome/browser/ |
browser_about_handler_unittest.cc | 24 } test_data[] = { local 108 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { 109 GURL url(test_data[i].test_url); 110 EXPECT_EQ(test_data[i].about_handled, 112 EXPECT_EQ(test_data[i].browser_handled, 114 EXPECT_EQ(test_data[i].result_url, url);
|
/external/chromium/crypto/ |
symmetric_key_unittest.cc | 82 PBKDF2TestVector test_data(GetParam()); 86 if (strlen(test_data.salt) < 8 || test_data.rounds < 1000) { 87 VLOG(1) << "Skipped test vector for " << test_data.expected; 94 test_data.algorithm, 95 test_data.password, test_data.salt, 96 test_data.rounds, test_data.key_size_in_bits)); 101 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size()) [all...] |
/external/chromium_org/crypto/ |
symmetric_key_unittest.cc | 82 PBKDF2TestVector test_data(GetParam()); 86 if (strlen(test_data.salt) < 8 || test_data.rounds < 1000) { 87 VLOG(1) << "Skipped test vector for " << test_data.expected; 94 test_data.algorithm, 95 test_data.password, test_data.salt, 96 test_data.rounds, test_data.key_size_in_bits)); 101 EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size()) [all...] |
/external/chromium_org/chrome_frame/test/ |
html_util_unittests.cc | 80 std::wstring test_data; local 81 GetTestData("basic_test.html", &test_data); 83 HTMLScanner scanner(test_data.c_str()); 101 std::wstring test_data; local 102 GetTestData("quotes_test.html", &test_data); 104 HTMLScanner scanner(test_data.c_str()); 122 std::wstring test_data; local 123 GetTestData("degenerate_cases_test.html", &test_data); 125 HTMLScanner scanner(test_data.c_str()); 135 std::wstring test_data; local [all...] |
/external/chromium_org/chrome/browser/ |
browser_about_handler_unittest.cc | 25 } test_data[] = { local 67 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { 68 GURL url(test_data[i].test_url); 70 EXPECT_EQ(test_data[i].result_url, url);
|
external_extension_browsertest.cc | 107 IsSearchProviderTestData test_data[2 * arraysize(test_hosts)]; local 111 test_data[i] = StartIsSearchProviderInstalledTest( 113 FinishIsSearchProviderInstalledTest(test_data[i]); 119 test_data[i + arraysize(test_hosts)] = StartIsSearchProviderInstalledTest( 121 FinishIsSearchProviderInstalledTest(test_data[i + arraysize(test_hosts)]); 131 for (size_t i = 0; i < arraysize(test_data); ++i) { 132 FinishIsSearchProviderInstalledTest(test_data[i]);
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/ |
datastorefile_test.py | 49 test_data = 'x' * datastorefile.MAX_ENTRY_LEN * 3 51 self.assertTrue(self.test_file.save_data(test_data)) 52 self.assertEqual(test_data, self.test_file.data) 54 self.assertEqual(test_data, self.test_file.load_data()) 55 self.assertEqual(test_data, self.test_file.data) 66 test_data = 'x' * datastorefile.MAX_ENTRY_LEN * 5 67 self.assertTrue(self.test_file.save_data(test_data)) 73 test_data = 'x' * datastorefile.MAX_ENTRY_LEN * 5 74 self.assertTrue(self.test_file.save_data(test_data))
|
/external/e2fsprogs/tests/defaults/ |
e_script | 18 EXPECT=$SRCDIR/progs/test_data/expect.$class 31 cat $SRCDIR/progs/test_data/$instance.setup $SRCDIR/progs/test_data/test.$class \
|
/external/chromium/chrome/browser/password_manager/ |
password_store_mac_unittest.cc | 52 MockKeychain::KeychainTestData test_data[] = { local 93 unsigned int capacity = arraysize(test_data) + 3; 96 for (unsigned int i = 0; i < arraysize(test_data); ++i) { 97 keychain_->AddTestItem(test_data[i]); 333 TestDataAndExpectation test_data[] = { local 377 for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { 379 CreatePasswordFormFromData(test_data[i].data)); 384 EXPECT_EQ(test_data[i].expected_fill_matches, matching_items.size()); 388 EXPECT_EQ(test_data[i].expected_merge_matches > 0, 391 EXPECT_EQ(test_data[i].expected_merge_matches, matching_items.size()) 498 TestDataAndExpectation test_data[] = { local 569 TestDataAndExpectation test_data[] = { local [all...] |
/external/chromium_org/chrome/browser/password_manager/ |
password_store_mac_unittest.cc | 55 MockAppleKeychain::KeychainTestData test_data[] = { local 97 for (unsigned int i = 0; i < arraysize(test_data); ++i) { 98 keychain_->AddTestItem(test_data[i]); 334 TestDataAndExpectation test_data[] = { local 378 for (unsigned int i = 0; i < ARRAYSIZE_UNSAFE(test_data); ++i) { 380 CreatePasswordFormFromData(test_data[i].data)); 385 EXPECT_EQ(test_data[i].expected_fill_matches, matching_items.size()); 389 EXPECT_EQ(test_data[i].expected_merge_matches > 0, 392 EXPECT_EQ(test_data[i].expected_merge_matches, matching_items.size()); 499 TestDataAndExpectation test_data[] = local 571 TestDataAndExpectation test_data[] = { local [all...] |
/external/chromium_org/chrome/browser/chromeos/net/ |
onc_utils_unittest.cc | 20 scoped_ptr<base::Value> test_data = local 24 test_data->GetAsList(&list_of_tests);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_netrc.py | 11 def make_nrc(self, test_data): 12 test_data = textwrap.dedent(test_data) 17 fp.write(test_data)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_netrc.py | 11 def make_nrc(self, test_data): 12 test_data = textwrap.dedent(test_data) 17 fp.write(test_data)
|