From 7f49c1320aaf673c9564887104b18eb4042195e7 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Thu, 29 May 2014 23:33:13 +0000 Subject: [PATCH] `@uses` means something entirely different for unit tests. More: http://thephp.cc/viewpoints/blog/2014/03/phpunit-4-0-code-coverage-improvements Code coverage analysis takes forever to run, and these annotations will cause it to fail in the middle. See #26999. git-svn-id: https://develop.svn.wordpress.org/trunk@28625 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/formatting/Smilies.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/phpunit/tests/formatting/Smilies.php b/tests/phpunit/tests/formatting/Smilies.php index b12d777bcb..f1e69f7b27 100644 --- a/tests/phpunit/tests/formatting/Smilies.php +++ b/tests/phpunit/tests/formatting/Smilies.php @@ -93,7 +93,6 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase { * @dataProvider get_custom_smilies_input_output * * Validate Custom Smilies are converted to images when use_smilies = 1 - * @uses $wpsmiliestrans */ function test_convert_custom_smilies ( $in_txt, $converted_txt ) { global $wpsmiliestrans; @@ -141,7 +140,6 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase { * * @ticket 16448 * @dataProvider get_smilies_ignore_tags - * @uses $wpsmiliestrans */ public function test_ignore_smilies_in_tags( $element ) { global $wpsmiliestrans; @@ -205,7 +203,6 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase { * * @ticket 20124 * @dataProvider get_smilies_combinations - * @uses $wpsmiliestrans */ public function test_smilies_combinations( $in_txt, $converted_txt ) { global $wpsmiliestrans; @@ -251,7 +248,6 @@ class Tests_Formatting_Smilies extends WP_UnitTestCase { * * @ticket 25303 * @dataProvider get_single_smilies_input_output - * @uses $wpsmiliestrans */ public function test_single_smilies_in_wpsmiliestrans( $in_txt, $converted_txt ) { global $wpsmiliestrans;