Changeset 52780
- Timestamp:
- 02/21/2022 02:50:07 PM (3 years ago)
- Location:
- trunk/tests/phpunit/tests/functions
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/functions/anonymization.php
r51792 r52780 20 20 21 21 /** 22 * Test that wp_privacy_anonymize_ip() properly anonymizes all possible IP address formats.22 * Tests that wp_privacy_anonymize_ip() properly anonymizes all possible IP address formats. 23 23 * 24 24 * @dataProvider data_wp_privacy_anonymize_ip … … 41 41 42 42 /** 43 * Provide test casesfor `test_wp_privacy_anonymize_ip()`.43 * Data provider for `test_wp_privacy_anonymize_ip()`. 44 44 * 45 45 * @since 4.9.6 Moved from `Test_WP_Community_Events::data_get_unsafe_client_ip_anonymization()`. … … 176 176 177 177 /** 178 * Test that wp_privacy_anonymize_ip() properly anonymizes all possible IP address formats.178 * Tests that wp_privacy_anonymize_ip() properly anonymizes all possible IP address formats. 179 179 * 180 180 * @dataProvider data_wp_privacy_anonymize_ip_with_inet_dependency … … 195 195 196 196 /** 197 * Provide test casesfor `test_wp_privacy_anonymize_ip()`.197 * Data provider for `test_wp_privacy_anonymize_ip()`. 198 198 * 199 199 * @since 4.9.6 Moved from `Test_WP_Community_Events::data_get_unsafe_client_ip_anonymization()`. … … 262 262 263 263 /** 264 * Test email anonymization of `wp_privacy_anonymize_data()`.264 * Tests email anonymization of `wp_privacy_anonymize_data()`. 265 265 */ 266 266 public function test_anonymize_email() { … … 269 269 270 270 /** 271 * Test urlanonymization of `wp_privacy_anonymize_data()`.271 * Tests URL anonymization of `wp_privacy_anonymize_data()`. 272 272 */ 273 273 public function test_anonymize_url() { … … 276 276 277 277 /** 278 * Test date anonymization of `wp_privacy_anonymize_data()`.278 * Tests date anonymization of `wp_privacy_anonymize_data()`. 279 279 */ 280 280 public function test_anonymize_date() { … … 283 283 284 284 /** 285 * Test text anonymization of `wp_privacy_anonymize_data()`.285 * Tests text anonymization of `wp_privacy_anonymize_data()`. 286 286 */ 287 287 public function test_anonymize_text() { … … 291 291 292 292 /** 293 * Test long text anonymization of `wp_privacy_anonymize_data()`.293 * Tests long text anonymization of `wp_privacy_anonymize_data()`. 294 294 */ 295 295 public function test_anonymize_long_text() { … … 299 299 300 300 /** 301 * Test text anonymization when a filter is added.301 * Tests text anonymization when a filter is added. 302 302 * 303 303 * @ticket 44141 … … 312 312 313 313 /** 314 * Change the anonymized value for URLs.314 * Changes the anonymized value for URLs. 315 315 * 316 316 * @since 4.9.8 -
trunk/tests/phpunit/tests/functions/cleanDirsizeCache.php
r51938 r52780 9 9 10 10 /** 11 * Test the handling of invalid data passed as the $path parameter.11 * Tests the handling of invalid data passed as the $path parameter. 12 12 * 13 13 * @ticket 52241 … … 54 54 55 55 /** 56 * Test the handling of a non-path text string passed as the $path parameter.56 * Tests the handling of a non-path text string passed as the $path parameter. 57 57 * 58 58 * @ticket 52241 … … 106 106 107 107 /** 108 * Test the behaviour of the function when the transient doesn't exist.108 * Tests the behaviour of the function when the transient doesn't exist. 109 109 * 110 110 * @ticket 52241 … … 122 122 123 123 /** 124 * Test the behaviour of the function when the transient does exist, but is not an array.124 * Tests the behaviour of the function when the transient does exist, but is not an array. 125 125 * 126 126 * In particular, this tests that no PHP TypeErrors are being thrown. -
trunk/tests/phpunit/tests/functions/cleanupHeaderComment.php
r52777 r52780 12 12 13 13 /** 14 * Test cleanup header of header comment.14 * Tests _cleanup_header_comment(). 15 15 * 16 16 * @dataProvider data_cleanup_header_comment … … 24 24 25 25 /** 26 * Data provider for test_cleanup_header_comment .26 * Data provider for test_cleanup_header_comment(). 27 27 * 28 28 * @return array[] Test parameters { -
trunk/tests/phpunit/tests/functions/doEnclose.php
r52382 r52780 30 30 31 31 /** 32 * Test the function with an explicit content input.32 * Tests the function with an explicit content input. 33 33 * 34 34 * @since 5.3.0 … … 46 46 47 47 /** 48 * Test the function with an implicit content input.48 * Tests the function with an implicit content input. 49 49 * 50 50 * @since 5.3.0 … … 66 66 67 67 /** 68 * Data provider for `test_function_with_explicit_content_input()`68 * Data provider for `test_function_with_explicit_content_input()` 69 69 * and `test_function_with_implicit_content_input()`. 70 70 * -
trunk/tests/phpunit/tests/functions/wpArrayGet.php
r50970 r52780 12 12 13 13 /** 14 * Test _wp_array_get() with invalid parameters.14 * Tests _wp_array_get() with invalid parameters. 15 15 * 16 16 * @ticket 51720 … … 58 58 59 59 /** 60 * Test _wp_array_get() with non-subtree paths.60 * Tests _wp_array_get() with non-subtree paths. 61 61 * 62 62 * @ticket 51720 … … 112 112 113 113 /** 114 * Test _wp_array_get() with subtrees.114 * Tests _wp_array_get() with subtrees. 115 115 * 116 116 * @ticket 51720 … … 161 161 162 162 /** 163 * Test _wp_array_get() with zero strings.163 * Tests _wp_array_get() with zero strings. 164 164 * 165 165 * @ticket 51720 … … 212 212 213 213 /** 214 * Test _wp_array_get() with null values.214 * Tests _wp_array_get() with null values. 215 215 * 216 216 * @ticket 51720 … … 254 254 255 255 /** 256 * Test _wp_array_get() with empty paths.256 * Tests _wp_array_get() with empty paths. 257 257 * 258 258 * @ticket 51720 -
trunk/tests/phpunit/tests/functions/wpArraySet.php
r50966 r52780 12 12 13 13 /** 14 * Test _wp_array_set() with invalid parameters.14 * Tests _wp_array_set() with invalid parameters. 15 15 * 16 16 * @ticket 53175 … … 54 54 55 55 /** 56 * Test _wp_array_set() with simple non-subtree path.56 * Tests _wp_array_set() with simple non-subtree path. 57 57 * 58 58 * @ticket 53175 … … 85 85 86 86 /** 87 * Test _wp_array_set() with subtree paths.87 * Tests _wp_array_set() with subtree paths. 88 88 * 89 89 * @ticket 53175 -
trunk/tests/phpunit/tests/functions/wpArraySliceAssoc.php
r52774 r52780 12 12 13 13 /** 14 * Test wp_array_slice_assoc().14 * Tests wp_array_slice_assoc(). 15 15 * 16 16 * @dataProvider data_wp_array_slice_assoc_arrays … … 27 27 28 28 /** 29 * Test datafor wp_array_slice_assoc().29 * Data provider for wp_array_slice_assoc(). 30 30 * 31 31 * @return array -
trunk/tests/phpunit/tests/functions/wpToKebabCase.php
r52778 r52780 12 12 13 13 /** 14 * Test _wp_to_kebab_case().14 * Tests _wp_to_kebab_case(). 15 15 * 16 16 * @dataProvider data_wp_to_kebab_case -
trunk/tests/phpunit/tests/functions/wpValidateBoolean.php
r52777 r52780 10 10 11 11 /** 12 * Test wp_validate_boolean().12 * Tests wp_validate_boolean(). 13 13 * 14 14 * @dataProvider data_wp_validate_boolean
Note: See TracChangeset
for help on using the changeset viewer.