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

Unified Diff: pkg/polymer/test/compiler_test.dart

Issue 23658002: Remove processing of dart code, summary.dart, simplified info.dart (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 | « pkg/polymer/lib/src/summary.dart ('k') | pkg/polymer/test/run.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/compiler_test.dart
diff --git a/pkg/polymer/test/compiler_test.dart b/pkg/polymer/test/compiler_test.dart
index 51d8b6784d0487c20b5fc683d2b06295486f8119..abe5e32fa26d0a17bc07ccf278c17eb04d15ee04 100644
--- a/pkg/polymer/test/compiler_test.dart
+++ b/pkg/polymer/test/compiler_test.dart
@@ -54,15 +54,9 @@ main() {
compiler.run().then(expectAsync1((e) {
var msgs = messages.messages.where((m) =>
m.message.contains('unable')).toList();
-
- expect(msgs.length, 1);
- expect(msgs[0].level, Level.SEVERE);
- expect(msgs[0].message, contains('unable to open file'));
- expect(msgs[0].span, isNotNull);
- expect(msgs[0].span.sourceUrl, 'index.html');
-
+ expect(msgs.length, 0);
MockFileSystem fs = compiler.fileSystem;
- expect(fs.readCount, { 'index.html': 1, 'notfound.dart': 1 });
+ expect(fs.readCount, { 'index.html': 1 });
}));
});
@@ -106,14 +100,10 @@ main() {
compiler.run().then(expectAsync1((e) {
var msgs = messages.messages.where((m) =>
m.message.contains('unable')).toList();
-
- expect(msgs.length, 1);
- expect(msgs[0].level, Level.SEVERE);
- expect(msgs[0].message, contains('unable to open file'));
-
+ expect(msgs.length, 0);
MockFileSystem fs = compiler.fileSystem;
expect(fs.readCount,
- { 'index.html': 1, 'foo.html': 1, 'notfound.dart': 1 });
+ { 'index.html': 1, 'foo.html': 1 });
}));
});
});
« no previous file with comments | « pkg/polymer/lib/src/summary.dart ('k') | pkg/polymer/test/run.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698