| Index: lib/unittest/unittest.dart
|
| ===================================================================
|
| --- lib/unittest/unittest.dart (revision 8082)
|
| +++ lib/unittest/unittest.dart (working copy)
|
| @@ -12,9 +12,7 @@
|
| *
|
| * * Tests: Tests are specified via the top-level function [test], they can be
|
| * organized together using [group].
|
| - * * Checks: Test expectations can be specified via [expect] (see methods in
|
| - * [Expectation]), [expectThrow], or using assertions with the [Expect]
|
| - * class.
|
| + * * Checks: Test expectations can be specified via [expect]
|
| * * Configuration: The framework can be adapted by calling [configure] with a
|
| * [Configuration]. Common configurations can be found in this package
|
| * under: 'dom\_config.dart', 'html\_config.dart', and 'vm\_config.dart'.
|
| @@ -125,8 +123,17 @@
|
|
|
| #import('dart:isolate');
|
|
|
| +#source('collection_matchers.dart');
|
| #source('config.dart');
|
| -#source('expectation.dart');
|
| +#source('core_matchers.dart');
|
| +#source('description.dart');
|
| +#source('expect.dart');
|
| +#source('interfaces.dart');
|
| +#source('map_matchers.dart');
|
| +#source('matcher.dart');
|
| +#source('numeric_matchers.dart');
|
| +#source('operator_matchers.dart');
|
| +#source('string_matchers.dart');
|
| #source('test_case.dart');
|
|
|
| /** [Configuration] used by the unittest library. */
|
| @@ -179,9 +186,6 @@
|
| /** If set, then all other test cases will be ignored. */
|
| TestCase _soloTest;
|
|
|
| -/** Creates an expectation for the given value. */
|
| -Expectation expect(value) => new Expectation(value);
|
| -
|
| /**
|
| * Evaluates the [function] and validates that it throws an exception. If
|
| * [callback] is provided, then it will be invoked with the thrown exception.
|
|
|