summaryrefslogtreecommitdiffstats
path: root/gin/test
diff options
context:
space:
mode:
authorabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-20 04:37:05 +0000
committerabarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-11-20 04:37:05 +0000
commite60b3185df0fb6d51c5cc8dd69c16a53912fa91a (patch)
tree2f55acfb1bea5d0e61566d22d4bedb342daf9706 /gin/test
parentc2978932855b0cf74da423df8ef73f35830212de (diff)
downloadchromium_src-e60b3185df0fb6d51c5cc8dd69c16a53912fa91a.zip
chromium_src-e60b3185df0fb6d51c5cc8dd69c16a53912fa91a.tar.gz
chromium_src-e60b3185df0fb6d51c5cc8dd69c16a53912fa91a.tar.bz2
Mojo's C++ and JavaScript bindings should produce identical messages
After this CL, the JavaScript and C++ bindings produce identical binary messages for the test_sample "frobinate" workload. BUG=317398 Review URL: https://codereview.chromium.org/63033010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@236147 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/test')
-rw-r--r--gin/test/file_runner.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gin/test/file_runner.cc b/gin/test/file_runner.cc
index e6b4256..e26d1d1 100644
--- a/gin/test/file_runner.cc
+++ b/gin/test/file_runner.cc
@@ -9,6 +9,7 @@
#include "base/path_service.h"
#include "gin/converter.h"
#include "gin/gin.h"
+#include "gin/modules/console.h"
#include "gin/modules/module_registry.h"
#include "gin/test/gtest.h"
#include "gin/try_catch.h"
@@ -28,6 +29,7 @@ base::FilePath GetModuleBase() {
FileRunnerDelegate::FileRunnerDelegate()
: ModuleRunnerDelegate(GetModuleBase()) {
+ AddBuiltinModule(Console::kModuleName, Console::GetTemplate);
AddBuiltinModule(GTest::kModuleName, GTest::GetTemplate);
}