Chromium Code Reviews| Index: chrome/installer/gcapi/gcapi_registry_overriding_test.h |
| diff --git a/chrome/installer/gcapi/gcapi_registry_overriding_test.h b/chrome/installer/gcapi/gcapi_registry_overriding_test.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..bbeacd566d6dfe1592bade4ac97f5ecf2f34a079 |
| --- /dev/null |
| +++ b/chrome/installer/gcapi/gcapi_registry_overriding_test.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2013 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. |
| + |
| +#ifndef CHROME_INSTALLER_GCAPI_GCAPI_REGISTRY_OVERRIDING_TEST_H_ |
| +#define CHROME_INSTALLER_GCAPI_GCAPI_REGISTRY_OVERRIDING_TEST_H_ |
| + |
| +#include "base/compiler_specific.h" |
| +#include "base/test/test_reg_util_win.h" |
| +#include "testing/gtest/include/gtest/gtest.h" |
| + |
| +// A test fixture for GCAPI tests overriding the registry. |
| +class GCAPIRegistryOverridingTest : public ::testing::Test { |
|
Alexei Svitkine (slow)
2013/09/03 15:46:35
Instead of exposing a test base class for this, co
gab
2013/11/05 22:20:38
Done.
|
| + protected: |
| + void SetUp() OVERRIDE; |
|
Alexei Svitkine (slow)
2013/09/03 15:46:35
Declare ctor and destructor explicitly and define
gab
2013/11/05 22:20:38
Done.
|
| + |
| + private: |
| + registry_util::RegistryOverrideManager override_manager_; |
| +}; |
|
Alexei Svitkine (slow)
2013/09/03 15:46:35
DISALLOW_COPY_AND_ASSIGN?
gab
2013/11/05 22:20:38
Done.
|
| + |
| +#endif // CHROME_INSTALLER_GCAPI_GCAPI_REGISTRY_OVERRIDING_TEST_H_ |