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

Unified Diff: blimp/helium/revision_generator_unittest.cc

Issue 2602103002: Delete blimp/helium and remove references to it from dependent targets (Closed)
Patch Set: . Created 4 years 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/revision_generator.cc ('k') | blimp/helium/serializable.h » ('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
deleted file mode 100644
index 11c19945f34327c71d583b8a996ba9483b81296f..0000000000000000000000000000000000000000
--- a/blimp/helium/revision_generator_unittest.cc
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "base/macros.h"
-#include "blimp/helium/helium_test.h"
-#include "blimp/helium/revision_generator.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-namespace blimp {
-namespace helium {
-namespace {
-
-class RevisionGeneratorTest : public HeliumTest {};
-
-TEST_F(RevisionGeneratorTest, CheckCurrentDoesntIncrease) {
- RevisionGenerator gen;
- EXPECT_EQ(0UL, gen.current());
-}
-
-TEST_F(RevisionGeneratorTest, MonotonicallyIncreasing) {
- RevisionGenerator gen;
- EXPECT_EQ(1UL, gen.GetNextRevision());
- EXPECT_EQ(2UL, gen.GetNextRevision());
- EXPECT_EQ(2UL, gen.current());
-}
-
-TEST_F(RevisionGeneratorTest, GetNextRevisionCall) {
- EXPECT_EQ(1UL, GetNextRevision());
- EXPECT_EQ(2UL, GetNextRevision());
- EXPECT_EQ(2UL, RevisionGenerator::GetInstance()->current());
-}
-
-} // namespace
-} // namespace helium
-} // namespace blimp
« no previous file with comments | « blimp/helium/revision_generator.cc ('k') | blimp/helium/serializable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698