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

Side by Side Diff: mojo/edk/js/tests/run_js_unittests.cc

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: test file contents Created 3 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "base/files/file_path.h" 5 #include "base/files/file_path.h"
6 #include "base/macros.h" 6 #include "base/macros.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "gin/modules/console.h" 8 #include "gin/modules/console.h"
9 #include "gin/modules/module_registry.h" 9 #include "gin/modules/module_registry.h"
10 #include "gin/modules/timer.h" 10 #include "gin/modules/timer.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 .AppendASCII(test); 44 .AppendASCII(test);
45 TestRunnerDelegate delegate; 45 TestRunnerDelegate delegate;
46 gin::RunTestFromFile(path, &delegate, run_until_idle); 46 gin::RunTestFromFile(path, &delegate, run_until_idle);
47 } 47 }
48 48
49 // TODO(abarth): Should we autogenerate these stubs from GYP? 49 // TODO(abarth): Should we autogenerate these stubs from GYP?
50 TEST(JSTest, Core) { 50 TEST(JSTest, Core) {
51 RunTest("core_unittest.js", true); 51 RunTest("core_unittest.js", true);
52 } 52 }
53 53
54 TEST(JSTest, Validation) {
55 RunTest("validation_unittest.js", true);
56 }
57
58 } // namespace 54 } // namespace
59 } // namespace js 55 } // namespace js
60 } // namespace edk 56 } // namespace edk
61 } // namespace mojo 57 } // namespace mojo
OLDNEW
« no previous file with comments | « content/shell/renderer/layout_test/blink_test_runner.cc ('k') | mojo/public/interfaces/bindings/tests/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698