Issue #3467897: Rewrite the tests
(cherry picked from commit 3b774fdc)
e2451c6b Added more values returned by ApcTestTrait::storageData() 1e14c10e Slightly improved the code; added a test class 8b7b8097 Fixed the PHP_CodeSniffer errors 124d2663 Removed NULL from the returned values from ApcTestTrait::storageData() 799d2bb4 Fixed a PHP_CodeSniffer warning d71dd816 Used a single placeholder for bin and cache ID, to reduce the number of single... 502343a8 Removed any call to DrupalTestCase::generatePermutations() daa22c7a Changed the tests to exit with a failed assert when no value was added to the cache/APCu 69cb2393 Fixed PHP_CodeSniffer errors; added a test class 4b092476 Renamed a test class bf2c7efb Resorted the test classes eff5698e Used a better description for test classes 1ee3bafb Added a missing method documentation comment a2861763 Renamed a test class to make it run before the other ones 742d33a6 Changed the code to use ApcTestTrait::assertApcuKeyByName() and... dbeee020 Added ApcTestTrait::assertApcuKeySaved() a922cac9 Made the last parameter for ApcTestTrait::assertApcuKeySaved() optional with a default value of 0 7b854041 Changed more test methods to use ApcTestTrait::assertApcuKeySaved() e18fd166 Added ApcCacheTestTrait::assertCacheItemSaved() 062c684f Simplyfied code; corrected ApcTestTrait::assertNoApcuKeyByName() ce92728e Added a missing space; simplyfied code ba1a762a Added the expected value in the assert message 1c5894d6 Corrected the values passed to ApcCacheTestTrait::asserCacheItemSaved() 113a4c7f Changed the name of a test class 4c2863d6 Removed a long description for a test method
Co-authored-by: Alberto Paderno 22536-avpaderno@users.noreply.drupalcode.org