Home
last modified time | relevance | path

Searched refs:expected_file (Results 1 – 4 of 4) sorted by relevance

/system/update_engine/payload_consumer/
Dextent_writer_unittest.cc78 brillo::Blob expected_file(kBlockSize); in TEST_F() local
79 expected_file.insert( in TEST_F()
80 expected_file.end(), bytes.data(), bytes.data() + bytes.size()); in TEST_F()
81 ExpectVectorsEq(expected_file, result_file); in TEST_F()
129 brillo::Blob expected_file; in WriteAlignedExtents() local
130 expected_file.insert(expected_file.end(), in WriteAlignedExtents()
133 expected_file.insert( in WriteAlignedExtents()
134 expected_file.end(), data.begin(), data.begin() + kBlockSize); in WriteAlignedExtents()
135 expected_file.insert( in WriteAlignedExtents()
136 expected_file.end(), data.begin() + kBlockSize * 2, data.end()); in WriteAlignedExtents()
[all …]
/system/extras/simpleperf/
Drecord_file_test.cpp230 const FileFeature& expected_file = files[file_id++]; in TEST_F() local
231 ASSERT_EQ(file.path, expected_file.path); in TEST_F()
232 ASSERT_EQ(file.type, expected_file.type); in TEST_F()
233 ASSERT_EQ(file.min_vaddr, expected_file.min_vaddr); in TEST_F()
234 if (!expected_file.symbols.empty()) { in TEST_F()
235 ASSERT_EQ(file.symbols.size(), expected_file.symbols.size()); in TEST_F()
237 ASSERT_TRUE(check_symbol(file.symbols[i], expected_file.symbols[i])); in TEST_F()
240 ASSERT_EQ(file.symbols.size(), expected_file.symbol_ptrs.size()); in TEST_F()
242 ASSERT_TRUE(check_symbol(file.symbols[i], *expected_file.symbol_ptrs[i])); in TEST_F()
246 ASSERT_EQ(file.dex_file_offsets, expected_file.dex_file_offsets); in TEST_F()
[all …]
/system/logging/liblog/tests/
Dliblog_global_state.cpp30 std::string expected_file = Basename(__FILE__); in TEST() local
40 EXPECT_EQ(expected_file, file); in TEST()
58 static std::string expected_file = Basename(__FILE__); in TEST() local
68 EXPECT_EQ(expected_file, log_message->file); in TEST()
/system/testing/gtest_extras/tests/
DOptionsTest.cpp494 std::string expected_file(cwd); in TEST_F() local
495 expected_file += "/cwd.xml"; in TEST_F()
497 EXPECT_EQ(expected_file, options.xml_file()); in TEST_F()