| Index: lib/src/runner/configuration/load.dart
|
| diff --git a/lib/src/runner/configuration/load.dart b/lib/src/runner/configuration/load.dart
|
| index 9a9778cb9fd3e1bd0e8c6be72674177f554a5ba7..7dd2bb4ad669455b7220e38168b43697e92f09b1 100644
|
| --- a/lib/src/runner/configuration/load.dart
|
| +++ b/lib/src/runner/configuration/load.dart
|
| @@ -146,6 +146,14 @@ class _ConfigurationLoader {
|
| var pubServePort = _getInt("pub_serve");
|
| var concurrency = _getInt("concurrency");
|
|
|
| + var patterns = _getList("names", (nameNode) {
|
| + _validate(nameNode, "Names must be strings.", (value) => value is String);
|
| + return _parseNode(nameNode, "name", (value) => new RegExp(value));
|
| + })..addAll(_getList("plain_names", (nameNode) {
|
| + _validate(nameNode, "Names must be strings.", (value) => value is String);
|
| + return nameNode.value;
|
| + }));
|
| +
|
| var allPlatformIdentifiers =
|
| TestPlatform.all.map((platform) => platform.identifier).toSet();
|
| var platforms = _getList("platforms", (platformNode) {
|
| @@ -173,6 +181,7 @@ class _ConfigurationLoader {
|
| reporter: reporter,
|
| pubServePort: pubServePort,
|
| concurrency: concurrency,
|
| + patterns: patterns,
|
| platforms: platforms,
|
| paths: paths,
|
| filename: filename,
|
|
|