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

Unified Diff: update_attempter_unittest.cc

Issue 3404015: AU: move AU completed marker from /tmp to /var/run since /var/run is root-only. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/update_engine.git
Patch Set: Created 10 years, 3 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 | « update_attempter.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_attempter_unittest.cc
diff --git a/update_attempter_unittest.cc b/update_attempter_unittest.cc
index 0a02d1cc9e68c7334e36e58c77623defaa77f593..ed585729920f0b5c10db102e6e588cfe69e9eae5 100644
--- a/update_attempter_unittest.cc
+++ b/update_attempter_unittest.cc
@@ -20,7 +20,7 @@ using testing::Return;
namespace chromeos_update_engine {
// Test a subclass rather than the main class directly so that we can mock out
-// methods within the class. There're explicit unit test for the mocked out
+// methods within the class. There're explicit unit tests for the mocked out
// methods.
class UpdateAttempterUnderTest : public UpdateAttempter {
public:
@@ -52,7 +52,7 @@ class UpdateAttempterTest : public ::testing::Test {
ActionProcessorMock* processor_;
};
-TEST_F(UpdateAttempterTest, ConstructWithUpdatedMarkerTest) {
+TEST_F(UpdateAttempterTest, RunAsRootConstructWithUpdatedMarkerTest) {
extern const char* kUpdateCompletedMarker;
const FilePath kMarker(kUpdateCompletedMarker);
EXPECT_EQ(0, file_util::WriteFile(kMarker, "", 0));
« no previous file with comments | « update_attempter.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698