| Index: mojo/public/bindings/js/test/run_js_tests.cc
|
| diff --git a/mojo/public/bindings/js/test/run_js_tests.cc b/mojo/public/bindings/js/test/run_js_tests.cc
|
| index 00f7574f328487001d7f67636f7ea391a8ab3393..c558547554aeb83267f009406e91e18a1129b169 100644
|
| --- a/mojo/public/bindings/js/test/run_js_tests.cc
|
| +++ b/mojo/public/bindings/js/test/run_js_tests.cc
|
| @@ -45,6 +45,18 @@ TEST(JSTest, codec) {
|
| RunTest("codec_unittests.js");
|
| }
|
|
|
| +TEST(JSTest, sample_test) {
|
| + base::FilePath path;
|
| + PathService::Get(base::DIR_SOURCE_ROOT, &path);
|
| + path = path.AppendASCII("mojo")
|
| + .AppendASCII("public")
|
| + .AppendASCII("bindings")
|
| + .AppendASCII("sample")
|
| + .AppendASCII("sample_test.js");
|
| + TestRunnerDelegate delegate;
|
| + gin::RunTestFromFile(path, &delegate);
|
| +}
|
| +
|
| } // namespace
|
| } // namespace js
|
| } // namespace mojo
|
|
|