/system/update_engine/payload_generator/ |
D | payload_signer_unittest.cc | 35 using chromeos_update_engine::test_utils::GetBuildArtifactsPath; 106 SignSampleData(&signature, {GetBuildArtifactsPath(kUnittestPrivateKeyPath)}); in TEST_F() 123 {GetBuildArtifactsPath(kUnittestPrivateKeyPath), in TEST_F() 124 GetBuildArtifactsPath(kUnittestPrivateKey2Path), in TEST_F() 125 GetBuildArtifactsPath(kUnittestPrivateKeyRSA4096Path), in TEST_F() 126 GetBuildArtifactsPath(kUnittestPrivateKeyECPath)}); in TEST_F() 134 EXPECT_TRUE(utils::ReadFile(GetBuildArtifactsPath(path), &public_key)); in TEST_F() 143 SignSampleData(&signature, {GetBuildArtifactsPath(kUnittestPrivateKeyPath)}); in TEST_F() 146 EXPECT_TRUE(utils::ReadFile(GetBuildArtifactsPath(kUnittestPublicKeyPath), in TEST_F() 154 EXPECT_TRUE(utils::ReadFile(GetBuildArtifactsPath(kUnittestPublicKey2Path), in TEST_F() [all …]
|
D | erofs_filesystem_unittest.cc | 48 using test_utils::GetBuildArtifactsPath; 63 GetBuildArtifactsPath("gen/erofs_empty.img")); in TEST_F() 77 const auto build_path = GetBuildArtifactsPath("gen/erofs.img"); in TEST_F()
|
D | ext2_filesystem_unittest.cc | 37 using chromeos_update_engine::test_utils::GetBuildArtifactsPath; 77 GetBuildArtifactsPath("gen/disk_ext2_4k_empty.img")); in TEST_F() 103 base::FilePath build_path = GetBuildArtifactsPath().Append("gen"); in TEST_F()
|
D | squashfs_filesystem_unittest.cc | 46 using test_utils::GetBuildArtifactsPath; 115 GetBuildArtifactsPath("gen/disk_sqfs_empty.img"), true, false); in TEST_F() 136 GetBuildArtifactsPath("gen/disk_sqfs_default.img"), true, false); in TEST_F() 154 GetBuildArtifactsPath("gen/disk_sqfs_unittest.img"), true, true); in TEST_F()
|
D | zip_unittest.cc | 165 string path = test_utils::GetBuildArtifactsPath("delta_generator"); in TYPED_TEST()
|
D | merge_sequence_generator_unittest.cc | 31 using test_utils::GetBuildArtifactsPath; 417 GetBuildArtifactsPath("testdata/cycle_nodes_product_no_xor.bin"); in TEST_F()
|
D | delta_diff_utils_unittest.cc | 682 test_utils::GetBuildArtifactsPath("gen/disk_ext2_1k.img"))); in TEST_F() 684 test_utils::GetBuildArtifactsPath("gen/disk_ext2_4k.img"))); in TEST_F()
|
/system/update_engine/payload_consumer/ |
D | certificate_parser_android_unittest.cc | 37 test_utils::GetBuildArtifactsPath(kUnittestOtacertsPath); in TEST() 52 test_utils::GetBuildArtifactsPath(kUnittestPrivateKeyPath), in TEST() 56 test_utils::GetBuildArtifactsPath(kUnittestOtacertsPath)); in TEST()
|
D | delta_performer_integration_test.cc | 59 using test_utils::GetBuildArtifactsPath; 222 string private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedPayload() 241 payload_path, GetBuildArtifactsPath(kUnittestPublicKeyPath))); in SignGeneratedPayload() 259 string delta_generator_path = GetBuildArtifactsPath("delta_generator"); in SignGeneratedShellPayloadWithKeys() 339 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyECPath); in SignGeneratedShellPayload() 341 private_key_path = GetBuildArtifactsPath(kUnittestPrivateKeyPath); in SignGeneratedShellPayload() 370 GetBuildArtifactsPath(kUnittestPrivateKey2Path)); in SignGeneratedShellPayload() 375 public_key = GetBuildArtifactsPath(kUnittestPublicKey2Path); in SignGeneratedShellPayload() 377 public_key = GetBuildArtifactsPath(kUnittestPublicKeyECPath); in SignGeneratedShellPayload() 379 public_key = GetBuildArtifactsPath(kUnittestPublicKeyPath); in SignGeneratedShellPayload() [all …]
|
D | delta_performer_unittest.cc | 63 using test_utils::GetBuildArtifactsPath; 168 string public_key_path = GetBuildArtifactsPath(kUnittestPublicKeyPath); in SetUp() 242 sign_payload ? GetBuildArtifactsPath(kUnittestPrivateKeyPath) : ""; in GeneratePayload() 403 GetBuildArtifactsPath(kUnittestPrivateKeyPath), in DoMetadataSignatureTest() 1075 EXPECT_TRUE(store.Load(GetBuildArtifactsPath().Append("update_engine.conf"))); in TEST()
|
D | postinstall_runner_action_unittest.cc | 98 test_utils::GetBuildArtifactsPath("gen/disk_ext2_unittest.img"); in SetUp()
|
/system/update_engine/lz4diff/ |
D | lz4diff_unittest.cc | 50 using test_utils::GetBuildArtifactsPath; 56 const auto old_img = GetBuildArtifactsPath("gen/erofs.img"); in TEST_F() 57 const auto new_img = GetBuildArtifactsPath("gen/erofs_new.img"); in TEST_F()
|
D | lz4diff_compress_unittest.cc | 74 using test_utils::GetBuildArtifactsPath; 80 const auto build_path = GetBuildArtifactsPath("gen/erofs.img"); in TEST_F()
|
/system/update_engine/common/ |
D | test_utils.cc | 254 base::FilePath GetBuildArtifactsPath() { in GetBuildArtifactsPath() function 260 string GetBuildArtifactsPath(const string& relative_path) { in GetBuildArtifactsPath() function 261 return GetBuildArtifactsPath().Append(relative_path).value(); in GetBuildArtifactsPath()
|
D | test_utils.h | 154 base::FilePath GetBuildArtifactsPath(); 156 std::string GetBuildArtifactsPath(const std::string& relative_path);
|
D | subprocess_unittest.cc | 191 test_utils::GetBuildArtifactsPath("test_subprocess"), in TEST_F()
|
D | utils_unittest.cc | 380 test_utils::GetBuildArtifactsPath().Append("gen/disk_ext2_4k.img"), in TEST()
|
D | http_fetcher_unittest.cc | 126 http_server->AddArg(test_utils::GetBuildArtifactsPath("test_http_server")); in PythonHttpServer()
|
/system/update_engine/aosp/ |
D | update_attempter_android_integration_test.cc | 112 test_utils::GetBuildArtifactsPath(kUnittestOTACertsPath)); in SetUp() 272 test_utils::GetBuildArtifactsPath(kUnittestPrivateKeyPath); in ApplyPayload()
|
/system/update_engine/ |
D | download_action_android_unittest.cc | 111 test_utils::GetBuildArtifactsPath(kUnittestPrivateKeyPath); in TEST_F()
|