Roll src/third_party/WebKit 9f7fb92:f103b33 (svn 202621:202622)
[chromium-blink-merge.git] / gin / test / gtest.h
blob8f4332d09e8a2c96fca58d21d6f0ddf6cb4b355f
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
3 // found in the LICENSE file.
5 #ifndef GIN_TEST_GTEST_H_
6 #define GIN_TEST_GTEST_H_
8 #include "v8/include/v8.h"
10 namespace gin {
12 // This module provides bindings to gtest. Most tests should use an idiomatic
13 // JavaScript testing API, but this module is available for tests that need a
14 // low-level integration with gtest.
15 class GTest {
16 public:
17 static const char kModuleName[];
18 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
21 } // namespace gin
23 #endif // GIN_TEST_GTEST_H_