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

Unified Diff: base/dir_reader_posix_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 | « no previous file | base/file_descriptor_shuffle_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/dir_reader_posix_unittest.cc
diff --git a/base/dir_reader_posix_unittest.cc b/base/dir_reader_posix_unittest.cc
index 04f7243fc274b1b37b9cc8387b34005a7e94fbaa..dd5378375b62b4209a4e5eb81f12854ee0a61ffc 100644
--- a/base/dir_reader_posix_unittest.cc
+++ b/base/dir_reader_posix_unittest.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 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.
@@ -13,10 +13,7 @@
#include "base/logging.h"
#include "testing/gtest/include/gtest/gtest.h"
-using base::DirReaderPosix;
-
-namespace {
-typedef testing::Test DirReaderPosixUnittest;
+namespace base {
TEST(DirReaderPosixUnittest, Read) {
static const unsigned kNumFiles = 100;
@@ -88,4 +85,4 @@ TEST(DirReaderPosixUnittest, Read) {
EXPECT_EQ(kNumFiles, seen.size());
}
-} // anonymous namespace
+} // namespace base
« no previous file with comments | « no previous file | base/file_descriptor_shuffle_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698