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

Unified Diff: utils/testrunner/meta.dart

Issue 10897016: Testrunner for 3rd parties. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: utils/testrunner/meta.dart
===================================================================
--- utils/testrunner/meta.dart (revision 0)
+++ utils/testrunner/meta.dart (revision 0)
@@ -0,0 +1,30 @@
+// 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.
+
+class Meta {
+ // Parts of the test file path.
+ static const String fullFilePath = '<FULLFILEPATH>';
+ static const String filename = '<FILENAME>';
+ static const String filenameNoExtension = '<FILENAMENOEXT>';
+ static const String directory = '<DIRECTORY>';
+
+ // Test result message components. Thesde can be used to specify a
+ // format for the test result or listing messages. Note that if an
+ // actual value is empty, the replacement string will be empty, but if
+ // the value is non-empty, the replacement string will be the value
+ // followed by space. Thus:
+ //
+ // '<MESSAGE><STACK>'
+ //
+ // would be expanded to an empty string if neither of these are set, but
+ // if both are set, they will be separated by a space (and there will be
+ // a trailing space). If only <STACK> is set, then this will expand to
+ // the stack trace with no leading space but with a trailing space.
+ static const String testTime = '<TIME>';
+ static const String testfile = '<FILENAME>';
+ static const String testGroup = '<GROUPNAME>';
+ static const String testDescription = '<TESTNAME>';
+ static const String testMessage = '<MESSAGE>';
+ static const String testStacktrace = '<STACK>';
+}

Powered by Google App Engine
This is Rietveld 408576698