OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef GIN_TEST_GTEST_H_ | 5 #ifndef GIN_TEST_GTEST_H_ |
6 #define GIN_TEST_GTEST_H_ | 6 #define GIN_TEST_GTEST_H_ |
7 | 7 |
8 #include "v8/include/v8.h" | 8 #include "v8/include/v8.h" |
9 | 9 |
10 namespace gin { | 10 namespace gin { |
11 | 11 |
12 v8::Local<v8::ObjectTemplate> GetGTestTemplate(v8::Isolate* isolate); | 12 class GTest { |
| 13 public: |
| 14 static const char kModuleName[]; |
| 15 static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate); |
| 16 }; |
13 | 17 |
14 } // namespace gin | 18 } // namespace gin |
15 | 19 |
16 #endif // GIN_TEST_GTEST_H_ | 20 #endif // GIN_TEST_GTEST_H_ |
OLD | NEW |