Index: base/i18n/file_util_icu_unittest.cc |
diff --git a/base/i18n/file_util_icu_unittest.cc b/base/i18n/file_util_icu_unittest.cc |
index 1da8a934c83f0c65ce7c0423a9d594e1a2cc5d77..c7f9c5118834adacc626a4205153166eb5f0a0f2 100644 |
--- a/base/i18n/file_util_icu_unittest.cc |
+++ b/base/i18n/file_util_icu_unittest.cc |
@@ -1,11 +1,10 @@ |
-// 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/i18n/file_util_icu.h" |
#include "base/file_util.h" |
-#include "base/path_service.h" |
#include "base/utf_string_conversions.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "testing/platform_test.h" |
@@ -16,23 +15,10 @@ class FileUtilICUTest : public PlatformTest { |
protected: |
virtual void SetUp() { |
PlatformTest::SetUp(); |
- // Name a subdirectory of the temp directory. |
- ASSERT_TRUE(PathService::Get(base::DIR_TEMP, &test_dir_)); |
- test_dir_ = test_dir_.Append(FILE_PATH_LITERAL("FileUtilTest")); |
- |
- // Create a fresh, empty copy of this directory. |
- file_util::Delete(test_dir_, true); |
- file_util::CreateDirectory(test_dir_); |
} |
virtual void TearDown() { |
PlatformTest::TearDown(); |
- // Clean up test directory |
- ASSERT_TRUE(file_util::Delete(test_dir_, true)); |
- ASSERT_FALSE(file_util::PathExists(test_dir_)); |
} |
- |
- // the path to temporary directory used to contain the test operations |
- FilePath test_dir_; |
}; |
#if defined(OS_POSIX) && !defined(OS_MACOSX) |