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

Side by Side Diff: runtime/tests/vm/import_map_test.dart

Issue 10271014: test rename overhaul: step 14 - vm tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 // VMOptions=--import_map=GOOGLE,. --import_map=SRC,mysrc --import_map=DART,. 5 // VMOptions=--import_map=GOOGLE,. --import_map=SRC,mysrc --import_map=DART,.
6 // 6 //
7 // Dart test program for checking implementation of string 7 // Dart test program for checking implementation of string
8 // interapolation feature in import statements. 8 // interapolation feature in import statements.
9 9
10 #library('test1.dart'); 10 #library('test1.dart');
11 11
12 #import('${GOOGLE}/$SRC/test2.dart'); 12 #import('${GOOGLE}/$SRC/test2.dart');
13 #import('$SRC/test3.dart'); 13 #import('$SRC/test3.dart');
14 14
15 int test1() { 15 int test1() {
16 return 1; 16 return 1;
17 } 17 }
18 18
19 main() { 19 main() {
20 var result = test1() + test2() + test3(); 20 var result = test1() + test2() + test3();
21 Expect.equals(6, result); 21 Expect.equals(6, result);
22 } 22 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698