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

Unified Diff: base/file_descriptor_shuffle_unittest.cc

Issue 7275004: base: Use TEST() macro in Value unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | « base/dir_reader_posix_unittest.cc ('k') | base/values_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_descriptor_shuffle_unittest.cc
diff --git a/base/file_descriptor_shuffle_unittest.cc b/base/file_descriptor_shuffle_unittest.cc
index a4a703a8eb18f34e6eaa9bd759bcac9c398e084e..9b3f9597c649caf09cbe0b7963ec6cc9185c995d 100644
--- a/base/file_descriptor_shuffle_unittest.cc
+++ b/base/file_descriptor_shuffle_unittest.cc
@@ -1,21 +1,18 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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/file_descriptor_shuffle.h"
#include "testing/gtest/include/gtest/gtest.h"
-using base::InjectiveMultimap;
-using base::InjectionArc;
-using base::PerformInjectiveMultimap;
-using base::InjectionDelegate;
-
namespace {
-typedef testing::Test FileDescriptorShuffleTest;
-}
// 'Duplicated' file descriptors start at this number
-static const int kDuplicateBase = 1000;
+const int kDuplicateBase = 1000;
+
+} // namespace
+
+namespace base {
struct Action {
enum Type {
@@ -287,3 +284,5 @@ TEST(FileDescriptorShuffleTest, Simple1WithFailure) {
EXPECT_FALSE(PerformInjectiveMultimap(map, &failing));
}
+
+} // namespace base
« no previous file with comments | « base/dir_reader_posix_unittest.cc ('k') | base/values_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698