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

Side by Side Diff: test/closure/closure_annotation_test.dart

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « test/browser/runtime_tests.js ('k') | test/codegen/closure.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) 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 dev_compiler.test.closure_annotation_test; 5 library dev_compiler.test.closure_annotation_test;
6 6
7 import 'package:test/test.dart'; 7 import 'package:test/test.dart';
8 8
9 import 'package:dev_compiler/src/closure/closure_annotation.dart'; 9 import 'package:dev_compiler/src/closure/closure_annotation.dart';
10 import 'package:dev_compiler/src/js/js_ast.dart' show TypeRef, Identifier; 10 import 'package:dev_compiler/src/js_ast/js_ast.dart' show TypeRef, Identifier;
11 11
12 void main() { 12 void main() {
13 group('ClosureAnnotation', () { 13 group('ClosureAnnotation', () {
14 var anyType = new TypeRef.any(); 14 var anyType = new TypeRef.any();
15 var unknownType = new TypeRef.unknown(); 15 var unknownType = new TypeRef.unknown();
16 var numberType = new TypeRef.number(); 16 var numberType = new TypeRef.number();
17 var stringType = new TypeRef.string(); 17 var stringType = new TypeRef.string();
18 var booleanType = new TypeRef.boolean(); 18 var booleanType = new TypeRef.boolean();
19 var fooType = new TypeRef.qualified( 19 var fooType = new TypeRef.qualified(
20 [new Identifier("foo"), new Identifier("Foo")]); 20 [new Identifier("foo"), new Identifier("Foo")]);
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 ' * @constructor @struct @extends {Bar}\n' 115 ' * @constructor @struct @extends {Bar}\n'
116 ' * @implements {Baz}\n' 116 ' * @implements {Baz}\n'
117 ' * @param {string} x\n' 117 ' * @param {string} x\n'
118 ' * @param {number} y\n' 118 ' * @param {number} y\n'
119 ' * @return {boolean}\n' 119 ' * @return {boolean}\n'
120 ' * @throws {Bam}\n' 120 ' * @throws {Bam}\n'
121 ' */'); 121 ' */');
122 }); 122 });
123 }); 123 });
124 } 124 }
OLDNEW
« no previous file with comments | « test/browser/runtime_tests.js ('k') | test/codegen/closure.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698