Chromium Code Reviews| Index: lib/unittest/config.dart |
| =================================================================== |
| --- lib/unittest/config.dart (revision 8995) |
| +++ lib/unittest/config.dart (working copy) |
| @@ -61,7 +61,10 @@ |
| if (passed == 0 && failed == 0 && errors == 0) { |
| print('No tests found.'); |
| // This is considered a failure too: if this happens you probably have a |
| - // bug in your unit tests. |
| + // bug in your unit tests, unless you are filtering. |
|
eub
2012/06/21 20:58:45
Is there a known use case where people want to fil
gram
2012/06/21 21:18:03
Here's the thing - we are constraining individual
|
| + if (getFilter() != null) { |
| + success = true; |
| + } |
| } else if (failed == 0 && errors == 0 && uncaughtError == null) { |
| print('All $passed tests passed.'); |
| success = true; |