| Index: pkg/unittest/lib/src/config.dart
|
| ===================================================================
|
| --- pkg/unittest/lib/src/config.dart (revision 19164)
|
| +++ pkg/unittest/lib/src/config.dart (working copy)
|
| @@ -52,6 +52,8 @@
|
| * a test suite.
|
| */
|
| void onTestStart(TestCase testCase) {
|
| + assert(testCase != null);
|
| + assert(_currentTestCase == null);
|
| _currentTestCase = testCase;
|
| }
|
|
|
| @@ -60,6 +62,8 @@
|
| * a test suite.
|
| */
|
| void onTestResult(TestCase testCase) {
|
| + assert(testCase != null);
|
| + assert(_currentTestCase == null || _currentTestCase == testCase);
|
| _currentTestCase = null;
|
| }
|
|
|
|
|