OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * A library for writing dart unit tests. | 6 * A library for writing dart unit tests. |
7 * | 7 * |
8 * To import this library, specify the relative path to | 8 * To import this library, specify the relative path to |
9 * pkg/unittest/unittest.dart. | 9 * pkg/unittest/unittest.dart. |
10 * | 10 * |
(...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
865 } | 865 } |
866 | 866 |
867 /** Enable a test by ID. */ | 867 /** Enable a test by ID. */ |
868 void enableTest(int testId) => _setTestEnabledState(testId, true); | 868 void enableTest(int testId) => _setTestEnabledState(testId, true); |
869 | 869 |
870 /** Disable a test by ID. */ | 870 /** Disable a test by ID. */ |
871 void disableTest(int testId) => _setTestEnabledState(testId, false); | 871 void disableTest(int testId) => _setTestEnabledState(testId, false); |
872 | 872 |
873 /** Signature for a test function. */ | 873 /** Signature for a test function. */ |
874 typedef void TestFunction(); | 874 typedef void TestFunction(); |
OLD | NEW |