Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: gin/test/gtest.h

Issue 120043008: Add a simple one shot and repeating timer API for Mojo.js. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 // This module provides bindings to gtest. Most tests should use an idiomatic 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 13 // JavaScript testing API, but this module is available for tests that need a
14 // low-level integration with gtest. 14 // low-level integration with gtest.
15 class GTest { 15 class GTest {
16 public: 16 public:
17 static const char kModuleName[]; 17 static const char kModuleName[];
18 static v8::Local<v8::ObjectTemplate> GetTemplate(v8::Isolate* isolate); 18 static v8::Local<v8::Value> GetModule(v8::Isolate* isolate);
19 }; 19 };
20 20
21 } // namespace gin 21 } // namespace gin
22 22
23 #endif // GIN_TEST_GTEST_H_ 23 #endif // GIN_TEST_GTEST_H_
OLDNEW
« gin/runner.cc ('K') | « gin/test/file_runner.cc ('k') | gin/test/gtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698