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

Unified Diff: gin/test/run_js_tests.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
« gin/test/file.cc ('K') | « gin/test/file_unittests.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gin/test/run_js_tests.cc
diff --git a/gin/test/run_js_tests.cc b/gin/test/run_js_tests.cc
index 0b7c41a65aaee4cfffa68c54c43d8942b06e976a..f02c0f8b8e6b1a74ced6af639f26c54b5c7bece3 100644
--- a/gin/test/run_js_tests.cc
+++ b/gin/test/run_js_tests.cc
@@ -21,6 +21,12 @@ void RunTest(const base::FilePath& path) {
RunTestFromFile(path, &delegate);
}
+TEST(JSTest, File) {
+ RunTest(BasePath()
+ .AppendASCII("test")
+ .AppendASCII("file_unittests.js"));
+}
+
TEST(JSTest, GTest) {
RunTest(BasePath()
.AppendASCII("test")
« gin/test/file.cc ('K') | « gin/test/file_unittests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698