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

Unified Diff: tests/language/export_test.dart

Issue 10990060: Added support for exports and re-exports. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Removed redundant check. Created 8 years, 3 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
« tests/language/export_helper2.dart ('K') | « tests/language/export_helper2.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/export_test.dart
diff --git a/tests/standalone/package/invalid_uri_test.dart b/tests/language/export_test.dart
similarity index 50%
copy from tests/standalone/package/invalid_uri_test.dart
copy to tests/language/export_test.dart
index 766dc7690236d0cff3cec76ae9521c2352793cf9..0cc49faa64615975eb375f1a9459896aec23fbd7 100644
--- a/tests/standalone/package/invalid_uri_test.dart
+++ b/tests/language/export_test.dart
@@ -2,9 +2,17 @@
// 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.
Johnni Winther 2012/09/26 17:03:58 This is a new file.
-#library('invalid_uri_test');
+// Test export and re-export.
-#import('package://lib1.dart'); // Should not contain "//".
+library export_test;
+
+import 'export_helper1.dart';
+import 'export_helper1.dart' as lib;
void main() {
+ print(new Exported());
+ print(new ReExported());
+ print(new lib.Exported());
+ print(new lib.ReExported());
}
+
« tests/language/export_helper2.dart ('K') | « tests/language/export_helper2.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698