This patch tries to make assertions in tests more readable by using more self-documenting assertions as provided by modern PHPUnit versions. Among a few others, these two main changes are done: * I found a lot of assertions with the expected value being the *second* parameter. I did not changed all of them. Only some that can be replaced with assertNull() and such. * I try to replace all `assertTrue( is_…() )` with dedicated assertions. Change-Id: I1fc72188fbd0edacf13886e7f9a9eacbd85f13c2 |
||
|---|---|---|
| .. | ||
| CoreParserFunctionsTest.php | ||
| MagicVariableTest.php | ||
| ParserFactoryIntegrationTest.php | ||
| ParserFactoryTest.php | ||
| ParserMethodsTest.php | ||
| ParserOptionsTest.php | ||
| ParserOutputTest.php | ||
| ParserPreloadTest.php | ||
| ParserTest.php | ||
| PreprocessorTest.php | ||
| SanitizerTest.php | ||
| StripStateTest.php | ||
| TagHooksTest.php | ||