Files
sdk/tests/standalone/package/package_test.dart
T
ahe@google.com f4ca9548c9 Allow tests to specify a package root.
Use a shared package root if none is specified.

Committed: https://code.google.com/p/dart/source/detail?r=15064

Review URL: https://codereview.chromium.org//11359187

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@15070 260f80e4-7a28-3924-810f-c04153c831b5
2012-11-19 11:35:57 +00:00

20 lines
537 B
Dart

// Copyright (c) 2012, 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.
// PackageRoot=none
#library('package_test');
#import('package:lib1.dart');
#import('package:shared.dart');
void main() {
output = 'main';
// Call an imported lib, which will in turn call some others.
lib1();
// Make sure they were all reached successfully.
Expect.equals(output, 'main|lib1|lib2|lib3');
}