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

Side by Side Diff: pkg/analyzer/test/generated/all_the_rest.dart

Issue 728513002: Remove some (but not all) unused methods in analyzer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to 5 // This code was auto-generated, is not intended to be edited, and is subject to
6 // significant change. Please see the README file for more information. 6 // significant change. Please see the README file for more information.
7 7
8 library engine.all_the_rest_test; 8 library engine.all_the_rest_test;
9 9
10 import 'dart:collection'; 10 import 'dart:collection';
(...skipping 10027 matching lines...) Expand 10 before | Expand all | Expand 10 after
10038 } 10038 }
10039 void test_parse_self_closing_declaration() { 10039 void test_parse_self_closing_declaration() {
10040 ht.HtmlUnit htmlUnit = parse("<!DOCTYPE html><html>foo</html>"); 10040 ht.HtmlUnit htmlUnit = parse("<!DOCTYPE html><html>foo</html>");
10041 _validate(htmlUnit, [_t3("html", "foo")]); 10041 _validate(htmlUnit, [_t3("html", "foo")]);
10042 } 10042 }
10043 XmlValidator_Attributes _a(List<String> keyValuePairs) => 10043 XmlValidator_Attributes _a(List<String> keyValuePairs) =>
10044 new XmlValidator_Attributes(keyValuePairs); 10044 new XmlValidator_Attributes(keyValuePairs);
10045 XmlValidator_Tag _t(String tag, XmlValidator_Attributes attributes, 10045 XmlValidator_Tag _t(String tag, XmlValidator_Attributes attributes,
10046 String content, [List<XmlValidator_Tag> children = XmlValidator_Tag.EMPTY_ LIST]) => 10046 String content, [List<XmlValidator_Tag> children = XmlValidator_Tag.EMPTY_ LIST]) =>
10047 new XmlValidator_Tag(tag, attributes, content, children); 10047 new XmlValidator_Tag(tag, attributes, content, children);
10048 XmlValidator_Tag _t2(String tag, XmlValidator_Attributes attributes,
10049 [List<XmlValidator_Tag> children = XmlValidator_Tag.EMPTY_LIST]) =>
10050 new XmlValidator_Tag(tag, attributes, null, children);
10051 XmlValidator_Tag _t3(String tag, String content, 10048 XmlValidator_Tag _t3(String tag, String content,
10052 [List<XmlValidator_Tag> children = XmlValidator_Tag.EMPTY_LIST]) => 10049 [List<XmlValidator_Tag> children = XmlValidator_Tag.EMPTY_LIST]) =>
10053 new XmlValidator_Tag(tag, new XmlValidator_Attributes(), content, children ); 10050 new XmlValidator_Tag(tag, new XmlValidator_Attributes(), content, children );
10054 XmlValidator_Tag _t4(String tag, [List<XmlValidator_Tag> children = XmlValidat or_Tag.EMPTY_LIST]) => 10051 XmlValidator_Tag _t4(String tag, [List<XmlValidator_Tag> children = XmlValidat or_Tag.EMPTY_LIST]) =>
10055 new XmlValidator_Tag(tag, new XmlValidator_Attributes(), null, children); 10052 new XmlValidator_Tag(tag, new XmlValidator_Attributes(), null, children);
10056 void _validate(ht.HtmlUnit htmlUnit, List<XmlValidator_Tag> expectedTags) { 10053 void _validate(ht.HtmlUnit htmlUnit, List<XmlValidator_Tag> expectedTags) {
10057 XmlValidator validator = new XmlValidator(); 10054 XmlValidator validator = new XmlValidator();
10058 validator.expectTags(expectedTags); 10055 validator.expectTags(expectedTags);
10059 htmlUnit.accept(validator); 10056 htmlUnit.accept(validator);
10060 validator.assertValid(); 10057 validator.assertValid();
(...skipping 1064 matching lines...) Expand 10 before | Expand all | Expand 10 after
11125 Source scriptSource = externalScript.scriptSource; 11122 Source scriptSource = externalScript.scriptSource;
11126 if (_expectedExternalScriptName == null) { 11123 if (_expectedExternalScriptName == null) {
11127 expect(scriptSource, isNull, reason: "script $scriptIndex"); 11124 expect(scriptSource, isNull, reason: "script $scriptIndex");
11128 } else { 11125 } else {
11129 expect(scriptSource, isNotNull, reason: "script $scriptIndex"); 11126 expect(scriptSource, isNotNull, reason: "script $scriptIndex");
11130 String actualExternalScriptName = scriptSource.shortName; 11127 String actualExternalScriptName = scriptSource.shortName;
11131 expect(actualExternalScriptName, _expectedExternalScriptName, reason: "scr ipt $scriptIndex"); 11128 expect(actualExternalScriptName, _expectedExternalScriptName, reason: "scr ipt $scriptIndex");
11132 } 11129 }
11133 } 11130 }
11134 } 11131 }
OLDNEW
« pkg/analyzer/lib/src/error.dart ('K') | « pkg/analyzer/lib/src/generated/sdk_io.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698