Changeset 42065 for branches/4.0/tests/phpunit/includes/testcase.php
- Timestamp:
- 10/31/2017 12:54:43 PM (8 years ago)
- Location:
- branches/4.0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.0
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/4.0/tests/phpunit/includes/testcase.php
r41085 r42065 205 205 $this->fail( "Unexpected incorrect usage notice for $unexpected" ); 206 206 } 207 } 208 209 /** 210 * Declare an expected `_doing_it_wrong()` call from within a test. 211 * 212 * @since 4.2.0 213 * 214 * @param string $deprecated Name of the function, method, or class that appears in the first argument of the 215 * source `_doing_it_wrong()` call. 216 */ 217 public function setExpectedIncorrectUsage( $doing_it_wrong ) { 218 array_push( $this->expected_doing_it_wrong, $doing_it_wrong ); 207 219 } 208 220
Note: See TracChangeset
for help on using the changeset viewer.