Chromium Code Reviews

Unified Diff: utils_unittest.cc

Issue 6098008: AU: Include a bit flag (bit 31) in error codes to indicate non-normal boot mode. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git@master
Patch Set: review Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « utils.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils_unittest.cc
diff --git a/utils_unittest.cc b/utils_unittest.cc
index 185ab9a42824e4e14d42a801b22d31c8224ac819..0fda08f51332a68de01dac8b204e66d2aa131578 100644
--- a/utils_unittest.cc
+++ b/utils_unittest.cc
@@ -29,6 +29,11 @@ TEST(UtilsTest, IsOfficialBuild) {
EXPECT_TRUE(utils::IsOfficialBuild());
}
+TEST(UtilsTest, IsNormalBootMode) {
+ // Pretty lame test...
+ EXPECT_FALSE(utils::IsNormalBootMode());
+}
+
TEST(UtilsTest, NormalizePathTest) {
EXPECT_EQ("", utils::NormalizePath("", false));
EXPECT_EQ("", utils::NormalizePath("", true));
« no previous file with comments | « utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine