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

Side by Side Diff: tools/testing/dart/test_suite.dart

Issue 9232062: Add closing paren. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #library("test_suite"); 5 #library("test_suite");
6 6
7 #import("dart:io"); 7 #import("dart:io");
8 #import("status_file_parser.dart"); 8 #import("status_file_parser.dart");
9 #import("test_runner.dart"); 9 #import("test_runner.dart");
10 #import("multitest.dart"); 10 #import("multitest.dart");
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
851 String testRelativePath = 851 String testRelativePath =
852 filename.substring(index + 'compiler/javatests/'.length, 852 filename.substring(index + 'compiler/javatests/'.length,
853 filename.length - '.java'.length); 853 filename.length - '.java'.length);
854 String testClass = testRelativePath.replaceAll('/', '.'); 854 String testClass = testRelativePath.replaceAll('/', '.');
855 testClasses.add(testClass); 855 testClasses.add(testClass);
856 } 856 }
857 } 857 }
858 858
859 void createTest(successIgnored) { 859 void createTest(successIgnored) {
860 String d8 = 860 String d8 =
861 "$buildDir/d8${TestUtils.executableSuffix(configuration['component']}"; 861 "$buildDir/d8${TestUtils.executableSuffix(configuration['component'])}";
862 List<String> args = <String>[ 862 List<String> args = <String>[
863 '-ea', 863 '-ea',
864 '-classpath', classPath, 864 '-classpath', classPath,
865 '-Dcom.google.dart.runner.d8=$d8', 865 '-Dcom.google.dart.runner.d8=$d8',
866 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py', 866 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py',
867 'org.junit.runner.JUnitCore']; 867 'org.junit.runner.JUnitCore'];
868 args.addAll(testClasses); 868 args.addAll(testClasses);
869 869
870 doTest(new TestCase(suiteName, 870 doTest(new TestCase(suiteName,
871 'java', 871 'java',
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
1059 * $noCrash tests are expected to be flaky but not crash 1059 * $noCrash tests are expected to be flaky but not crash
1060 * $pass tests are expected to pass 1060 * $pass tests are expected to pass
1061 * $failOk tests are expected to fail that we won't fix 1061 * $failOk tests are expected to fail that we won't fix
1062 * $fail tests are expected to fail that we should fix 1062 * $fail tests are expected to fail that we should fix
1063 * $crash tests are expected to crash that we should fix 1063 * $crash tests are expected to crash that we should fix
1064 * $timeout tests are allowed to timeout 1064 * $timeout tests are allowed to timeout
1065 """; 1065 """;
1066 print(report); 1066 print(report);
1067 } 1067 }
1068 } 1068 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698