OLD | NEW |
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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 rlz_lib::testing::SetRlzStoreDirectory(FilePath()); | 77 rlz_lib::testing::SetRlzStoreDirectory(FilePath()); |
78 #endif // defined(OS_WIN) | 78 #endif // defined(OS_WIN) |
79 } | 79 } |
80 | 80 |
81 void RlzLibTestBase::SetUp() { | 81 void RlzLibTestBase::SetUp() { |
82 RlzLibTestNoMachineState::SetUp(); | 82 RlzLibTestNoMachineState::SetUp(); |
83 #if defined(OS_WIN) | 83 #if defined(OS_WIN) |
84 rlz_lib::CreateMachineState(); | 84 rlz_lib::CreateMachineState(); |
85 #endif // defined(OS_WIN) | 85 #endif // defined(OS_WIN) |
86 } | 86 } |
OLD | NEW |