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 class Meta { | |
Siggi Cherem (dart-lang)
2012/08/29 01:05:55
nits:
- please add docs
- rename to something more
gram
2012/08/29 20:12:26
Done.
| |
6 // Parts of the test file path. | |
7 static const String fullFilePath = '<FULLFILEPATH>'; | |
8 static const String filename = '<FILENAME>'; | |
9 static const String filenameNoExtension = '<FILENAMENOEXT>'; | |
10 static const String directory = '<DIRECTORY>'; | |
11 | |
12 // Test result message components. Thesde can be used to specify a | |
13 // format for the test result or listing messages. Note that if an | |
14 // actual value is empty, the replacement string will be empty, but if | |
15 // the value is non-empty, the replacement string will be the value | |
16 // followed by space. Thus: | |
17 // | |
18 // '<MESSAGE><STACK>' | |
19 // | |
20 // would be expanded to an empty string if neither of these are set, but | |
21 // if both are set, they will be separated by a space (and there will be | |
22 // a trailing space). If only <STACK> is set, then this will expand to | |
23 // the stack trace with no leading space but with a trailing space. | |
24 static const String testTime = '<TIME>'; | |
25 static const String testfile = '<FILENAME>'; | |
26 static const String testGroup = '<GROUPNAME>'; | |
27 static const String testDescription = '<TESTNAME>'; | |
28 static const String testMessage = '<MESSAGE>'; | |
29 static const String testStacktrace = '<STACK>'; | |
30 } | |
OLD | NEW |