Changeset 42066 for branches/3.9/tests/phpunit/includes/testcase.php
- Timestamp:
- 10/31/2017 12:56:57 PM (7 years ago)
- Location:
- branches/3.9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.9
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/3.9/tests/phpunit/includes/testcase.php
r40248 r42066 149 149 $this->fail( "Unexpected incorrect usage notice for $unexpected" ); 150 150 } 151 } 152 153 /** 154 * Declare an expected `_doing_it_wrong()` call from within a test. 155 * 156 * @since 4.2.0 157 * 158 * @param string $deprecated Name of the function, method, or class that appears in the first argument of the 159 * source `_doing_it_wrong()` call. 160 */ 161 public function setExpectedIncorrectUsage( $doing_it_wrong ) { 162 array_push( $this->expected_doing_it_wrong, $doing_it_wrong ); 151 163 } 152 164
Note: See TracChangeset
for help on using the changeset viewer.