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

Side by Side Diff: lib/src/runner/hack_load_vm_file_hook.dart

Issue 1309493002: Add a hacky hook to override the loader behavior. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 4 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
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/runner/loader.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 library test.runner.hack_load_vm_file_hook;
6
7 typedef Future<RunnerSuite> LoadVMFileHook(String path, Metadata metadata,
8 Configuration config);
9
10 /// **Do not set or use this function without express permission from the test
11 /// package authors**.
12 ///
13 /// A function that overrides the loader's default behavior for loading test
14 /// suites on the Dart VM. This function takes the path to the file, the
15 /// file's metadata, and the test runner's configuration and returns a
16 /// [RunnerSuite] for that file.
17 static loadVMFileHook;
Bob Nystrom 2015/08/20 22:27:38 "static" -> "LoadVMFileHook".
nweiz 2015/08/21 00:08:09 Done.
OLDNEW
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/runner/loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698