/external/chromium_org/chrome/installer/util/ |
D | registry_key_backup_unittest.cc | 24 ASSERT_TRUE(test_data_.Initialize(HKEY_CURRENT_USER, L"SOFTWARE\\TmpTmp")); in SetUp() 25 destination_path_.assign(test_data_.base_path()).append(L"\\Destination"); in SetUp() 28 RegistryTestData test_data_; member in RegistryKeyBackupTest 36 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), in TEST_F() 39 EXPECT_FALSE(RegKey(test_data_.root_key(), destination_path_.c_str(), in TEST_F() 46 std::wstring non_existent_key_path(test_data_.base_path() + L"\\NoKeyHere"); in TEST_F() 49 EXPECT_TRUE(backup.Initialize(test_data_.root_key(), in TEST_F() 52 EXPECT_TRUE(backup.WriteTo(test_data_.root_key(), in TEST_F() 55 EXPECT_FALSE(RegKey(test_data_.root_key(), destination_path_.c_str(), in TEST_F() 63 EXPECT_TRUE(backup.Initialize(test_data_.root_key(), in TEST_F() [all …]
|
D | delete_reg_key_work_item_unittest.cc | 24 ASSERT_TRUE(test_data_.Initialize(HKEY_CURRENT_USER, L"SOFTWARE\\TmpTmp")); in SetUp() 27 RegistryTestData test_data_; member in DeleteRegKeyWorkItemTest 34 std::wstring(test_data_.base_path() + L"\\NoKeyHere"), in TEST_F() 35 std::wstring(test_data_.base_path() + L"\\NoKeyHere\\OrHere") in TEST_F() 41 test_data_.root_key(), key_path, WorkItem::kWow64Default)); in TEST_F() 43 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), in TEST_F() 47 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), in TEST_F() 55 const std::wstring& key_path = test_data_.empty_key_path(); in TEST_F() 57 test_data_.root_key(), key_path, WorkItem::kWow64Default)); in TEST_F() 59 EXPECT_NE(ERROR_SUCCESS, key.Open(test_data_.root_key(), key_path.c_str(), in TEST_F() [all …]
|
/external/chromium_org/cc/layers/ |
D | texture_layer_unittest.cc | 301 Mock::VerifyAndClearExpectations(&test_data_.mock_callback_); in TearDown() 302 EXPECT_CALL(test_data_.mock_callback_, in TearDown() 303 Release(test_data_.mailbox_name1_, in TearDown() 304 test_data_.sync_point1_, in TearDown() 309 CommonMailboxObjects test_data_; member in cc::__anond61082b60111::TextureLayerWithMailboxTest 322 test_data_.mailbox1_, in TEST_F() 323 SingleReleaseCallback::Create(test_data_.release_mailbox1_)); in TEST_F() 327 EXPECT_CALL(test_data_.mock_callback_, in TEST_F() 328 Release(test_data_.mailbox_name1_, in TEST_F() 329 test_data_.sync_point1_, in TEST_F() [all …]
|
/external/chromium_org/content/browser/gamepad/ |
D | gamepad_service_unittest.cc | 73 WebGamepads test_data_; member in content::GamepadServiceTest 80 memset(&test_data_, 0, sizeof(test_data_)); in GamepadServiceTest() 83 test_data_.items[0].buttonsLength = 1; in GamepadServiceTest() 84 test_data_.items[0].buttons[0].value = 1.f; in GamepadServiceTest() 85 test_data_.items[0].buttons[0].pressed = true; in GamepadServiceTest() 93 fetcher_ = new MockGamepadDataFetcher(test_data_); in SetUp() 101 test_data_.items[i].connected = connected; in SetPadsConnected() 103 fetcher_->SetTestData(test_data_); in SetPadsConnected()
|
D | gamepad_test_helpers.cc | 13 : test_data_(test_data), in MockGamepadDataFetcher() 24 *pads = test_data_; in GetGamepadData() 44 test_data_ = new_data; in SetTestData()
|
D | gamepad_test_helpers.h | 46 blink::WebGamepads test_data_; variable
|
/external/chromium_org/net/cert/ |
D | x509_cert_types_unittest.cc | 214 test_data_ = GetParam(); in SetUp() 218 CertDateTestData test_data_; member in net::__anon83d11b5f0111::X509CertTypesDateTest 224 test_data_.date_string, test_data_.format, &parsed_date); in TEST_P() 225 EXPECT_EQ(test_data_.is_valid, parsed); in TEST_P() 226 if (!test_data_.is_valid) in TEST_P() 233 EXPECT_EQ(base::Time::FromUTCExploded(test_data_.expected_result) in TEST_P()
|
D | x509_certificate_unittest.cc | 854 test_data_ = GetParam(); in SetUp() 859 CertificateFormatTestData test_data_; member in net::X509CertificateParseTest 865 certs_dir, test_data_.file_name, test_data_.format); in TEST_P() 867 ASSERT_LE(certs.size(), arraysize(test_data_.chain_fingerprints)); in TEST_P() 872 for (i = 0; i < arraysize(test_data_.chain_fingerprints); ++i) { in TEST_P() 873 if (test_data_.chain_fingerprints[i] == NULL) { in TEST_P() 887 uint8* expected_fingerprint = test_data_.chain_fingerprints[i]; in TEST_P()
|
/external/chromium_org/content/common/ |
D | sandbox_mac_unittest_helper.h | 93 std::string test_data_;
|
D | sandbox_mac_fontloading_unittest.mm | 35 if (!base::ReadFileToString(base::FilePath(test_data_.c_str()), &font_data)) { 36 LOG(ERROR) << "Failed to read font data from file (" << test_data_ << ")";
|
D | sandbox_mac_unittest_helper.mm | 98 test_data_ = test_data;
|
/external/chromium_org/net/base/ |
D | file_stream_unittest.cc | 533 test_data_(CreateTestDataBuffer()), in TestWriteReadCompletionCallback() 534 drainable_(new DrainableIOBuffer(test_data_.get(), kTestDataSize)) {} in TestWriteReadCompletionCallback() 612 scoped_refptr<IOBufferWithSize> test_data_; member in net::__anon64bb9ae00211::TestWriteReadCompletionCallback 670 test_data_(CreateTestDataBuffer()), in TestWriteCloseCompletionCallback() 671 drainable_(new DrainableIOBuffer(test_data_.get(), kTestDataSize)) {} in TestWriteCloseCompletionCallback() 717 scoped_refptr<IOBufferWithSize> test_data_; member in net::__anon64bb9ae00211::TestWriteCloseCompletionCallback
|