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

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: Created 9 years, 11 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
« utils.cc ('K') | « 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 d8bc866a286f264ce8cf8b727cc70016f40f4fd3..d2a324fb5339509623117bfbfaabccfc34a17a9c 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));
« utils.cc ('K') | « utils.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698