mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-20 14:50:18 +00:00
32 lines
674 B
PHP
32 lines
674 B
PHP
<?php
|
|
/**
|
|
* Class QRStringTestAbstract
|
|
*
|
|
* @created 24.12.2017
|
|
* @author Smiley <smiley@chillerlan.net>
|
|
* @copyright 2017 Smiley
|
|
* @license MIT
|
|
*/
|
|
|
|
namespace chillerlan\QRCodeTest\Output;
|
|
|
|
use chillerlan\QRCode\Output\QRString;
|
|
|
|
/**
|
|
* Tests the QRString output module
|
|
*/
|
|
abstract class QRStringTestAbstract extends QROutputTestAbstract{
|
|
|
|
protected string $FQN = QRString::class;
|
|
|
|
public static function moduleValueProvider():array{
|
|
return [
|
|
'invalid: wrong type' => [[], false],
|
|
'valid: string' => ['abc', true],
|
|
'valid: zero length string' => ['', true],
|
|
'valid: empty string' => [' ', true],
|
|
];
|
|
}
|
|
|
|
}
|