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

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

Issue 742273005: Annotate remaining analyzer/analysis server tests with "@ReflectiveTestCase()" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | pkg/analysis_server/test/reflective_tests.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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 LENGTH: 20, 108 LENGTH: 20,
109 START_LINE: -1, 109 START_LINE: -1,
110 START_COLUMN: -1 110 START_COLUMN: -1
111 }, 111 },
112 MESSAGE: 'my message' 112 MESSAGE: 'my message'
113 }); 113 });
114 } 114 }
115 } 115 }
116 116
117 117
118 @ReflectiveTestCase()
118 class ElementKindTest { 119 class ElementKindTest {
119 void test_fromEngine() { 120 void test_fromEngine() {
120 expect( 121 expect(
121 newElementKind_fromEngine(engine.ElementKind.CLASS), 122 newElementKind_fromEngine(engine.ElementKind.CLASS),
122 ElementKind.CLASS); 123 ElementKind.CLASS);
123 expect( 124 expect(
124 newElementKind_fromEngine(engine.ElementKind.COMPILATION_UNIT), 125 newElementKind_fromEngine(engine.ElementKind.COMPILATION_UNIT),
125 ElementKind.COMPILATION_UNIT); 126 ElementKind.COMPILATION_UNIT);
126 expect( 127 expect(
127 newElementKind_fromEngine(engine.ElementKind.CONSTRUCTOR), 128 newElementKind_fromEngine(engine.ElementKind.CONSTRUCTOR),
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 ApiEnum apiValue = convert(engineValue); 511 ApiEnum apiValue = convert(engineValue);
511 expect(apiValue, equals(expectedResult)); 512 expect(apiValue, equals(expectedResult));
512 } 513 }
513 } else { 514 } else {
514 ApiEnum apiValue = convert(engineValue); 515 ApiEnum apiValue = convert(engineValue);
515 expect(apiValue.name, equals(enumName)); 516 expect(apiValue.name, equals(enumName));
516 } 517 }
517 }); 518 });
518 } 519 }
519 } 520 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analysis_server/test/reflective_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698