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

Unified Diff: test/codegen/lib/mirrors/closure_mirror_import2.dart

Issue 2265533002: Add mirrors tests (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 4 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
« no previous file with comments | « test/codegen/lib/mirrors/closure_mirror_import1.dart ('k') | test/codegen/lib/mirrors/closures_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/lib/mirrors/closure_mirror_import2.dart
diff --git a/test/codegen/language/bootstrap_test.dart b/test/codegen/lib/mirrors/closure_mirror_import2.dart
similarity index 56%
copy from test/codegen/language/bootstrap_test.dart
copy to test/codegen/lib/mirrors/closure_mirror_import2.dart
index ba4e802cbcf65ac2584f95071d621d5ab5ecae26..9d09d365ee2a5662450ab01196c56dc527811be3 100644
--- a/test/codegen/language/bootstrap_test.dart
+++ b/test/codegen/lib/mirrors/closure_mirror_import2.dart
@@ -2,16 +2,7 @@
// 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.
-class BootstrapTest {
+library closure_mirror_import2;
- static testMain() {
- var obj = new Object();
-
- return obj;
- }
-
-}
-
-main() {
- BootstrapTest.testMain();
-}
+var firstGlobalVariableInImport2 = "firstGlobalVariableInImport2";
+var secondGlobalVariableInImport2 = "secondGlobalVariableInImport2";
« no previous file with comments | « test/codegen/lib/mirrors/closure_mirror_import1.dart ('k') | test/codegen/lib/mirrors/closures_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698