Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(544)

Unified Diff: components/update_client/component_unpacker_unittest.cc

Issue 2874503002: Refactor CRX verification in preparation to support CRX₃ files. (Closed)
Patch Set: through #51 Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/update_client/component_unpacker.cc ('k') | components/update_client/update_client_errors.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/update_client/component_unpacker_unittest.cc
diff --git a/components/update_client/component_unpacker_unittest.cc b/components/update_client/component_unpacker_unittest.cc
index f98691389b75752decb6f7ca97fdc97b32b200bb..843ae997444802b183c4044cade9603f99263b42 100644
--- a/components/update_client/component_unpacker_unittest.cc
+++ b/components/update_client/component_unpacker_unittest.cc
@@ -159,7 +159,7 @@ TEST_F(ComponentUnpackerTest, UnpackFileHashMismatch) {
base::Unretained(this)));
RunThreads();
- EXPECT_EQ(UnpackerError::kInvalidId, result_.error);
+ EXPECT_EQ(UnpackerError::kInvalidFile, result_.error);
EXPECT_EQ(0, result_.extended_error);
EXPECT_TRUE(result_.unpack_path.empty());
« no previous file with comments | « components/update_client/component_unpacker.cc ('k') | components/update_client/update_client_errors.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698