Changeset 55562 for trunk/tests/phpunit/tests/http/http.php
- Timestamp:
- 03/19/2023 12:03:30 PM (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/http/http.php
r55370 r55562 13 13 * @ticket 56231 14 14 * 15 * @dataProvider make_absolute_url_testcases15 * @dataProvider data_make_absolute_url 16 16 * 17 17 * @covers WP_Http::make_absolute_url … … 22 22 } 23 23 24 public function make_absolute_url_testcases() {24 public function data_make_absolute_url() { 25 25 // 0: The Location header, 1: The current URL, 3: The expected URL. 26 26 return array( … … 81 81 82 82 /** 83 * @dataProvider parse_url_testcases83 * @dataProvider data_wp_parse_url 84 84 * 85 85 * @covers ::wp_parse_url … … 90 90 } 91 91 92 public function parse_url_testcases() {92 public function data_wp_parse_url() { 93 93 // 0: The URL, 1: The expected resulting structure. 94 94 return array( … … 218 218 * @ticket 36356 219 219 * 220 * @dataProvider parse_url_component_testcases220 * @dataProvider data_wp_parse_url_with_component 221 221 * 222 222 * @covers ::wp_parse_url … … 227 227 } 228 228 229 public function parse_url_component_testcases() {229 public function data_wp_parse_url_with_component() { 230 230 // 0: The URL, 1: The requested component, 2: The expected resulting structure. 231 231 return array( … … 334 334 * @ticket 36356 335 335 * 336 * @dataProvider get_component_from_parsed_url_array_testcases336 * @dataProvider data_get_component_from_parsed_url_array 337 337 * 338 338 * @covers ::wp_parse_url … … 345 345 } 346 346 347 public function get_component_from_parsed_url_array_testcases() {347 public function data_get_component_from_parsed_url_array() { 348 348 // 0: A URL, 1: PHP URL constant, 2: The expected result. 349 349 return array( … … 376 376 * @ticket 36356 377 377 * 378 * @dataProvider wp_translate_php_url_constant_to_key_testcases378 * @dataProvider data_wp_translate_php_url_constant_to_key 379 379 * 380 380 * @covers ::_wp_translate_php_url_constant_to_key … … 385 385 } 386 386 387 public function wp_translate_php_url_constant_to_key_testcases() {387 public function data_wp_translate_php_url_constant_to_key() { 388 388 // 0: PHP URL constant, 1: The expected result. 389 389 return array(
Note: See TracChangeset
for help on using the changeset viewer.