Changeset 42068 for branches/3.7/tests/phpunit/includes/testcase.php
- Timestamp:
- 10/31/2017 01:01:54 PM (8 years ago)
- Location:
- branches/3.7
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/includes/testcase.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/trunk merged: 41662,42056
- Property svn:mergeinfo changed
-
branches/3.7/tests/phpunit/includes/testcase.php
r25785 r42068 123 123 $this->fail( "Unexpected incorrect usage notice for $unexpected" ); 124 124 } 125 } 126 127 /** 128 * Declare an expected `_doing_it_wrong()` call from within a test. 129 * 130 * @since 4.2.0 131 * 132 * @param string $deprecated Name of the function, method, or class that appears in the first argument of the 133 * source `_doing_it_wrong()` call. 134 */ 135 public function setExpectedIncorrectUsage( $doing_it_wrong ) { 136 array_push( $this->expected_doing_it_wrong, $doing_it_wrong ); 125 137 } 126 138
Note: See TracChangeset
for help on using the changeset viewer.