OLD | NEW |
---|---|
(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 // A verson of the directory that is flattened to be like a filename, | |
Siggi Cherem (dart-lang)
2012/08/29 20:47:35
use /** */, add empty line before comment
gram
2012/08/30 00:16:55
Done.
| |
13 // by replacing path separators with underscores and removing special | |
14 // characters. | |
15 static const String flattenedDirectory = '<FLATDIR>'; | |
16 | |
17 // Test result message components. Thesde can be used to specify a | |
Siggi Cherem (dart-lang)
2012/08/29 20:47:35
Thesde => These
gram
2012/08/30 00:16:55
Done.
| |
18 // format for the test result or listing messages. Note that if an | |
19 // actual value is empty, the replacement string will be empty, but if | |
20 // the value is non-empty, the replacement string will be the value | |
21 // followed by space. Thus: | |
22 // | |
23 // '<MESSAGE><STACK>' | |
24 // | |
25 // would be expanded to an empty string if neither of these are set, but | |
26 // if both are set, they will be separated by a space (and there will be | |
27 // a trailing space). If only <STACK> is set, then this will expand to | |
28 // the stack trace with no leading space but with a trailing space. | |
29 static const String testTime = '<TIME>'; | |
30 static const String testfile = '<FILENAME>'; | |
31 static const String testGroup = '<GROUPNAME>'; | |
32 static const String testDescription = '<TESTNAME>'; | |
33 static const String testMessage = '<MESSAGE>'; | |
34 static const String testStacktrace = '<STACK>'; | |
35 } | |
OLD | NEW |