/system/update_engine/payload_generator/ |
D | ext2_filesystem_unittest.cc | 64 test_utils::ScopedTempFile fs_filename_{"Ext2FilesystemTest-XXXXXX"}; in TEST_F() 76 test_utils::GetBuildArtifactsPath().Append("gen/disk_ext2_4k_empty.img"); in TEST_F() 104 base::FilePath build_path = test_utils::GetBuildArtifactsPath().Append("gen"); in TEST_F() 181 base::FilePath path = test_utils::GetBuildArtifactsPath().Append( in TEST_F() 193 test_utils::GetBuildArtifactsPath().Append("gen/disk_ext2_unittest.img"); in TEST_F()
|
D | full_update_generator_unittest.cc | 28 using chromeos_update_engine::test_utils::FillWithData; 78 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F() 109 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F() 130 EXPECT_TRUE(test_utils::WriteFileVector(new_part_conf.path, new_part)); in TEST_F()
|
D | block_mapping_unittest.cc | 75 test_utils::WriteFileString(old_part_path_, string(block_size_, 'a')); in TEST_F() 110 test_utils::WriteFileString(old_part_path_, old_contents); in TEST_F() 117 test_utils::WriteFileString(new_part_path_, new_contents); in TEST_F()
|
D | blob_file_writer_unittest.cc | 26 using chromeos_update_engine::test_utils::FillWithData;
|
D | delta_diff_utils_unittest.cc | 100 return test_utils::WriteFileVector(part.path, file_data); in InitializePartitionWithUniqueBlocks() 166 test_utils::FillWithData(&data_blob); in TEST_F() 286 test_utils::FillWithData(&data_blob); in TEST_F() 377 test_utils::FillWithData(&data_blob); in TEST_F() 407 test_utils::FillWithData(&data_blob); in TEST_F() 586 EXPECT_TRUE(test_utils::WriteFileVector(old_part_.path, partition_data)); in TEST_F() 587 EXPECT_TRUE(test_utils::WriteFileVector(new_part_.path, partition_data)); in TEST_F()
|
D | zip_unittest.cc | 33 using chromeos_update_engine::test_utils::kRandomString;
|
D | ab_generator_unittest.cc | 67 test_utils::FillWithData(&part_data); in TestSplitReplaceOrReplaceBzOperation() 220 test_utils::FillWithData(&part_data); in TestMergeReplaceOrReplaceBzOperations() 584 test_utils::FillWithData(&src_data); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | bzip_extent_writer_unittest.cc | 54 test_utils::ScopedTempFile temp_file_{"BzipExtentWriterTest-file.XXXXXX"}; 124 test_utils::ExpectVectorsEq(original_compressed_data, compressed_data); in TEST_F() 129 test_utils::ExpectVectorsEq(decompressed_data, output); in TEST_F()
|
D | extent_writer_unittest.cc | 33 using chromeos_update_engine::test_utils::ExpectVectorsEq; 64 test_utils::ScopedTempFile temp_file_{"ExtentWriterTest-file.XXXXXX"}; 133 test_utils::FillWithData(&data); in WriteAlignedExtents() 185 test_utils::FillWithData(&data); in TestZeroPad() 234 test_utils::FillWithData(&data); in TEST_F()
|
D | filesystem_verifier_action_unittest.cc | 146 test_utils::FillWithData(&a_loop_data); in DoTest() 149 if (!(test_utils::WriteFileVector(a_loop_file, a_loop_data))) { in DoTest() 156 test_utils::ScopedLoopbackDeviceBinder a_dev_releaser( in DoTest() 238 test_utils::ExpectVectorsEq(a_loop_data, a_out); in DoTest() 339 test_utils::CreateExtImageAtPath(img, nullptr); in TEST_F()
|
D | download_action_unittest.cc | 55 using test_utils::ScopedTempFile; 520 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F() 543 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F() 559 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F() 596 if (!test_utils::IsXAttrSupported(FilePath("/tmp"))) { in TEST_F()
|
D | postinstall_runner_action_unittest.cc | 44 using chromeos_update_engine::test_utils::ScopedLoopbackDeviceBinder; 96 postinstall_image_ = test_utils::GetBuildArtifactsPath() in SetUp() 122 test_utils::Readlink(base::StringPrintf( in SuspendRunningAction()
|
D | delta_performer_integration_test.cc | 50 using test_utils::ScopedLoopMounter; 51 using test_utils::System; 52 using test_utils::kRandomString; 252 ASSERT_TRUE(test_utils::WriteFileVector(hash_file, hash)); in SignGeneratedShellPayload() 313 test_utils::CreateExtImageAtPath(state->a_img, nullptr); in GenerateDeltaFile() 392 test_utils::CreateExtImageAtPath(state->b_img, nullptr); in GenerateDeltaFile() 474 test_utils::FillWithData(&state->old_kernel_data); in GenerateDeltaFile() 475 test_utils::FillWithData(&state->new_kernel_data); in GenerateDeltaFile() 476 test_utils::FillWithData(&state->result_kernel_data); in GenerateDeltaFile()
|
D | delta_performer_unittest.cc | 52 using test_utils::System; 53 using test_utils::kRandomString;
|
/system/update_engine/update_manager/ |
D | real_config_provider_unittest.cc | 31 using chromeos_update_engine::test_utils::WriteFileString;
|
/system/update_engine/ |
D | p2p_manager_unittest.cc | 343 if (!test_utils::IsXAttrSupported(base::FilePath("/tmp"))) { in TEST_F() 365 if (!test_utils::IsXAttrSupported(base::FilePath("/tmp"))) { in TEST_F() 391 if (!test_utils::IsXAttrSupported(base::FilePath("/tmp"))) { in TEST_F()
|
D | omaha_response_handler_action_unittest.cc | 32 using chromeos_update_engine::test_utils::System; 33 using chromeos_update_engine::test_utils::WriteFileString;
|
D | omaha_request_params_unittest.cc | 33 using chromeos_update_engine::test_utils::WriteFileString;
|
D | update_engine.gyp | 494 'common/test_utils.cc',
|
D | Android.mk | 835 common/test_utils.cc \
|
D | omaha_request_action_unittest.cc | 54 using chromeos_update_engine::test_utils::System; 55 using chromeos_update_engine::test_utils::WriteFileString;
|
/system/core/base/ |
D | Android.mk | 25 test_utils.cpp \
|
/system/update_engine/common/ |
D | utils_unittest.cc | 199 test_utils::CreateExtImageAtPath(img, nullptr); in TEST() 201 EXPECT_EQ(0, test_utils::System(base::StringPrintf( in TEST() 282 test_utils::ScopedTempFile file; in GetFileFormatTester()
|
D | test_utils.h | 49 namespace test_utils {
|
D | test_utils.cc | 61 namespace test_utils { namespace
|