OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 #library("await_test_config"); |
| 6 |
| 7 #import("../../../tools/testing/dart/test_suite.dart"); |
| 8 |
| 9 class AwaitTestSuite extends StandardTestSuite { |
| 10 AwaitTestSuite(Map configuration) |
| 11 : super(configuration, |
| 12 "await", |
| 13 "frog/tests/await/src", |
| 14 ["frog/tests/await/await.status"]); |
| 15 |
| 16 List<String> additionalOptions() { |
| 17 // Support running the tests from the frog as well as the |
| 18 // top-level directory. |
| 19 var awaitFile = new File("await/awaitc.dart"); |
| 20 if (!awaitFile.existsSync()) { |
| 21 awaitFile = new File("frog/await/awaitc.dart"); |
| 22 } |
| 23 return [awaitFile.fullPathSync()]; |
| 24 } |
| 25 } |
OLD | NEW |