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

Unified Diff: make_tests.cc

Issue 6598074: DoAutomaticFreeDiskSpaceControl() introduced (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/cryptohome.git@master
Patch Set: Created 9 years, 10 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 | « interface.cc ('k') | mock_platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: make_tests.cc
diff --git a/make_tests.cc b/make_tests.cc
index a94f6b8c2c52bdd26239ca55ccb82f0b4a7c224e..c29f55cff6580736cfeeb413551cc409a7d14808 100644
--- a/make_tests.cc
+++ b/make_tests.cc
@@ -45,15 +45,15 @@ const TestUserInfo kDefaultUsers[] = {
{"testuser11@invalid.domain", "eleven", true, false},
{"testuser12@invalid.domain", "twelve", false, false},
};
-const size_t kDefaultUserCount =
- sizeof(kDefaultUsers) / sizeof(kDefaultUsers[0]);
+const size_t kDefaultUserCount = arraysize(kDefaultUsers);
+// Used for tracking directories clean-up tests.
const TestUserInfo kAlternateUsers[] = {
{"altuser0@invalid.domain", "zero", true, false},
{"altuser1@invalid.domain", "odin", true, false},
+ {"altuser2@invalid.domain", "dwaa", true, false},
};
-const size_t kAlternateUserCount =
- sizeof(kAlternateUsers) / sizeof(kAlternateUsers[0]);
+const size_t kAlternateUserCount = arraysize(kAlternateUsers);
MakeTests::MakeTests() {
}
« no previous file with comments | « interface.cc ('k') | mock_platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698