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

Unified Diff: third_party/pkg/angular/test/io/expression_extractor_spec.dart

Issue 180873006: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Review feedback Created 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/pkg/angular/test/io/expression_extractor_spec.dart
diff --git a/third_party/pkg/angular/test/io/expression_extractor_spec.dart b/third_party/pkg/angular/test/io/expression_extractor_spec.dart
index 5d3d7fc6baa2d49444f5a0af96f7031154886467..5ecc402d6f33d1c92f7a4ec439823db26236fa36 100644
--- a/third_party/pkg/angular/test/io/expression_extractor_spec.dart
+++ b/third_party/pkg/angular/test/io/expression_extractor_spec.dart
@@ -20,12 +20,12 @@ main() => describe('expression_extractor', () {
IoService ioService = new IoServiceImpl();
var sourceCrawler = new SourceCrawlerImpl(['packages/']);
- var sourceMetadataExtractor = new SourceMetadataExtractor(sourceCrawler);
+ var sourceMetadataExtractor = new SourceMetadataExtractor();
List<DirectiveInfo> directives =
sourceMetadataExtractor
- .gatherDirectiveInfo('test/io/test_files/main.dart');
- var htmlExtractor = new HtmlExpressionExtractor(directives, ioService);
- htmlExtractor.crawl('test/io/test_files/');
+ .gatherDirectiveInfo('test/io/test_files/main.dart', sourceCrawler);
+ var htmlExtractor = new HtmlExpressionExtractor(directives);
+ htmlExtractor.crawl('test/io/test_files/', ioService);
var expressions = htmlExtractor.expressions;
expect(expressions, unorderedEquals([

Powered by Google App Engine
This is Rietveld 408576698