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

Side by Side Diff: test/analyzer_test.dart

Issue 11471037: Updating dwc for breaking changes that will be part of the next sdk (Closed) Base URL: git@github.com:dart-lang/dart-web-components.git@master
Patch Set: Created 8 years 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
« no previous file with comments | « pubspec.yaml ('k') | 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 analyzer_test; 5 library analyzer_test;
6 6
7 import 'package:html5lib/dom.dart'; 7 import 'package:html5lib/dom.dart';
8 import 'package:html5lib/parser.dart'; 8 import 'package:html5lib/parser.dart';
9 import 'package:unittest/unittest.dart'; 9 import 'package:unittest/unittest.dart';
10 import 'package:unittest/vm_config.dart'; 10 import 'package:unittest/vm_config.dart';
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 var fileInfo = analyzeFiles(files); 761 var fileInfo = analyzeFiles(files);
762 var info = fileInfo['index.html']; 762 var info = fileInfo['index.html'];
763 expect(info.components.keys, equals(['x-bar', 'x-foo'])); 763 expect(info.components.keys, equals(['x-bar', 'x-foo']));
764 764
765 var compInfo = fileInfo['foo.html'].declaredComponents[0]; 765 var compInfo = fileInfo['foo.html'].declaredComponents[0];
766 expect(info.query('x-foo').component, equals(compInfo)); 766 expect(info.query('x-foo').component, equals(compInfo));
767 compInfo = fileInfo['bar.html'].declaredComponents[0]; 767 compInfo = fileInfo['bar.html'].declaredComponents[0];
768 expect(info.query('x-bar').component, equals(compInfo)); 768 expect(info.query('x-bar').component, equals(compInfo));
769 }); 769 });
770 }); 770 });
771 } 771 }
OLDNEW
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698