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 { |
| 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 testResult = '<RESULT>'; |
| 26 static const String testfile = '<FILENAME>'; |
| 27 static const String testGroup = '<GROUPNAME>'; |
| 28 static const String testDescription = '<TESTNAME>'; |
| 29 static const String testMessage = '<MESSAGE>'; |
| 30 static const String testStacktrace = '<STACK>'; |
| 31 } |
OLD | NEW |