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

Side by Side Diff: rlz/test/rlz_test_helpers.cc

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « rlz/mac/lib/rlz_value_store_mac.mm ('k') | sandbox/linux/services/broker_process_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Main entry point for all unit tests. 5 // Main entry point for all unit tests.
6 6
7 #include "rlz_test_helpers.h" 7 #include "rlz_test_helpers.h"
8 8
9 #include "rlz/lib/rlz_lib.h" 9 #include "rlz/lib/rlz_lib.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 #if defined(OS_POSIX) 68 #if defined(OS_POSIX)
69 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir()); 69 ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
70 rlz_lib::testing::SetRlzStoreDirectory(temp_dir_.path()); 70 rlz_lib::testing::SetRlzStoreDirectory(temp_dir_.path());
71 #endif // defined(OS_POSIX) 71 #endif // defined(OS_POSIX)
72 } 72 }
73 73
74 void RlzLibTestNoMachineState::TearDown() { 74 void RlzLibTestNoMachineState::TearDown() {
75 #if defined(OS_WIN) 75 #if defined(OS_WIN)
76 UndoOverrideRegistryHives(); 76 UndoOverrideRegistryHives();
77 #elif defined(OS_POSIX) 77 #elif defined(OS_POSIX)
78 rlz_lib::testing::SetRlzStoreDirectory(FilePath()); 78 rlz_lib::testing::SetRlzStoreDirectory(base::FilePath());
79 #endif // defined(OS_WIN) 79 #endif // defined(OS_WIN)
80 } 80 }
81 81
82 void RlzLibTestBase::SetUp() { 82 void RlzLibTestBase::SetUp() {
83 RlzLibTestNoMachineState::SetUp(); 83 RlzLibTestNoMachineState::SetUp();
84 #if defined(OS_WIN) 84 #if defined(OS_WIN)
85 rlz_lib::CreateMachineState(); 85 rlz_lib::CreateMachineState();
86 #endif // defined(OS_WIN) 86 #endif // defined(OS_WIN)
87 } 87 }
OLDNEW
« no previous file with comments | « rlz/mac/lib/rlz_value_store_mac.mm ('k') | sandbox/linux/services/broker_process_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698