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

Side by Side Diff: utils/testrunner/macros.dart

Issue 10897016: Testrunner for 3rd parties. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « utils/testrunner/html_wrap_task.dart ('k') | utils/testrunner/options.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) 2012, 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 /** Macro tokens that are expanded in pipeline jobs and test messages. */
6 class Macros {
7 // Parts of the test file path.
8 static const String fullFilePath = '<FULLFILEPATH>';
9 static const String filename = '<FILENAME>';
10 static const String filenameNoExtension = '<FILENAMENOEXT>';
11 static const String directory = '<DIRECTORY>';
12
13 // A verson of the directory that is flattened to be like a filename,
14 // by replacing path separators with underscores and removing special
15 // characters.
16 static const String flattenedDirectory = '<FLATDIR>';
17
18 // Test result message components. These can be used to specify a
19 // format for the test result or listing messages. Note that if an
20 // actual value is empty, the replacement string will be empty, but if
21 // the value is non-empty, the replacement string will be the value
22 // followed by space. Thus:
23 //
24 // '<MESSAGE><STACK>'
25 //
26 // would be expanded to an empty string if neither of these are set, but
27 // if both are set, they will be separated by a space (and there will be
28 // a trailing space). If only <STACK> is set, then this will expand to
29 // the stack trace with no leading space but with a trailing space.
30 static const String testTime = '<TIME>';
31 static const String testfile = '<FILENAME>';
32 static const String testGroup = '<GROUPNAME>';
33 static const String testDescription = '<TESTNAME>';
34 static const String testMessage = '<MESSAGE>';
35 static const String testStacktrace = '<STACK>';
36 }
OLDNEW
« no previous file with comments | « utils/testrunner/html_wrap_task.dart ('k') | utils/testrunner/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698