mirror of
git://develop.git.wordpress.org/
synced 2025-03-31 10:12:40 +02:00
The existing tests were running multiple functions through a `foreach()`. If any test failed, it would bail out and not test against the other scenarios. This commit: - Moves the scenarios to a data provider with named data sets, i.e. to ensure all scenarios are run and tested regardless if any fail. - Splits each function under test into individual test methods. - Adds a float scenario. - Adds method visibility modifiers. Follow-up to [25002]. Props jrf, hellofromTonya, pbearne. See #53635. git-svn-id: https://develop.svn.wordpress.org/trunk@51817 602fd350-edb4-49c9-b593-d223f7449a82