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

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

Issue 9072006: Fix tools/test.dart dartc/junit_tests callback type error. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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("status_file_parser.dart"); 7 #import("status_file_parser.dart");
8 #import("test_runner.dart"); 8 #import("test_runner.dart");
9 #import("multitest.dart"); 9 #import("multitest.dart");
10 10
(...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after
857 '-classpath', classPath, 857 '-classpath', classPath,
858 '-Dcom.google.dart.runner.d8=$d8', 858 '-Dcom.google.dart.runner.d8=$d8',
859 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py', 859 '-Dcom.google.dart.corelib.SharedTests.test_py=$dartDir/tools/test.py',
860 'org.junit.runner.JUnitCore']; 860 'org.junit.runner.JUnitCore'];
861 args.addAll(testClasses); 861 args.addAll(testClasses);
862 862
863 doTest(new TestCase(suiteName, 863 doTest(new TestCase(suiteName,
864 'java', 864 'java',
865 args, 865 args,
866 configuration, 866 configuration,
867 (){}, 867 completeHandler,
868 new Set<String>.from([PASS]))); 868 new Set<String>.from([PASS])));
869 doDone(); 869 doDone();
870 } 870 }
871 871
872 void completeHandler(TestCase testCase) {
873 }
874
872 void computeClassPath() { 875 void computeClassPath() {
873 classPath = Strings.join( 876 classPath = Strings.join(
874 ['$buildDir/compiler/lib/dartc.jar', 877 ['$buildDir/compiler/lib/dartc.jar',
875 '$buildDir/compiler/lib/corelib.jar', 878 '$buildDir/compiler/lib/corelib.jar',
876 '$buildDir/compiler-tests.jar', 879 '$buildDir/compiler-tests.jar',
877 '$buildDir/closure_out/compiler.jar', 880 '$buildDir/closure_out/compiler.jar',
878 // Third party libraries. 881 // Third party libraries.
879 'third_party/args4j/2.0.12/args4j-2.0.12.jar', 882 'third_party/args4j/2.0.12/args4j-2.0.12.jar',
880 'third_party/guava/r09/guava-r09.jar', 883 'third_party/guava/r09/guava-r09.jar',
881 'third_party/json/r2_20080312/json.jar', 884 'third_party/json/r2_20080312/json.jar',
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
1023 * $noCrash tests are expected to be flaky but not crash 1026 * $noCrash tests are expected to be flaky but not crash
1024 * $pass tests are expected to pass 1027 * $pass tests are expected to pass
1025 * $failOk tests are expected to fail that we won't fix 1028 * $failOk tests are expected to fail that we won't fix
1026 * $fail tests are expected to fail that we should fix 1029 * $fail tests are expected to fail that we should fix
1027 * $crash tests are expected to crash that we should fix 1030 * $crash tests are expected to crash that we should fix
1028 * $timeout tests are allowed to timeout\ 1031 * $timeout tests are allowed to timeout\
1029 """; 1032 """;
1030 print(report); 1033 print(report);
1031 } 1034 }
1032 } 1035 }
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