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

Unified Diff: lib/html_individual_config.dart

Issue 1128383002: pkg/(unit)test: Enable group names containing spaces in HtmlIndividualConfiguration (Closed) Base URL: https://github.com/dart-lang/test.git@stable
Patch Set: Created 5 years, 7 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
« CHANGELOG.md ('K') | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/html_individual_config.dart
diff --git a/lib/html_individual_config.dart b/lib/html_individual_config.dart
index 263adf983aabefcaca194ade515c79bc27902752..653f7888f825ef2e39fc4bab7d0b2bf4f34565be 100644
--- a/lib/html_individual_config.dart
+++ b/lib/html_individual_config.dart
@@ -34,6 +34,8 @@ class HtmlIndividualConfiguration extends htmlconfig.HtmlConfiguration {
}
var testGroupName = groups.single.split('=')[1];
+ testGroupName =
+ testGroupName.replaceAll('+', ' ').replaceAll('%20', ' ');
nweiz 2015/05/07 01:41:53 We should use the Uri class to parse this rather t
kevmoo 2015/05/07 22:39:45 Done.
var startsWith = "$testGroupName${unittest.groupSep}";
unittest.filterTests(
(unittest.TestCase tc) => tc.description.startsWith(startsWith));
« CHANGELOG.md ('K') | « CHANGELOG.md ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698