base: Use TEST() macro in Value unittests.
While I'm here:
- Add 'base' namespace to this test file.
- Remove unnecessary typedefs of testing::Test.
BUG=None
TEST=base_unittests
R=evan@chromium.org
Review URL: http://codereview.chromium.org/7275004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90862 0039d316-1c4b-4281-b951-d872f2087c98
CrOS-Libchrome-Original-Commit: 58b916e04fe4cfb95b014af729bd5a509e0953da
diff --git a/base/dir_reader_posix_unittest.cc b/base/dir_reader_posix_unittest.cc
index 04f7243..dd53783 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 @@
EXPECT_EQ(kNumFiles, seen.size());
}
-} // anonymous namespace
+} // namespace base