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

Unified Diff: blimp/helium/revision_generator_unittest.cc

Issue 2402153002: Add CompoundSyncable class for synchronizing containers of Syncables. (Closed)
Patch Set: make literal unsigned Created 4 years, 2 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 | « blimp/helium/result_unittest.cc ('k') | blimp/helium/syncable_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/helium/revision_generator_unittest.cc
diff --git a/blimp/helium/revision_generator_unittest.cc b/blimp/helium/revision_generator_unittest.cc
index e988c8f979cc52d7d934b6ba9bc9ee2f814b64a2..11c19945f34327c71d583b8a996ba9483b81296f 100644
--- a/blimp/helium/revision_generator_unittest.cc
+++ b/blimp/helium/revision_generator_unittest.cc
@@ -11,21 +11,21 @@ namespace blimp {
namespace helium {
namespace {
-using test::HeliumTest;
+class RevisionGeneratorTest : public HeliumTest {};
-TEST_F(HeliumTest, CheckCurrentDoesntIncrease) {
+TEST_F(RevisionGeneratorTest, CheckCurrentDoesntIncrease) {
RevisionGenerator gen;
EXPECT_EQ(0UL, gen.current());
}
-TEST_F(HeliumTest, MonotonicallyIncreasing) {
+TEST_F(RevisionGeneratorTest, MonotonicallyIncreasing) {
RevisionGenerator gen;
EXPECT_EQ(1UL, gen.GetNextRevision());
EXPECT_EQ(2UL, gen.GetNextRevision());
EXPECT_EQ(2UL, gen.current());
}
-TEST_F(HeliumTest, GetNextRevisionCall) {
+TEST_F(RevisionGeneratorTest, GetNextRevisionCall) {
EXPECT_EQ(1UL, GetNextRevision());
EXPECT_EQ(2UL, GetNextRevision());
EXPECT_EQ(2UL, RevisionGenerator::GetInstance()->current());
« no previous file with comments | « blimp/helium/result_unittest.cc ('k') | blimp/helium/syncable_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698