OLD | NEW |
| (Empty) |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_COMMON_EXTENSIONS_EXTENSION_UNITTEST_H_ | |
6 #define CHROME_COMMON_EXTENSIONS_EXTENSION_UNITTEST_H_ | |
7 | |
8 #include "base/compiler_specific.h" | |
9 #include "chrome/common/extensions/permissions/scoped_testing_permissions_info.h
" | |
10 #include "testing/gtest/include/gtest/gtest.h" | |
11 | |
12 namespace extensions { | |
13 | |
14 // A base class for extension unit tests that sets up permissions and | |
15 // universally useful manifest handlers. | |
16 class ExtensionTest : public testing::Test { | |
17 public: | |
18 ExtensionTest(); | |
19 | |
20 protected: | |
21 virtual void SetUp() OVERRIDE; | |
22 | |
23 virtual void TearDown() OVERRIDE; | |
24 | |
25 ScopedTestingPermissionsInfo permissions_info_; | |
26 }; | |
27 | |
28 } // namespace extensions | |
29 | |
30 #endif // CHROME_COMMON_EXTENSIONS_EXTENSION_UNITTEST_H_ | |
OLD | NEW |