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

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

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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
deleted file mode 100644
index 5ecc402d6f33d1c92f7a4ec439823db26236fa36..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/test/io/expression_extractor_spec.dart
+++ /dev/null
@@ -1,47 +0,0 @@
-library ng.tool.expression_extractor_spec;
-
-import 'package:di/di.dart';
-import 'package:di/dynamic_injector.dart';
-import 'package:angular/tools/common.dart';
-import 'package:angular/tools/io.dart';
-import 'package:angular/tools/io_impl.dart';
-import 'package:angular/tools/source_crawler_impl.dart';
-import 'package:angular/tools/html_extractor.dart';
-import 'package:angular/tools/source_metadata_extractor.dart';
-import '../jasmine_syntax.dart';
-import 'package:unittest/unittest.dart';
-
-main() => describe('expression_extractor', () {
- it('should extract all expressions from source and templates', () {
- Module module = new Module();
-
- Injector injector = new DynamicInjector(modules: [module],
- allowImplicitInjection: true);
-
- IoService ioService = new IoServiceImpl();
- var sourceCrawler = new SourceCrawlerImpl(['packages/']);
- var sourceMetadataExtractor = new SourceMetadataExtractor();
- List<DirectiveInfo> directives =
- sourceMetadataExtractor
- .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([
- 'ctrl.expr',
- 'ctrl.anotherExpression',
- 'ctrl.callback',
- 'ctrl.twoWayStuff',
- 'attr',
- 'expr',
- 'anotherExpression',
- 'callback',
- 'twoWayStuff',
- 'exported + expression',
- 'ctrl.inline.template.expression',
- 'ngIfCondition',
- 'ctrl.if'
- ]));
- });
-});
« no previous file with comments | « third_party/pkg/angular/test/io/all.dart ('k') | third_party/pkg/angular/test/io/source_metadata_extractor_spec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698