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

Side by Side Diff: pkg/analyzer/test/src/task/html_test.dart

Issue 1513643009: Clean up package imports and library names (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 test.src.task.html_test; 5 library analyzer.test.src.task.html_test;
6 6
7 import 'package:analyzer/src/generated/source.dart'; 7 import 'package:analyzer/src/generated/source.dart';
8 import 'package:analyzer/src/task/html.dart'; 8 import 'package:analyzer/src/task/html.dart';
9 import 'package:analyzer/task/general.dart'; 9 import 'package:analyzer/task/general.dart';
10 import 'package:analyzer/task/html.dart'; 10 import 'package:analyzer/task/html.dart';
11 import 'package:analyzer/task/model.dart'; 11 import 'package:analyzer/task/model.dart';
12 import 'package:html/dom.dart'; 12 import 'package:html/dom.dart';
13 import 'package:unittest/unittest.dart'; 13 import 'package:unittest/unittest.dart';
14 14
15 import '../../reflective_tests.dart'; 15 import '../../reflective_tests.dart';
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 expect(bodyElement.localName, 'body'); 359 expect(bodyElement.localName, 'body');
360 // actual nodes 360 // actual nodes
361 expect(bodyElement.nodes, hasLength(4)); 361 expect(bodyElement.nodes, hasLength(4));
362 expect((bodyElement.nodes[0] as Element).localName, 'div'); 362 expect((bodyElement.nodes[0] as Element).localName, 'div');
363 expect((bodyElement.nodes[2] as Element).localName, 'span'); 363 expect((bodyElement.nodes[2] as Element).localName, 'span');
364 } 364 }
365 // it's OK to don't have DOCTYPE 365 // it's OK to don't have DOCTYPE
366 expect(outputs[HTML_DOCUMENT_ERRORS], isEmpty); 366 expect(outputs[HTML_DOCUMENT_ERRORS], isEmpty);
367 } 367 }
368 } 368 }
OLDNEW
« no previous file with comments | « pkg/analyzer/test/src/task/general_test.dart ('k') | pkg/analyzer/test/src/task/html_work_manager_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698