| 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 // Helper functions used by the tests. | 5 // Helper functions used by the tests. |
| 6 | 6 |
| 7 #ifndef RLZ_TEST_RLZ_TEST_HELPERS_H | 7 #ifndef RLZ_TEST_RLZ_TEST_HELPERS_H |
| 8 #define RLZ_TEST_RLZ_TEST_HELPERS_H | 8 #define RLZ_TEST_RLZ_TEST_HELPERS_H |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "build/build_config.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 13 |
| 13 #if defined(OS_POSIX) | 14 #if defined(OS_POSIX) |
| 14 #include "base/files/scoped_temp_dir.h" | 15 #include "base/files/scoped_temp_dir.h" |
| 15 #endif | 16 #endif |
| 16 | 17 |
| 17 #if defined(OS_WIN) | 18 #if defined(OS_WIN) |
| 18 #include "base/test/test_reg_util_win.h" | 19 #include "base/test/test_reg_util_win.h" |
| 19 #endif | 20 #endif |
| 20 | 21 |
| (...skipping 23 matching lines...) Expand all Loading... |
| 44 }; | 45 }; |
| 45 | 46 |
| 46 class RlzLibTestBase : public RlzLibTestNoMachineState { | 47 class RlzLibTestBase : public RlzLibTestNoMachineState { |
| 47 protected: | 48 protected: |
| 48 void SetUp() override; | 49 void SetUp() override; |
| 49 | 50 |
| 50 RlzLibTestNoMachineStateHelper m_rlz_test_helper_; | 51 RlzLibTestNoMachineStateHelper m_rlz_test_helper_; |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 #endif // RLZ_TEST_RLZ_TEST_HELPERS_H | 54 #endif // RLZ_TEST_RLZ_TEST_HELPERS_H |
| OLD | NEW |