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

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

Issue 2745293005: Moving mojo/validation test into LayoutTests (Closed)
Patch Set: fix nits Created 3 years, 9 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/test/file_runner.h" 10 #include "gin/test/file_runner.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 .AppendASCII(test); 42 .AppendASCII(test);
43 TestRunnerDelegate delegate; 43 TestRunnerDelegate delegate;
44 gin::RunTestFromFile(path, &delegate, run_until_idle); 44 gin::RunTestFromFile(path, &delegate, run_until_idle);
45 } 45 }
46 46
47 // TODO(abarth): Should we autogenerate these stubs from GYP? 47 // TODO(abarth): Should we autogenerate these stubs from GYP?
48 TEST(JSTest, Core) { 48 TEST(JSTest, Core) {
49 RunTest("core_unittest.js", true); 49 RunTest("core_unittest.js", true);
50 } 50 }
51 51
52 TEST(JSTest, Validation) {
53 RunTest("validation_unittest.js", true);
54 }
55
56 } // namespace 52 } // namespace
57 } // namespace js 53 } // namespace js
58 } // namespace edk 54 } // namespace edk
59 } // namespace mojo 55 } // namespace mojo
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698