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

Unified Diff: tests/compiler/dart2js/mirrors/class_mirror_type_variables_test.dart

Issue 1168393003: Enforce LF line endings in the git database. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: rebase Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: tests/compiler/dart2js/mirrors/class_mirror_type_variables_test.dart
diff --git a/tests/compiler/dart2js/mirrors/class_mirror_type_variables_test.dart b/tests/compiler/dart2js/mirrors/class_mirror_type_variables_test.dart
index a3f68716318643d34e618ca5fa9ccd16c0c93cd2..b8b2e56f595fa6a7441af56fe3b6e47e78d3bd4a 100644
--- a/tests/compiler/dart2js/mirrors/class_mirror_type_variables_test.dart
+++ b/tests/compiler/dart2js/mirrors/class_mirror_type_variables_test.dart
@@ -1,42 +1,42 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-import "dart:mirrors";
-
-import "package:async_helper/async_helper.dart";
-
-import "mirrors_test_helper.dart";
-import "../../../lib/mirrors/class_mirror_type_variables_expect.dart";
-
-class CompileTimeEnv implements Env {
- final MirrorSystem mirrors;
-
- CompileTimeEnv(this.mirrors);
-
- LibraryMirror get core => mirrors.libraries[Uri.parse('dart:core')];
-
- LibraryMirror get test =>
- mirrors.findLibrary(#class_mirror_type_variables_data);
-
-
- ClassMirror getA() => test.declarations[#A];
- ClassMirror getB() => test.declarations[#B];
- ClassMirror getC() => test.declarations[#C];
- ClassMirror getD() => test.declarations[#D];
- ClassMirror getE() => test.declarations[#E];
- ClassMirror getF() => test.declarations[#F];
- ClassMirror getNoTypeParams() => test.declarations[#NoTypeParams];
- ClassMirror getObject() => core.declarations[#Object];
- ClassMirror getString() => core.declarations[#String];
- ClassMirror getHelperOfString() =>
- createInstantiation(test.declarations[#Helper], [getString()]);
-}
-
-main() {
- asyncTest(() => analyze("class_mirror_type_variables_data.dart").
- then((MirrorSystem mirrors) {
- test(new CompileTimeEnv(mirrors));
- }));
-
-}
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+import "dart:mirrors";
+
+import "package:async_helper/async_helper.dart";
+
+import "mirrors_test_helper.dart";
+import "../../../lib/mirrors/class_mirror_type_variables_expect.dart";
+
+class CompileTimeEnv implements Env {
+ final MirrorSystem mirrors;
+
+ CompileTimeEnv(this.mirrors);
+
+ LibraryMirror get core => mirrors.libraries[Uri.parse('dart:core')];
+
+ LibraryMirror get test =>
+ mirrors.findLibrary(#class_mirror_type_variables_data);
+
+
+ ClassMirror getA() => test.declarations[#A];
+ ClassMirror getB() => test.declarations[#B];
+ ClassMirror getC() => test.declarations[#C];
+ ClassMirror getD() => test.declarations[#D];
+ ClassMirror getE() => test.declarations[#E];
+ ClassMirror getF() => test.declarations[#F];
+ ClassMirror getNoTypeParams() => test.declarations[#NoTypeParams];
+ ClassMirror getObject() => core.declarations[#Object];
+ ClassMirror getString() => core.declarations[#String];
+ ClassMirror getHelperOfString() =>
+ createInstantiation(test.declarations[#Helper], [getString()]);
+}
+
+main() {
+ asyncTest(() => analyze("class_mirror_type_variables_data.dart").
+ then((MirrorSystem mirrors) {
+ test(new CompileTimeEnv(mirrors));
+ }));
+
+}
« no previous file with comments | « tests/compiler/dart2js/mirror_system_helper.dart ('k') | tests/compiler/dart2js/mirrors/default_value_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698