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

Unified Diff: dart/tools/testing/dart/test_runner.dart

Issue 9295043: Create a URI class in utils/ (based on client/util/). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments and *add* the new test suite Created 8 years, 11 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
« no previous file with comments | « dart/tools/test-runtime.dart ('k') | dart/utils/uri/uri.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tools/testing/dart/test_runner.dart
diff --git a/dart/tools/testing/dart/test_runner.dart b/dart/tools/testing/dart/test_runner.dart
index 2f10898446d1f651f57400188d86f259d08be7d3..d60cf34bd963d08455e1ef3728745faeeb680a7b 100644
--- a/dart/tools/testing/dart/test_runner.dart
+++ b/dart/tools/testing/dart/test_runner.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// 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.
@@ -77,8 +77,12 @@ class TestCase {
int get timeout() => configuration['timeout'];
- String get configurationString() =>
- "${configuration['mode']}_${configuration['arch']}";
+ String get configurationString() {
+ final component = configuration['component'];
+ final mode = configuration['mode'];
+ final arch = configuration['arch'];
+ return "$component ${mode}_$arch";
+ }
void completed() { completedHandler(this); }
}
« no previous file with comments | « dart/tools/test-runtime.dart ('k') | dart/utils/uri/uri.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698