🛀 test overhaul

This commit is contained in:
smiley
2025-11-02 00:48:56 +01:00
parent b9d2059743
commit c99f5d4022
36 changed files with 356 additions and 333 deletions
+3 -10
View File
@@ -15,19 +15,12 @@ use chillerlan\QRCode\QROptions;
use chillerlan\QRCode\Data\QRMatrix;
use chillerlan\QRCode\Output\{QRGdImageAVIF, QROutputInterface};
use chillerlan\Settings\SettingsContainerInterface;
use function function_exists;
use PHPUnit\Framework\Attributes\{RequiresFunction, RequiresPhpExtension};
#[RequiresPhpExtension('gd')]
#[RequiresFunction('imageavif')]
final class QRGdImageAVIFTest extends QRGdImageTestAbstract{
protected function setUp():void{
parent::setUp();
if(!function_exists('imageavif')){
$this::markTestSkipped('no AVIF support');
}
}
protected function getOutputInterface(
SettingsContainerInterface|QROptions $options,
QRMatrix $matrix,