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

Unified Diff: gin/test/file_runner.cc

Issue 419673004: gin test - add simple file access for JS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add null return tests for no-args and non-existant paths Created 6 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: gin/test/file_runner.cc
diff --git a/gin/test/file_runner.cc b/gin/test/file_runner.cc
index c2d351062fb1b09860cdfa664e1e0a4eb60dce67..82b55ade05c3a1ad42f2670395ccd98335a9804c 100644
--- a/gin/test/file_runner.cc
+++ b/gin/test/file_runner.cc
@@ -12,6 +12,7 @@
#include "gin/modules/module_registry.h"
#include "gin/public/context_holder.h"
#include "gin/public/isolate_holder.h"
+#include "gin/test/file.h"
#include "gin/test/gc.h"
#include "gin/test/gtest.h"
#include "gin/try_catch.h"
@@ -36,6 +37,7 @@ FileRunnerDelegate::FileRunnerDelegate()
AddBuiltinModule(Console::kModuleName, Console::GetModule);
AddBuiltinModule(GTest::kModuleName, GTest::GetModule);
AddBuiltinModule(GC::kModuleName, GC::GetModule);
+ AddBuiltinModule(File::kModuleName, File::GetModule);
}
FileRunnerDelegate::~FileRunnerDelegate() {
« gin/test/file.cc ('K') | « gin/test/file.cc ('k') | gin/test/file_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698