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

Side by Side Diff: pkg/analysis_server/test/protocol_server_test.dart

Issue 830893003: Remove the Polymer support from the analyzer and analysis_server packages. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/element.dart » ('j') | 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) 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 library test.computer.element; 5 library test.computer.element;
6 6
7 import 'dart:mirrors'; 7 import 'dart:mirrors';
8 8
9 import 'package:analysis_server/src/constants.dart'; 9 import 'package:analysis_server/src/constants.dart';
10 import 'package:analysis_server/src/protocol_server.dart'; 10 import 'package:analysis_server/src/protocol_server.dart';
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 exceptions: { 436 exceptions: {
437 // TODO(paulberry): do any of the exceptions below constitute bugs? 437 // TODO(paulberry): do any of the exceptions below constitute bugs?
438 engine.ElementKind.DYNAMIC: ElementKind.UNKNOWN, 438 engine.ElementKind.DYNAMIC: ElementKind.UNKNOWN,
439 engine.ElementKind.EMBEDDED_HTML_SCRIPT: ElementKind.UNKNOWN, 439 engine.ElementKind.EMBEDDED_HTML_SCRIPT: ElementKind.UNKNOWN,
440 engine.ElementKind.ERROR: ElementKind.UNKNOWN, 440 engine.ElementKind.ERROR: ElementKind.UNKNOWN,
441 engine.ElementKind.EXPORT: ElementKind.UNKNOWN, 441 engine.ElementKind.EXPORT: ElementKind.UNKNOWN,
442 engine.ElementKind.EXTERNAL_HTML_SCRIPT: ElementKind.UNKNOWN, 442 engine.ElementKind.EXTERNAL_HTML_SCRIPT: ElementKind.UNKNOWN,
443 engine.ElementKind.HTML: ElementKind.UNKNOWN, 443 engine.ElementKind.HTML: ElementKind.UNKNOWN,
444 engine.ElementKind.IMPORT: ElementKind.UNKNOWN, 444 engine.ElementKind.IMPORT: ElementKind.UNKNOWN,
445 engine.ElementKind.NAME: ElementKind.UNKNOWN, 445 engine.ElementKind.NAME: ElementKind.UNKNOWN,
446 engine.ElementKind.POLYMER_ATTRIBUTE: ElementKind.UNKNOWN,
447 engine.ElementKind.POLYMER_TAG_DART: ElementKind.UNKNOWN,
448 engine.ElementKind.POLYMER_TAG_HTML: ElementKind.UNKNOWN,
449 engine.ElementKind.UNIVERSE: ElementKind.UNKNOWN 446 engine.ElementKind.UNIVERSE: ElementKind.UNKNOWN
450 }); 447 });
451 } 448 }
452 449
453 void test_SearchResultKind() { 450 void test_SearchResultKind() {
454 // TODO(paulberry): why does the MatchKind class exist at all? Can't we 451 // TODO(paulberry): why does the MatchKind class exist at all? Can't we
455 // use SearchResultKind inside the analysis server? 452 // use SearchResultKind inside the analysis server?
456 new EnumTester<MatchKind, SearchResultKind>().run( 453 new EnumTester<MatchKind, SearchResultKind>().run(
457 newSearchResultKind_fromEngine, 454 newSearchResultKind_fromEngine,
458 exceptions: { 455 exceptions: {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 ApiEnum apiValue = convert(engineValue); 497 ApiEnum apiValue = convert(engineValue);
501 expect(apiValue, equals(expectedResult)); 498 expect(apiValue, equals(expectedResult));
502 } 499 }
503 } else { 500 } else {
504 ApiEnum apiValue = convert(engineValue); 501 ApiEnum apiValue = convert(engineValue);
505 expect(apiValue.name, equals(enumName)); 502 expect(apiValue.name, equals(enumName));
506 } 503 }
507 }); 504 });
508 } 505 }
509 } 506 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/generated/element.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698