Home | History | Annotate | Download | only in test
      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.
      4 
      5 #ifndef GIN_TEST_GTEST_H_
      6 #define GIN_TEST_GTEST_H_
      7 
      8 #include "v8/include/v8.h"
      9 
     10 namespace gin {
     11 
     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);
     19 };
     20 
     21 }  // namespace gin
     22 
     23 #endif  // GIN_TEST_GTEST_H_
     24