Searched refs:expected_data_ (Results 1 – 4 of 4) sorted by relevance
/external/chromium_org/extensions/renderer/api/serial/ |
D | data_sender_unittest.cc | 42 std::queue<std::string> expected_data_; member in extensions::DataSenderTest 57 if (expected_data_.empty()) { in ReadyToReceive() 62 std::string& expected = expected_data_.front(); in ReadyToReceive() 72 expected_data_.pop(); in ReadyToReceive() 97 expected_data_.push("aa"); in TEST_F() 106 expected_data_.push(expected_data); in TEST_F() 111 expected_data_.push(""); in TEST_F() 112 expected_data_.push("a"); in TEST_F() 118 expected_data_.push(std::string(5, 'b')); in TEST_F() 119 expected_data_.push("a"); in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | pe_image_reader_win_unittest.cc | 26 PeImageReaderTest() : expected_data_(GetParam()) {} in PeImageReaderTest() 31 data_file_path_ = data_file_path_.AppendASCII(expected_data_->filename); in SetUp() 39 const TestData* expected_data_; member in PeImageReaderTest 46 EXPECT_EQ(expected_data_->word_size, image_reader_.GetWordSize()); in TEST_P() 58 EXPECT_EQ(expected_data_->machine_identifier, file_header->Machine); in TEST_P() 59 EXPECT_EQ(expected_data_->optional_header_size, in TEST_P() 68 EXPECT_EQ(expected_data_->optional_header_size, optional_header_size); in TEST_P() 72 EXPECT_EQ(expected_data_->number_of_sections, in TEST_P() 113 EXPECT_EQ(expected_data_->number_of_debug_entries, in TEST_P()
|
/external/chromium_org/content/browser/download/ |
D | base_file_unittest.cc | 64 EXPECT_EQ(static_cast<int64>(expected_data_.size()), in TearDown() 70 if (!expected_data_.empty() && !expected_error_) { in TearDown() 74 EXPECT_EQ(expected_data_, disk_data); in TearDown() 127 expected_data_ += data; in AppendDataToFile() 129 EXPECT_EQ(static_cast<int64>(expected_data_.size()), in AppendDataToFile() 136 void set_expected_data(const std::string& data) { expected_data_ = data; } in set_expected_data() 224 std::string expected_data_; member in content::BaseFileTest
|
D | download_file_unittest.cc | 209 EXPECT_EQ(expected_data_, disk_data); in DestroyDownloadFile() 232 expected_data_ += source_data; in SetupDataAppend() 240 EXPECT_EQ(expected_data_.size(), static_cast<size_t>(size)); in VerifyStreamAndSize() 364 std::string expected_data_; member in content::DownloadFileTest
|