// 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. // The following set of variables should be set by the caller that // #sources this file. /** Whether to include elapsed time. */ part of test_controller; bool includeTime; /** Path to DRT executable. */ String drt; /** Whether to regenerate layout test files. */ bool regenerate; /** Whether to output test summary. */ bool summarize; /** Whether to print results immediately as they come in. */ bool immediate; /** Format strings to use for test result messages. */ String passFormat, failFormat, errorFormat, listFormat; /** Location of the running test file. */ String sourceDir; /** Path of the running test file. */ String testfile; /** URL of the child test file. */ String baseUrl; /** The print function to use. */ Function tprint; /** A callback function to notify the caller we are done. */ Function notifyDone; // Variable below here are local to this file. var passCount = 0, failCount = 0, errorCount = 0; DateTime start; class Macros { static const String testTime = '