OLD | NEW |
| (Empty) |
1 // Copyright (c) 2015, 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 import 'dart:async'; | |
6 | |
7 import '../backend/metadata.dart'; | |
8 import 'configuration.dart'; | |
9 import 'runner_suite.dart'; | |
10 | |
11 typedef Future<RunnerSuite> LoadVMFileHook(String path, Metadata metadata, | |
12 Configuration config); | |
13 | |
14 /// **Do not set or use this function without express permission from the test | |
15 /// package authors**. | |
16 /// | |
17 /// A function that overrides the loader's default behavior for loading test | |
18 /// suites on the Dart VM. This function takes the path to the file, the | |
19 /// file's metadata, and the test runner's configuration and returns a | |
20 /// [RunnerSuite] for that file. | |
21 LoadVMFileHook loadVMFileHook; | |
OLD | NEW |