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

Side by Side Diff: pkg/dev_compiler/test-main.js

Issue 2413073002: Start cleaning up the HTML tests. (Closed)
Patch Set: Unfork expect.dart. Created 4 years, 2 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 var allTestFiles = []; 1 var allTestFiles = [];
2 var TEST_REGEXP = /(_test|_multi)\.js$/i; 2 var TEST_REGEXP = /(_test|_multi)\.js$/i;
3 3
4 var pathToModule = function(path) { 4 var pathToModule = function(path) {
5 return path.replace(/^\/base\//, '').replace(/\.js$/, ''); 5 return path.replace(/^\/base\//, '').replace(/\.js$/, '');
6 }; 6 };
7 7
8 var testsToSkip = [ 8 var testsToSkip = [
9 // syntax error in DDC's generated code: 9 // syntax error in DDC's generated code:
10 '/base/gen/codegen_output/language/execute_finally6_test.js', 10 '/base/gen/codegen_output/language/execute_finally6_test.js',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // Travis bots take a bit longer to load all ~2k test files. 46 // Travis bots take a bit longer to load all ~2k test files.
47 waitSeconds: 30, 47 waitSeconds: 30,
48 48
49 paths: { 49 paths: {
50 dart_sdk: 'lib/js/amd/dart_sdk', 50 dart_sdk: 'lib/js/amd/dart_sdk',
51 async_helper: 'gen/codegen_output/pkg/async_helper', 51 async_helper: 'gen/codegen_output/pkg/async_helper',
52 expect: 'gen/codegen_output/pkg/expect', 52 expect: 'gen/codegen_output/pkg/expect',
53 js: 'gen/codegen_output/pkg/js', 53 js: 'gen/codegen_output/pkg/js',
54 matcher: 'gen/codegen_output/pkg/matcher', 54 matcher: 'gen/codegen_output/pkg/matcher',
55 minitest: 'gen/codegen_output/pkg/minitest',
55 path: 'gen/codegen_output/pkg/path', 56 path: 'gen/codegen_output/pkg/path',
56 stack_trace: 'gen/codegen_output/pkg/stack_trace', 57 stack_trace: 'gen/codegen_output/pkg/stack_trace',
57 unittest: 'gen/codegen_output/pkg/unittest', 58 unittest: 'gen/codegen_output/pkg/unittest',
58 }, 59 },
59 60
60 // Require all test files before starting tests. 61 // Require all test files before starting tests.
61 deps: allTestFiles, 62 deps: allTestFiles,
62 63
63 // We have to kickoff jasmine, as it is asynchronous 64 // We have to kickoff jasmine, as it is asynchronous
64 callback: window.__karma__.start 65 callback: window.__karma__.start
65 }); 66 });
OLDNEW
« no previous file with comments | « pkg/dev_compiler/lib/src/compiler/code_generator.dart ('k') | pkg/dev_compiler/test/browser/language_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698