OLD | NEW |
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/html5parser.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'; |
11 import 'package:web_components/src/template/analyzer.dart'; | 11 import 'package:web_components/src/template/analyzer.dart'; |
12 import 'package:web_components/src/template/info.dart'; | 12 import 'package:web_components/src/template/info.dart'; |
13 import 'package:web_components/src/template/files.dart'; | 13 import 'package:web_components/src/template/files.dart'; |
14 import 'testing.dart'; | 14 import 'testing.dart'; |
15 | 15 |
16 main() { | 16 main() { |
17 useVmConfiguration(); | 17 useVmConfiguration(); |
18 useMockWorld(); | 18 useMockWorld(); |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 result[file.filename] = analyzeDefinitions(file); | 495 result[file.filename] = analyzeDefinitions(file); |
496 } | 496 } |
497 | 497 |
498 // analyze file contents | 498 // analyze file contents |
499 for (var file in files) { | 499 for (var file in files) { |
500 analyzeFile(file, result); | 500 analyzeFile(file, result); |
501 } | 501 } |
502 | 502 |
503 return result; | 503 return result; |
504 } | 504 } |
OLD | NEW |