summaryrefslogtreecommitdiffstats
path: root/rlz/test/rlz_test_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'rlz/test/rlz_test_helpers.h')
-rw-r--r--rlz/test/rlz_test_helpers.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/rlz/test/rlz_test_helpers.h b/rlz/test/rlz_test_helpers.h
index a78764f..ec067fe 100644
--- a/rlz/test/rlz_test_helpers.h
+++ b/rlz/test/rlz_test_helpers.h
@@ -14,20 +14,27 @@
#include "base/files/scoped_temp_dir.h"
#endif
+#if defined(OS_WIN)
+#include "base/test/test_reg_util_win.h"
+#endif
+
class RlzLibTestNoMachineState : public ::testing::Test {
protected:
virtual void SetUp() OVERRIDE;
virtual void TearDown() OVERRIDE;
-
#if defined(OS_POSIX)
- base::ScopedTempDir temp_dir_;
+ base::ScopedTempDir temp_dir_;
+#endif
+
+#if defined(OS_WIN)
+ registry_util::RegistryOverrideManager override_manager_;
#endif
};
class RlzLibTestBase : public RlzLibTestNoMachineState {
+ protected:
virtual void SetUp() OVERRIDE;
};
-
#endif // RLZ_TEST_RLZ_TEST_HELPERS_H