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

Unified Diff: dart/tests/utils/recursive_import_test.dart

Issue 12690003: Revert "Don't output tons of messages on apidoc." and "Fix bot breaks." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/utils/recursive_import_test.dart
diff --git a/dart/tests/utils/recursive_import_test.dart b/dart/tests/utils/recursive_import_test.dart
index dd87128fb52b6b998b3a790809fb271642c065b6..62bf3620ff51b4761cf9b9a96f1e1a7906e794d6 100644
--- a/dart/tests/utils/recursive_import_test.dart
+++ b/dart/tests/utils/recursive_import_test.dart
@@ -85,7 +85,6 @@ main() {
int warningCount = 0;
int errorCount = 0;
- int infoCount = 0;
void handler(Uri uri, int begin, int end, String message, Diagnostic kind) {
if (uri != null) {
// print('$uri:$begin:$end: $kind: $message');
@@ -94,8 +93,6 @@ main() {
warningCount++;
} else if (kind == Diagnostic.ERROR) {
errorCount++;
- } else if (kind == Diagnostic.INFO || kind == Diagnostic.VERBOSE_INFO){
- infoCount++;
} else {
throw kind;
}
@@ -110,11 +107,10 @@ main() {
result.then((String code) {
Expect.isNull(code);
Expect.isTrue(10 < count);
- Expect.equals(0, warningCount);
- Expect.equals(1, errorCount);
- // Two infos for each time RECURSIVE_MAIN is read, except the
+ // Two warnings for each time RECURSIVE_MAIN is read, except the
// first time.
- Expect.equals(2 * (count - 1), infoCount);
+ Expect.equals(2 * (count - 1), warningCount);
+ Expect.equals(1, errorCount);
}, onError: (AsyncError e) {
throw 'Compilation failed';
});
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/source_file_provider.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698