@@ -156,13 +156,27 @@
-
Tests the QRInterventionImage output module
+
Tests the QRInterventionImage output class
+
+
+
+
+ #[RequiresPhpExtension ]
+
+
+ 'gd'
+
+
+
@@ -184,6 +198,12 @@
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -217,12 +237,6 @@
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -232,74 +246,74 @@
- moduleValueProvider()
+ moduleValueProvider()
: array<string|int, mixed>
- testOutputGetResource()
+ outputGetResource()
: void
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -312,7 +326,7 @@
- setUp()
+ setUp()
: void
@@ -330,6 +344,37 @@
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -482,44 +527,6 @@
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -537,11 +544,11 @@
>
moduleValueProvider()
-
+
- CssColorModuleValueProviderTrait.php
+ CssColorModuleValueProviderTrait.php
:
21
@@ -573,22 +580,22 @@
-public
"
>
-
- testOutputGetResource()
-
+
+ outputGetResource()
+
public
- testOutputGetResource ( ) : void
+ outputGetResource ( ) : void
@@ -598,6 +605,17 @@
+
@@ -607,15 +625,15 @@
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -623,7 +641,7 @@
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -633,6 +651,17 @@
+
@@ -642,9 +671,9 @@
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -658,7 +687,7 @@
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -668,6 +697,17 @@
+
@@ -677,15 +717,15 @@
-public
"
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -693,7 +733,7 @@
public
- testSetModuleValues ( ) : void
+ setModuleValues ( ) : void
@@ -703,6 +743,17 @@
+
@@ -712,22 +763,22 @@
-public
"
>
-
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -216,12 +222,6 @@
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -231,68 +231,68 @@
- moduleValueProvider()
+ moduleValueProvider()
: array<string|int, mixed>
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -323,6 +323,37 @@
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -475,44 +506,6 @@
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -530,11 +523,11 @@
>
moduleValueProvider()
-
+
- CssColorModuleValueProviderTrait.php
+ CssColorModuleValueProviderTrait.php
:
21
@@ -566,15 +559,15 @@
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -582,7 +575,7 @@
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -592,6 +585,17 @@
+
@@ -601,9 +605,9 @@
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -617,7 +621,7 @@
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -627,6 +631,17 @@
+
@@ -636,15 +651,15 @@
-public
"
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -652,7 +667,7 @@
public
- testSetModuleValues ( ) : void
+ setModuleValues ( ) : void
@@ -662,6 +677,17 @@
+
@@ -671,22 +697,22 @@
-public
"
>
-
- testValidateModuleValues()
-
+
+ validateModuleValues()
+
public
- testValidateModuleValues ( mixed $value , bool $expected ) : void
+ validateModuleValues ( mixed $value , bool $expected ) : void
@@ -715,7 +741,7 @@
@@ -725,6 +751,11 @@
'moduleValueProvider'
+
+
+
+ #[Test ]
+
@@ -738,11 +769,11 @@
>
createBuildDir()
-
+
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -216,12 +222,6 @@
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -237,62 +237,62 @@
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -323,6 +323,37 @@
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -475,44 +506,6 @@
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -566,15 +559,15 @@
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -582,7 +575,7 @@
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -592,6 +585,17 @@
+
@@ -601,9 +605,9 @@
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -617,7 +621,7 @@
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -627,6 +631,17 @@
+
@@ -636,15 +651,15 @@
-public
"
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -652,7 +667,7 @@
public
- testSetModuleValues ( ) : void
+ setModuleValues ( ) : void
@@ -662,6 +677,17 @@
+
@@ -671,22 +697,22 @@
-public
"
>
-
- testValidateModuleValues()
-
+
+ validateModuleValues()
+
public
- testValidateModuleValues ( mixed $value , bool $expected ) : void
+ validateModuleValues ( mixed $value , bool $expected ) : void
@@ -715,7 +741,7 @@
@@ -725,6 +751,11 @@
'moduleValueProvider'
+
+
+
+ #[Test ]
+
@@ -738,11 +769,11 @@
>
createBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
36
@@ -772,7 +803,7 @@
Tags
-
+
@@ -798,11 +829,11 @@
>
getBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
54
@@ -832,7 +863,7 @@
Tags
-
+
@@ -862,11 +893,11 @@
>
getBuildFileContent()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
88
@@ -896,7 +927,7 @@
Tags
-
+
@@ -926,11 +957,11 @@
>
getBuildFilePath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
69
@@ -960,7 +991,7 @@
Tags
-
+
@@ -990,11 +1021,11 @@
>
getBuildPath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
27
@@ -1236,6 +1267,7 @@
Constants
@@ -1246,7 +1278,6 @@
$matrix
$options
$outputInterface
- $_buildDir
@@ -1254,15 +1285,15 @@
diff --git a/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html b/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html
index e3fe5c93c..6f345ceab 100644
--- a/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html
+++ b/classes/chillerlan-QRCodeTest-Output-QRMarkupTestAbstract.html
@@ -141,7 +141,7 @@
uses
- CssColorModuleValueProviderTrait
+ CssColorModuleValueProviderTrait
@@ -154,11 +154,11 @@
-
Tests the QRMarkup output module
+
Tests the QRMarkup output classes
@@ -186,6 +186,12 @@
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -219,12 +225,6 @@
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -234,68 +234,68 @@
- moduleValueProvider()
+ moduleValueProvider()
: array<string|int, mixed>
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -326,6 +326,37 @@
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -478,44 +509,6 @@
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -533,11 +526,11 @@
>
moduleValueProvider()
-
+
- CssColorModuleValueProviderTrait.php
+ CssColorModuleValueProviderTrait.php
:
21
@@ -569,15 +562,15 @@
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -585,7 +578,7 @@
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -595,6 +588,17 @@
+
@@ -604,9 +608,9 @@
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -620,7 +624,7 @@
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -630,6 +634,17 @@
+
@@ -639,15 +654,15 @@
-public
"
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -655,7 +670,7 @@
public
- testSetModuleValues ( ) : void
+ setModuleValues ( ) : void
@@ -665,6 +680,17 @@
+
@@ -674,22 +700,22 @@
-public
"
>
-
- testValidateModuleValues()
-
+
+ validateModuleValues()
+
public
- testValidateModuleValues ( mixed $value , bool $expected ) : void
+ validateModuleValues ( mixed $value , bool $expected ) : void
@@ -718,7 +744,7 @@
@@ -728,6 +754,11 @@
'moduleValueProvider'
+
+
+
+ #[Test ]
+
@@ -741,11 +772,11 @@
>
createBuildDir()
-
+
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -214,12 +220,6 @@
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -229,68 +229,68 @@
- moduleValueProvider()
+ moduleValueProvider()
: array<string|int, mixed>
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -321,6 +321,37 @@
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -473,44 +504,6 @@
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -528,11 +521,11 @@
>
moduleValueProvider()
-
+
- CssColorModuleValueProviderTrait.php
+ CssColorModuleValueProviderTrait.php
:
21
@@ -564,15 +557,15 @@
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -580,7 +573,7 @@
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -590,6 +583,17 @@
+
@@ -599,9 +603,9 @@
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -615,7 +619,7 @@
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -625,6 +629,17 @@
+
@@ -634,15 +649,15 @@
-public
"
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -650,7 +665,7 @@
public
- testSetModuleValues ( ) : void
+ setModuleValues ( ) : void
@@ -660,6 +675,17 @@
+
@@ -669,22 +695,22 @@
-public
"
>
-
- testValidateModuleValues()
-
+
+ validateModuleValues()
+
public
- testValidateModuleValues ( mixed $value , bool $expected ) : void
+ validateModuleValues ( mixed $value , bool $expected ) : void
@@ -713,7 +739,7 @@
@@ -723,6 +749,11 @@
'moduleValueProvider'
+
+
+
+ #[Test ]
+
@@ -736,11 +767,11 @@
>
createBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
36
@@ -770,7 +801,7 @@
Tags
-
+
@@ -796,11 +827,11 @@
>
getBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
54
@@ -830,7 +861,7 @@
Tags
-
+
@@ -860,11 +891,11 @@
>
getBuildFileContent()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
88
@@ -894,7 +925,7 @@
Tags
-
+
@@ -924,11 +955,11 @@
>
getBuildFilePath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
69
@@ -958,7 +989,7 @@
Tags
-
+
@@ -988,11 +1019,11 @@
>
getBuildPath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
27
@@ -1234,6 +1265,7 @@
Constants
@@ -1244,23 +1276,22 @@
$matrix
$options
$outputInterface
- $_buildDir
Methods
diff --git a/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html b/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html
index cebd173fa..6dd25cc2e 100644
--- a/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html
+++ b/classes/chillerlan-QRCodeTest-Output-QROutputTestAbstract.html
@@ -141,7 +141,7 @@
uses
- BuildDirTrait
+ BuildDirTrait
@@ -187,6 +187,12 @@ should also be used to test custom output modules
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -220,12 +226,6 @@ should also be used to test custom output modules
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -241,62 +241,62 @@ should also be used to test custom output modules
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -327,6 +327,37 @@ should also be used to test custom output modules
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -479,44 +510,6 @@ should also be used to test custom output modules
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -540,7 +533,7 @@ should also be used to test custom output modules
@@ -586,15 +579,15 @@ should also be used to test custom output modules
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -602,7 +595,7 @@ should also be used to test custom output modules
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -612,6 +605,17 @@ should also be used to test custom output modules
+
@@ -621,9 +625,9 @@ should also be used to test custom output modules
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -637,7 +641,7 @@ should also be used to test custom output modules
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -647,6 +651,17 @@ should also be used to test custom output modules
+
@@ -656,15 +671,15 @@ should also be used to test custom output modules
-public
-abstract "
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -672,7 +687,7 @@ should also be used to test custom output modules
public
- abstract testSetModuleValues ( ) : void
+ abstract setModuleValues ( ) : void
@@ -682,6 +697,17 @@ should also be used to test custom output modules
+
@@ -691,22 +717,22 @@ should also be used to test custom output modules
-public
"
>
-
- testValidateModuleValues()
-
+
+ validateModuleValues()
+
public
- testValidateModuleValues ( mixed $value , bool $expected ) : void
+ validateModuleValues ( mixed $value , bool $expected ) : void
@@ -735,7 +761,7 @@ should also be used to test custom output modules
@@ -745,6 +771,11 @@ should also be used to test custom output modules
'moduleValueProvider'
+
+
+
+ #[Test ]
+
@@ -758,11 +789,11 @@ should also be used to test custom output modules
>
createBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
36
@@ -792,7 +823,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -818,11 +849,11 @@ should also be used to test custom output modules
>
getBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
54
@@ -852,7 +883,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -882,11 +913,11 @@ should also be used to test custom output modules
>
getBuildFileContent()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
88
@@ -916,7 +947,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -946,11 +977,11 @@ should also be used to test custom output modules
>
getBuildFilePath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
69
@@ -980,7 +1011,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -1010,11 +1041,11 @@ should also be used to test custom output modules
>
getBuildPath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
27
@@ -1256,6 +1287,7 @@ should also be used to test custom output modules
Constants
@@ -1266,7 +1298,6 @@ should also be used to test custom output modules
$matrix
$options
$outputInterface
- $_buildDir
@@ -1274,15 +1305,15 @@ should also be used to test custom output modules
diff --git a/classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html b/classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html
index 1e81483a7..80d77c986 100644
--- a/classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html
+++ b/classes/chillerlan-QRCodeTest-Output-QRStringJSONTest.html
@@ -141,7 +141,7 @@
uses
- CssColorModuleValueProviderTrait
+ CssColorModuleValueProviderTrait
@@ -154,12 +154,11 @@
-
Test abstract for the several (built-in) output modules,
-should also be used to test custom output modules
+
Tests the QRStringJSON output class
@@ -187,6 +186,12 @@ should also be used to test custom output modules
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -220,12 +225,6 @@ should also be used to test custom output modules
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -235,68 +234,68 @@ should also be used to test custom output modules
- moduleValueProvider()
+ moduleValueProvider()
: array<string|int, mixed>
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -327,6 +326,37 @@ should also be used to test custom output modules
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -479,44 +509,6 @@ should also be used to test custom output modules
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -534,11 +526,11 @@ should also be used to test custom output modules
>
moduleValueProvider()
-
+
- CssColorModuleValueProviderTrait.php
+ CssColorModuleValueProviderTrait.php
:
21
@@ -570,15 +562,15 @@ should also be used to test custom output modules
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -586,7 +578,7 @@ should also be used to test custom output modules
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -596,6 +588,17 @@ should also be used to test custom output modules
+
@@ -605,9 +608,9 @@ should also be used to test custom output modules
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -621,7 +624,7 @@ should also be used to test custom output modules
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -631,6 +634,17 @@ should also be used to test custom output modules
+
@@ -640,15 +654,15 @@ should also be used to test custom output modules
-public
"
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -656,7 +670,7 @@ should also be used to test custom output modules
public
- testSetModuleValues ( ) : void
+ setModuleValues ( ) : void
@@ -666,6 +680,17 @@ should also be used to test custom output modules
+
@@ -675,22 +700,22 @@ should also be used to test custom output modules
-public
"
>
-
- testValidateModuleValues()
-
+
+ validateModuleValues()
+
public
- testValidateModuleValues ( mixed $value , bool $expected ) : void
+ validateModuleValues ( mixed $value , bool $expected ) : void
@@ -719,7 +744,7 @@ should also be used to test custom output modules
@@ -729,6 +754,11 @@ should also be used to test custom output modules
'moduleValueProvider'
+
+
+
+ #[Test ]
+
@@ -742,11 +772,11 @@ should also be used to test custom output modules
>
createBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
36
@@ -776,7 +806,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -802,11 +832,11 @@ should also be used to test custom output modules
>
getBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
54
@@ -836,7 +866,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -866,11 +896,11 @@ should also be used to test custom output modules
>
getBuildFileContent()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
88
@@ -900,7 +930,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -930,11 +960,11 @@ should also be used to test custom output modules
>
getBuildFilePath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
69
@@ -964,7 +994,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -994,11 +1024,11 @@ should also be used to test custom output modules
>
getBuildPath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
27
@@ -1049,7 +1079,7 @@ should also be used to test custom output modules
@@ -1240,6 +1270,7 @@ should also be used to test custom output modules
Constants
@@ -1250,23 +1281,22 @@ should also be used to test custom output modules
$matrix
$options
$outputInterface
- $_buildDir
Methods
diff --git a/classes/chillerlan-QRCodeTest-Output-QRStringTextTest.html b/classes/chillerlan-QRCodeTest-Output-QRStringTextTest.html
index 912860a1b..cce0f592b 100644
--- a/classes/chillerlan-QRCodeTest-Output-QRStringTextTest.html
+++ b/classes/chillerlan-QRCodeTest-Output-QRStringTextTest.html
@@ -151,12 +151,11 @@
- Test abstract for the several (built-in) output modules,
-should also be used to test custom output modules
+ Tests the QRStringText output class
@@ -184,6 +183,12 @@ should also be used to test custom output modules
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -217,12 +222,6 @@ should also be used to test custom output modules
: QROutputInterface
-
- $_buildDir
-
- : string
-
-
@@ -238,62 +237,62 @@ should also be used to test custom output modules
- testRenderToCacheFile()
+ renderToCacheFile()
: void
coverage of the built-in output modules
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- testSetModuleValues()
+ setModuleValues()
: void
covers the module values settings
- testValidateModuleValues()
+ validateModuleValues()
: void
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -324,6 +323,37 @@ should also be used to test custom output modules
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -476,44 +506,6 @@ should also be used to test custom output modules
-
-
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
@@ -537,7 +529,7 @@ should also be used to test custom output modules
@@ -583,15 +575,15 @@ should also be used to test custom output modules
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -599,7 +591,7 @@ should also be used to test custom output modules
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -609,6 +601,17 @@ should also be used to test custom output modules
+
@@ -618,9 +621,9 @@ should also be used to test custom output modules
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -634,7 +637,7 @@ should also be used to test custom output modules
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -644,6 +647,17 @@ should also be used to test custom output modules
+
@@ -653,15 +667,15 @@ should also be used to test custom output modules
-public
"
>
-
- testSetModuleValues()
-
+
+ setModuleValues()
+
@@ -669,7 +683,7 @@ should also be used to test custom output modules
public
- testSetModuleValues ( ) : void
+ setModuleValues ( ) : void
@@ -679,6 +693,17 @@ should also be used to test custom output modules
+
@@ -688,22 +713,22 @@ should also be used to test custom output modules
-public
"
>
-
- testValidateModuleValues()
-
+
+ validateModuleValues()
+
public
- testValidateModuleValues ( mixed $value , bool $expected ) : void
+ validateModuleValues ( mixed $value , bool $expected ) : void
@@ -732,7 +757,7 @@ should also be used to test custom output modules
@@ -742,6 +767,11 @@ should also be used to test custom output modules
'moduleValueProvider'
+
+
+
+ #[Test ]
+
@@ -755,11 +785,11 @@ should also be used to test custom output modules
>
createBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
36
@@ -789,7 +819,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -815,11 +845,11 @@ should also be used to test custom output modules
>
getBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
54
@@ -849,7 +879,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -879,11 +909,11 @@ should also be used to test custom output modules
>
getBuildFileContent()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
88
@@ -913,7 +943,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -943,11 +973,11 @@ should also be used to test custom output modules
>
getBuildFilePath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
69
@@ -977,7 +1007,7 @@ should also be used to test custom output modules
Tags
-
+
@@ -1007,11 +1037,11 @@ should also be used to test custom output modules
>
getBuildPath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
27
@@ -1062,7 +1092,7 @@ should also be used to test custom output modules
@@ -1253,6 +1283,7 @@ should also be used to test custom output modules
Constants
@@ -1263,7 +1294,6 @@ should also be used to test custom output modules
$matrix
$options
$outputInterface
- $_buildDir
@@ -1271,15 +1301,15 @@ should also be used to test custom output modules
diff --git a/classes/chillerlan-QRCodeTest-QRCodeReaderGDTest.html b/classes/chillerlan-QRCodeTest-QRCodeReaderGDTest.html
index d48995011..fa5719a61 100644
--- a/classes/chillerlan-QRCodeTest-QRCodeReaderGDTest.html
+++ b/classes/chillerlan-QRCodeTest-QRCodeReaderGDTest.html
@@ -150,7 +150,7 @@
@@ -161,6 +161,20 @@
+
+
+
+
+ #[RequiresPhpExtension ]
+
+
+ 'gd'
+
+
+
@@ -189,7 +203,7 @@
- MAX_LENGTH
+ MAX_LENGTH
= [
// v => [NUMERIC => [L, M, Q, H ], ALPHANUM => [L, M, Q, H], BINARY => [L, M, Q, H ], KANJI => [L, M, Q, H ]]
@@ -273,7 +287,7 @@
- getMaxLengthForMode()
+ getMaxLengthForMode()
: int
@@ -286,32 +300,32 @@
- testReadData()
+ readData()
: void
- testReader()
+ reader()
: void
- testReaderMultiMode()
+ readerMultiMode()
: void
- debugMatrix()
+ debugMatrix()
: void
Matrix debugging console output
- dm()
+ dm()
: void
@@ -389,12 +403,12 @@
MAX_LENGTH
-
+
- QRMaxLengthTrait.php
+ QRMaxLengthTrait.php
:
29
@@ -458,7 +472,7 @@
Tags
-
+
@@ -575,7 +589,7 @@
@@ -607,11 +621,11 @@
>
getMaxLengthForMode()
-
+
- QRMaxLengthTrait.php
+ QRMaxLengthTrait.php
:
80
@@ -655,7 +669,7 @@
Tags
-
+
@@ -698,7 +712,7 @@
@@ -744,22 +758,22 @@
-public
"
>
-
- testReadData()
-
+
+ readData()
+
public
- testReadData ( Version $version , EccLevel $ecc , string $expected ) : void
+ readData ( Version $version , EccLevel $ecc , string $expected ) : void
@@ -795,7 +809,7 @@
@@ -813,6 +827,11 @@
'slow'
+
+
+
+ #[Test ]
+
@@ -824,9 +843,9 @@
-public
"
>
-
- testReader()
-
+
+ reader()
+
@@ -839,7 +858,7 @@
public
- testReader ( string $img , string $expected , bool $grayscale ) : void
+ reader ( string $img , string $expected , bool $grayscale ) : void
@@ -875,7 +894,7 @@
@@ -893,6 +912,11 @@
'slow'
+
+
+
+ #[Test ]
+
@@ -904,22 +928,22 @@
-public
"
>
-
- testReaderMultiMode()
-
+
+ readerMultiMode()
+
public
- testReaderMultiMode ( ) : void
+ readerMultiMode ( ) : void
@@ -929,6 +953,17 @@
+
@@ -940,11 +975,11 @@
>
debugMatrix()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
27
@@ -985,11 +1020,11 @@
>
dm()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
84
@@ -1019,7 +1054,7 @@
Tags
-
+
@@ -1027,7 +1062,7 @@
see
- QRMatrixTest::matrixProvider()
+ QRMatrixTest::matrixProvider()
@@ -1051,7 +1086,7 @@
@@ -1242,7 +1277,7 @@
@@ -1258,13 +1293,13 @@
diff --git a/classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html b/classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html
index 5f1d92a00..0797bf817 100644
--- a/classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html
+++ b/classes/chillerlan-QRCodeTest-QRCodeReaderImagickTest.html
@@ -150,7 +150,7 @@
@@ -161,6 +161,20 @@
+
+
+
+
+ #[RequiresPhpExtension ]
+
+
+ 'imagick'
+
+
+
@@ -189,7 +203,7 @@
- MAX_LENGTH
+ MAX_LENGTH
= [
// v => [NUMERIC => [L, M, Q, H ], ALPHANUM => [L, M, Q, H], BINARY => [L, M, Q, H ], KANJI => [L, M, Q, H ]]
@@ -273,7 +287,7 @@
- getMaxLengthForMode()
+ getMaxLengthForMode()
: int
@@ -286,25 +300,25 @@
- testReadData()
+ readData()
: void
- testReader()
+ reader()
: void
- testReaderMultiMode()
+ readerMultiMode()
: void
- testReadVectorFormats()
+ readVectorFormats()
: void
@@ -316,14 +330,14 @@
- debugMatrix()
+ debugMatrix()
: void
Matrix debugging console output
- dm()
+ dm()
: void
@@ -401,12 +415,12 @@
MAX_LENGTH
-
+
- QRMaxLengthTrait.php
+ QRMaxLengthTrait.php
:
29
@@ -470,7 +484,7 @@
Tags
-
+
@@ -587,7 +601,7 @@
@@ -619,11 +633,11 @@
>
getMaxLengthForMode()
-
+
- QRMaxLengthTrait.php
+ QRMaxLengthTrait.php
:
80
@@ -667,7 +681,7 @@
Tags
-
+
@@ -710,7 +724,7 @@
@@ -756,22 +770,22 @@
-public
"
>
-
- testReadData()
-
+
+ readData()
+
public
- testReadData ( Version $version , EccLevel $ecc , string $expected ) : void
+ readData ( Version $version , EccLevel $ecc , string $expected ) : void
@@ -807,7 +821,7 @@
@@ -825,6 +839,11 @@
'slow'
+
+
+
+ #[Test ]
+
@@ -836,9 +855,9 @@
-public
"
>
-
- testReader()
-
+
+ reader()
+
@@ -851,7 +870,7 @@
public
- testReader ( string $img , string $expected , bool $grayscale ) : void
+ reader ( string $img , string $expected , bool $grayscale ) : void
@@ -887,7 +906,7 @@
@@ -905,6 +924,11 @@
'slow'
+
+
+
+ #[Test ]
+
@@ -916,22 +940,22 @@
-public
"
>
-
- testReaderMultiMode()
-
+
+ readerMultiMode()
+
public
- testReaderMultiMode ( ) : void
+ readerMultiMode ( ) : void
@@ -941,6 +965,17 @@
+
@@ -950,22 +985,22 @@
-public
"
>
-
- testReadVectorFormats()
-
+
+ readVectorFormats()
+
public
- testReadVectorFormats ( string $img , string $expected ) : void
+ readVectorFormats ( string $img , string $expected ) : void
@@ -994,7 +1029,7 @@
@@ -1004,6 +1039,11 @@
'vectorQRCodeProvider'
+
+
+
+ #[Test ]
+
@@ -1023,7 +1063,7 @@
@@ -1071,11 +1111,11 @@
>
debugMatrix()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
27
@@ -1116,11 +1156,11 @@
>
dm()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
84
@@ -1150,7 +1190,7 @@
Tags
-
+
@@ -1158,7 +1198,7 @@
see
- QRMatrixTest::matrixProvider()
+ QRMatrixTest::matrixProvider()
@@ -1182,7 +1222,7 @@
@@ -1373,7 +1413,7 @@
@@ -1389,15 +1429,15 @@
diff --git a/classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html b/classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html
index ba0eafb37..349a227f1 100644
--- a/classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html
+++ b/classes/chillerlan-QRCodeTest-QRCodeReaderTestAbstract.html
@@ -140,7 +140,7 @@
uses
- QRMaxLengthTrait , QRMatrixDebugTrait
+ QRMaxLengthTrait , QRMatrixDebugTrait
@@ -192,7 +192,7 @@
- MAX_LENGTH
+ MAX_LENGTH
= [
// v => [NUMERIC => [L, M, Q, H ], ALPHANUM => [L, M, Q, H], BINARY => [L, M, Q, H ], KANJI => [L, M, Q, H ]]
@@ -276,7 +276,7 @@
- getMaxLengthForMode()
+ getMaxLengthForMode()
: int
@@ -289,32 +289,32 @@
- testReadData()
+ readData()
: void
- testReader()
+ reader()
: void
- testReaderMultiMode()
+ readerMultiMode()
: void
- debugMatrix()
+ debugMatrix()
: void
Matrix debugging console output
- dm()
+ dm()
: void
@@ -392,12 +392,12 @@
MAX_LENGTH
-
+
- QRMaxLengthTrait.php
+ QRMaxLengthTrait.php
:
29
@@ -461,7 +461,7 @@
Tags
-
+
@@ -578,7 +578,7 @@
@@ -610,11 +610,11 @@
>
getMaxLengthForMode()
-
+
- QRMaxLengthTrait.php
+ QRMaxLengthTrait.php
:
80
@@ -658,7 +658,7 @@
Tags
-
+
@@ -701,7 +701,7 @@
@@ -747,22 +747,22 @@
-public
"
>
-
- testReadData()
-
+
+ readData()
+
public
- testReadData ( Version $version , EccLevel $ecc , string $expected ) : void
+ readData ( Version $version , EccLevel $ecc , string $expected ) : void
@@ -798,7 +798,7 @@
@@ -816,6 +816,11 @@
'slow'
+
+
+
+ #[Test ]
+
@@ -827,9 +832,9 @@
-public
"
>
-
- testReader()
-
+
+ reader()
+
@@ -842,7 +847,7 @@
public
- testReader ( string $img , string $expected , bool $grayscale ) : void
+ reader ( string $img , string $expected , bool $grayscale ) : void
@@ -878,7 +883,7 @@
@@ -896,6 +901,11 @@
'slow'
+
+
+
+ #[Test ]
+
@@ -907,22 +917,22 @@
-public
"
>
-
- testReaderMultiMode()
-
+
+ readerMultiMode()
+
public
- testReaderMultiMode ( ) : void
+ readerMultiMode ( ) : void
@@ -932,6 +942,17 @@
+
@@ -943,11 +964,11 @@
>
debugMatrix()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
27
@@ -988,11 +1009,11 @@
>
dm()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
84
@@ -1022,7 +1043,7 @@
Tags
-
+
@@ -1030,7 +1051,7 @@
see
- QRMatrixTest::matrixProvider()
+ QRMatrixTest::matrixProvider()
@@ -1054,7 +1075,7 @@
@@ -1245,7 +1266,7 @@
@@ -1261,13 +1282,13 @@
diff --git a/classes/chillerlan-QRCodeTest-QRCodeTest.html b/classes/chillerlan-QRCodeTest-QRCodeTest.html
index 836b2418e..6fee13906 100644
--- a/classes/chillerlan-QRCodeTest-QRCodeTest.html
+++ b/classes/chillerlan-QRCodeTest-QRCodeTest.html
@@ -140,7 +140,7 @@
uses
- BuildDirTrait
+ BuildDirTrait
@@ -153,7 +153,7 @@
@@ -185,6 +185,12 @@
+
+ _buildDir
+
+ = __DIR__ . '/../../.build/'
+
+
buildDir
@@ -200,12 +206,6 @@
-
- $_buildDir
-
- : string
-
-
$options
@@ -227,63 +227,76 @@
- testInitCustomOutputInterfaceNotExistsException()
+ addEciSegment()
+
+ : void
+
+Tests adding and decoding an ECI sequence
+
+
+ addEciSegmentInvalidCharsetException()
+
+ : void
+
+
+
+ initCustomOutputInterfaceNotExistsException()
: void
tests if an exception is thrown if the given output class does not exist
- testInitCustomOutputInterfaceNotImplementsException()
+ initCustomOutputInterfaceNotImplementsException()
: void
tests if an exception is thrown if the given output class does not implement QROutputInterface
- testRenderToCacheFile()
+ renderToCacheFile()
: void
Tests if a cache file is properly saved in the given path
- testSaveException()
+ saveException()
: void
Tests if an exception is thrown when trying to write a cache file to an invalid destination
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -307,6 +320,37 @@
+
+
+ _buildDir
+
+
+
+
+
+
+
+
+
+ protected
+ mixed
+ _buildDir
+ = __DIR__ . '/../../.build/'
+
+
+
+
+
+
+
+
+
+
buildDir
@@ -317,7 +361,7 @@
@@ -353,44 +397,6 @@
-property
-private
"
->
-
- $_buildDir
-
-
-
-
-
-
-
-
-
-
- private
- string
- $_buildDir
- = __DIR__ . '/../.build/'
-
-
-
-
-
-
-
-
-
-
-
$options
@@ -402,7 +408,7 @@
@@ -440,7 +446,7 @@
@@ -475,15 +481,106 @@
-public
"
>
-
- testInitCustomOutputInterfaceNotExistsException()
-
+
+ addEciSegment()
+
+
+ Tests adding and decoding an ECI sequence
+
+
+ public
+ addEciSegment ( ) : void
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ addEciSegmentInvalidCharsetException()
+
+
+
+
+
+
+
+ public
+ addEciSegmentInvalidCharsetException ( ) : void
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ initCustomOutputInterfaceNotExistsException()
+
+
+
+
@@ -491,7 +588,7 @@
public
- testInitCustomOutputInterfaceNotExistsException ( ) : void
+ initCustomOutputInterfaceNotExistsException ( ) : void
@@ -501,6 +598,17 @@
+
@@ -510,15 +618,15 @@
-public
"
>
-
- testInitCustomOutputInterfaceNotImplementsException()
-
+
+ initCustomOutputInterfaceNotImplementsException()
+
@@ -526,7 +634,7 @@
public
- testInitCustomOutputInterfaceNotImplementsException ( ) : void
+ initCustomOutputInterfaceNotImplementsException ( ) : void
@@ -536,6 +644,17 @@
+
@@ -545,15 +664,15 @@
-public
"
>
-
- testRenderToCacheFile()
-
+
+ renderToCacheFile()
+
@@ -561,7 +680,7 @@
public
- testRenderToCacheFile ( ) : void
+ renderToCacheFile ( ) : void
@@ -571,6 +690,17 @@
+
@@ -580,15 +710,15 @@
-public
"
>
-
- testSaveException()
-
+
+ saveException()
+
@@ -596,7 +726,7 @@
public
- testSaveException ( ) : void
+ saveException ( ) : void
@@ -606,6 +736,17 @@
+
@@ -617,11 +758,11 @@
>
createBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
36
@@ -651,7 +792,7 @@
Tags
-
+
@@ -677,11 +818,11 @@
>
getBuildDir()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
54
@@ -711,7 +852,7 @@
Tags
-
+
@@ -741,11 +882,11 @@
>
getBuildFileContent()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
88
@@ -775,7 +916,7 @@
Tags
-
+
@@ -805,11 +946,11 @@
>
getBuildFilePath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
69
@@ -839,7 +980,7 @@
Tags
-
+
@@ -869,11 +1010,11 @@
>
getBuildPath()
-
+
- BuildDirTrait.php
+ BuildDirTrait.php
:
27
@@ -924,7 +1065,7 @@
@@ -1060,6 +1201,7 @@
Constants
@@ -1067,7 +1209,6 @@
Properties
@@ -1076,15 +1217,17 @@
Methods
diff --git a/classes/chillerlan-QRCodeTest-QROptionsTest.html b/classes/chillerlan-QRCodeTest-QROptionsTest.html
index 5387a7cb2..49a7687d0 100644
--- a/classes/chillerlan-QRCodeTest-QROptionsTest.html
+++ b/classes/chillerlan-QRCodeTest-QROptionsTest.html
@@ -186,91 +186,61 @@
- circleRadiusProvider()
-
- : array<string|int, array<string|int, float>>
-
-
-
- logoSpaceValueProvider()
-
- : array<string|int, array<string|int, int>>
-
-
-
- RGBProvider()
-
- : array<string|int, array<string|int, array<string|int, int>>>
-
-
-
- testClampCircleRadius()
+ clampCircleRadius()
: void
Tests clamping of the circle radius
- testClampLogoSpaceValue()
+ clampLogoSpaceValue()
: void
Tests the clamping (between 0 and 177) of the logo space values
- testLogoSpaceStartNullable()
+ logoSpaceStartNullable()
: void
Tests if the optional logo space start values are nullable
- testSetEccLevel()
+ setEccLevel()
: void
Tests setting the ECC level from string or int
- testSetEccLevelFromIntException()
+ setEccLevelFromIntException()
: void
Tests if an exception is thrown when attempting to set an invalid ECC level integer
- testSetEccLevelFromStringException()
+ setEccLevelFromStringException()
: void
Tests if an exception is thrown when attempting to set an invalid ECC level string
- testVersionClamp()
+ versionClamp()
: void
Tests the $version clamping
- testVersionMinMaxClamp()
+ versionMinMaxClamp()
: void
Tests the $versionMin/$versionMax clamping
-
- VersionMinMaxProvider()
-
- : array<string|int, array<string|int, int>>
-
-
-
- VersionProvider()
-
- : array<string|int, array<string|int, int>>
-
-
@@ -286,134 +256,20 @@
-
- circleRadiusProvider()
-
-
-
-
-
-
-
- public
- static circleRadiusProvider ( ) : array<string|int, array<string|int, float>>
-
-
-
-
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, float>>
-
-
-
-
-
- logoSpaceValueProvider()
-
-
-
-
-
-
-
- public
- static logoSpaceValueProvider ( ) : array<string|int, array<string|int, int>>
-
-
-
-
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, int>>
-
-
-
-
-
- RGBProvider()
-
-
-
-
-
-
-
- public
- static RGBProvider ( ) : array<string|int, array<string|int, array<string|int, int>>>
-
-
-
-
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, array<string|int, int>>>
-
-
-
-
-
- testClampCircleRadius()
-
+
+ clampCircleRadius()
+
@@ -421,7 +277,7 @@
public
- testClampCircleRadius ( float $value , float $expected ) : void
+ clampCircleRadius ( float $value , float $expected ) : void
@@ -450,15 +306,45 @@
- #[DataProvider ]
+ #[Test ]
+
+
+
+
+ #[TestWith ]
- 'circleRadiusProvider'
+ [0.0, 0.1]
+
+
+ 'min'
+
+
+
+
+ #[TestWith ]
+
+
+ [0.5, 0.5]
+
+
+ 'no clamp'
+
+
+
+
+ #[TestWith ]
+
+
+ [1.5, 0.75]
+
+
+ 'max'
@@ -471,15 +357,15 @@
-public
"
>
-
- testClampLogoSpaceValue()
-
+
+ clampLogoSpaceValue()
+
@@ -487,7 +373,7 @@
public
- testClampLogoSpaceValue ( int $value , int $expected ) : void
+ clampLogoSpaceValue ( int $value , int $expected ) : void
@@ -516,15 +402,67 @@
- #[DataProvider ]
+ #[Test ]
+
+
+
+
+ #[TestWith ]
- 'logoSpaceValueProvider'
+ [-1, 0]
+
+
+ 'negative'
+
+
+
+
+ #[TestWith ]
+
+
+ [0, 0]
+
+
+ 'zero'
+
+
+
+
+ #[TestWith ]
+
+
+ [69, 69]
+
+
+ 'normal'
+
+
+
+
+ #[TestWith ]
+
+
+ [177, 177]
+
+
+ 'max'
+
+
+
+
+ #[TestWith ]
+
+
+ [178, 177]
+
+
+ 'exceed'
@@ -537,15 +475,15 @@
-public
"
>
-
- testLogoSpaceStartNullable()
-
+
+ logoSpaceStartNullable()
+
@@ -553,7 +491,7 @@
public
- testLogoSpaceStartNullable ( ) : void
+ logoSpaceStartNullable ( ) : void
@@ -563,6 +501,17 @@
+
@@ -572,15 +521,15 @@
-public
"
>
-
- testSetEccLevel()
-
+
+ setEccLevel()
+
@@ -588,7 +537,7 @@
public
- testSetEccLevel ( ) : void
+ setEccLevel ( ) : void
@@ -598,7 +547,7 @@
Tags
-
+
@@ -614,6 +563,17 @@
+
@@ -623,15 +583,15 @@
-public
"
>
-
- testSetEccLevelFromIntException()
-
+
+ setEccLevelFromIntException()
+
@@ -639,7 +599,7 @@
public
- testSetEccLevelFromIntException ( ) : void
+ setEccLevelFromIntException ( ) : void
@@ -649,6 +609,17 @@
+
@@ -658,15 +629,15 @@
-public
"
>
-
- testSetEccLevelFromStringException()
-
+
+ setEccLevelFromStringException()
+
@@ -674,7 +645,7 @@
public
- testSetEccLevelFromStringException ( ) : void
+ setEccLevelFromStringException ( ) : void
@@ -684,6 +655,17 @@
+
@@ -693,15 +675,15 @@
-public
"
>
-
- testVersionClamp()
-
+
+ versionClamp()
+
@@ -709,7 +691,7 @@
public
- testVersionClamp ( int $version , int $expected ) : void
+ versionClamp ( int $version , int $expected ) : void
@@ -738,15 +720,56 @@
- #[DataProvider ]
+ #[Test ]
+
+
+
+
+ #[TestWith ]
- 'VersionProvider'
+ [42, 40]
+
+
+ 'values > 40 should be clamped to 40'
+
+
+
+
+ #[TestWith ]
+
+
+ [-42, 1]
+
+
+ 'values < 1 should be clamped to 1'
+
+
+
+
+ #[TestWith ]
+
+
+ [21, 21]
+
+
+ 'values in between should not be touched'
+
+
+
+
+ #[TestWith ]
+
+
+ [Version::AUTO, -1]
+
+
+ 'value -1 should be treated as is (default)'
@@ -759,15 +782,15 @@
-public
"
>
-
- testVersionMinMaxClamp()
-
+
+ versionMinMaxClamp()
+
@@ -775,7 +798,7 @@
public
- testVersionMinMaxClamp ( int $versionMin , int $versionMax , int $expectedMin , int $expectedMax ) : void
+ versionMinMaxClamp ( int $versionMin , int $versionMax , int $expectedMin , int $expectedMax ) : void
@@ -818,96 +841,61 @@
- #[DataProvider ]
+ #[Test ]
+
+
+
+
+ #[TestWith ]
- 'VersionMinMaxProvider'
+ [5, 10, 5, 10]
+
+
+ 'normal clamp'
+
+
+
+
+ #[TestWith ]
+
+
+ [-42, 42, 1, 40]
+
+
+ 'exceeding values'
+
+
+
+
+ #[TestWith ]
+
+
+ [10, 5, 5, 10]
+
+
+ 'min > max'
+
+
+
+
+ #[TestWith ]
+
+
+ [42, -42, 1, 40]
+
+
+ 'min > max, exceeding'
-
-
-
- VersionMinMaxProvider()
-
-
-
-
-
-
-
- public
- static VersionMinMaxProvider ( ) : array<string|int, array<string|int, int>>
-
-
-
-
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, int>>
-
-
-
-
-
- VersionProvider()
-
-
-
-
-
-
-
- public
- static VersionProvider ( ) : array<string|int, array<string|int, int>>
-
-
-
-
-
-
-
-
-
-
-
- Return values
- array<string|int, array<string|int, int>>
-
-
@@ -1024,19 +1012,14 @@
Methods
diff --git a/classes/chillerlan-QRCodeTest-BuildDirTrait.html b/classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html
similarity index 81%
rename from classes/chillerlan-QRCodeTest-BuildDirTrait.html
rename to classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html
index f05212a6b..8a1b82379 100644
--- a/classes/chillerlan-QRCodeTest-BuildDirTrait.html
+++ b/classes/chillerlan-QRCodeTest-Traits-BuildDirTrait.html
@@ -120,6 +120,7 @@
@@ -128,7 +129,7 @@
+
+
Methods
-
+
- createBuildDir()
+ createBuildDir()
: void
attempts to create the build dir
- getBuildDir()
+ getBuildDir()
: string
returns the full (real) path to the given build path
- getBuildFileContent()
+ getBuildFileContent()
: string
returns the contents of the given build file
- getBuildFilePath()
+ getBuildFilePath()
: string
returns the full (real) path to the given build file
- getBuildPath()
+ getBuildPath()
: string
@@ -219,30 +220,21 @@
-
-
-
-
+
diff --git a/classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html b/classes/chillerlan-QRCodeTest-Traits-CssColorModuleValueProviderTrait.html
similarity index 93%
rename from classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html
rename to classes/chillerlan-QRCodeTest-Traits-CssColorModuleValueProviderTrait.html
index 8d49749ee..640cee095 100644
--- a/classes/chillerlan-QRCodeTest-Output-CssColorModuleValueProviderTrait.html
+++ b/classes/chillerlan-QRCodeTest-Traits-CssColorModuleValueProviderTrait.html
@@ -120,7 +120,7 @@
@@ -129,7 +129,7 @@
-
+
diff --git a/classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html b/classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html
similarity index 88%
rename from classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html
rename to classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html
index f7e77ca56..ed8e458ec 100644
--- a/classes/chillerlan-QRCodeTest-QRMatrixDebugTrait.html
+++ b/classes/chillerlan-QRCodeTest-Traits-QRMatrixDebugTrait.html
@@ -120,6 +120,7 @@
@@ -128,7 +129,7 @@
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
22
@@ -146,7 +147,7 @@
Table of Contents
-
+
@@ -161,19 +162,19 @@
Methods
-
+
- debugMatrix()
+ debugMatrix()
: void
Matrix debugging console output
- dm()
+ dm()
: void
@@ -191,7 +192,7 @@
debugMatrix()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
27
@@ -247,11 +248,11 @@
>
dm()
-
+
- QRMatrixDebugTrait.php
+ QRMatrixDebugTrait.php
:
84
@@ -281,7 +282,7 @@
Tags
-
+
@@ -289,7 +290,7 @@
see
- QRMatrixTest::matrixProvider()
+ QRMatrixTest::matrixProvider()
@@ -305,7 +306,7 @@
@@ -406,14 +407,14 @@
Table Of Contents
Methods
@@ -433,7 +434,7 @@
-
+
diff --git a/classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html b/classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html
similarity index 91%
rename from classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html
rename to classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html
index 4b43731ad..fec1210d5 100644
--- a/classes/chillerlan-QRCodeTest-QRMaxLengthTrait.html
+++ b/classes/chillerlan-QRCodeTest-Traits-QRMaxLengthTrait.html
@@ -120,6 +120,7 @@
@@ -128,7 +129,7 @@
- QRMaxLengthTrait.php
+ QRMaxLengthTrait.php
:
20
@@ -146,7 +147,7 @@
Table of Contents
-
+
@@ -158,12 +159,12 @@
Constants
-
+
- MAX_LENGTH
+ MAX_LENGTH
= [
// v => [NUMERIC => [L, M, Q, H ], ALPHANUM => [L, M, Q, H], BINARY => [L, M, Q, H ], KANJI => [L, M, Q, H ]]
@@ -217,12 +218,12 @@
Methods
-
+
- getMaxLengthForMode()
+ getMaxLengthForMode()
: int
@@ -237,18 +238,18 @@
-
+
diff --git a/classes/chillerlan-QRCodeTest-Output-RGBArrayModuleValueProviderTrait.html b/classes/chillerlan-QRCodeTest-Traits-RGBArrayModuleValueProviderTrait.html
similarity index 93%
rename from classes/chillerlan-QRCodeTest-Output-RGBArrayModuleValueProviderTrait.html
rename to classes/chillerlan-QRCodeTest-Traits-RGBArrayModuleValueProviderTrait.html
index 2849aae24..d57c3a96e 100644
--- a/classes/chillerlan-QRCodeTest-Output-RGBArrayModuleValueProviderTrait.html
+++ b/classes/chillerlan-QRCodeTest-Traits-RGBArrayModuleValueProviderTrait.html
@@ -120,7 +120,7 @@
@@ -129,7 +129,7 @@
-
+
diff --git a/files/tests-output-qrepstest.html b/files/tests-output-qrepstest.html
index dc28f8961..6828d6859 100644
--- a/files/tests-output-qrepstest.html
+++ b/files/tests-output-qrepstest.html
@@ -189,8 +189,7 @@
- QREpsTest Test abstract for the several (built-in) output modules,
-should also be used to test custom output modules
+ QREpsTest Tests the QREps output class
diff --git a/files/tests-output-qrfpdftest.html b/files/tests-output-qrfpdftest.html
index fd48fcdc3..de6054421 100644
--- a/files/tests-output-qrfpdftest.html
+++ b/files/tests-output-qrfpdftest.html
@@ -189,7 +189,7 @@
- QRFpdfTest Tests the QRFpdf output module
+ QRFpdfTest Tests the QRFpdf output class
diff --git a/files/tests-output-qrgdimageaviftest.html b/files/tests-output-qrgdimageaviftest.html
index 582414b86..103bded33 100644
--- a/files/tests-output-qrgdimageaviftest.html
+++ b/files/tests-output-qrgdimageaviftest.html
@@ -189,7 +189,7 @@
- QRGdImageAVIFTest Tests the QRGdImage output module
+
QRGdImageAVIFTest Tests the QRGdImage output classes
diff --git a/files/tests-output-qrgdimagebmptest.html b/files/tests-output-qrgdimagebmptest.html
index eef7b68c5..1f7404a82 100644
--- a/files/tests-output-qrgdimagebmptest.html
+++ b/files/tests-output-qrgdimagebmptest.html
@@ -189,7 +189,7 @@
- QRGdImageBMPTest Tests the QRGdImage output module
+
QRGdImageBMPTest Tests the QRGdImage output classes
diff --git a/files/tests-output-qrgdimagegiftest.html b/files/tests-output-qrgdimagegiftest.html
index 0d9c41f4c..99b74de50 100644
--- a/files/tests-output-qrgdimagegiftest.html
+++ b/files/tests-output-qrgdimagegiftest.html
@@ -189,7 +189,7 @@
- QRGdImageGIFTest Tests the QRGdImage output module
+
QRGdImageGIFTest Tests the QRGdImage output classes
diff --git a/files/tests-output-qrgdimagejpgtest.html b/files/tests-output-qrgdimagejpgtest.html
index 2de99eac8..67dc35fa1 100644
--- a/files/tests-output-qrgdimagejpgtest.html
+++ b/files/tests-output-qrgdimagejpgtest.html
@@ -189,7 +189,7 @@
- QRGdImageJPGTest Tests the QRGdImage output module
+
QRGdImageJPGTest Tests the QRGdImage output classes
diff --git a/files/tests-output-qrgdimagepngtest.html b/files/tests-output-qrgdimagepngtest.html
index 8b7e36e7c..9c50b41ff 100644
--- a/files/tests-output-qrgdimagepngtest.html
+++ b/files/tests-output-qrgdimagepngtest.html
@@ -189,7 +189,7 @@
- QRGdImagePNGTest Tests the QRGdImage output module
+
QRGdImagePNGTest Tests the QRGdImage output classes
diff --git a/files/tests-output-qrgdimagetestabstract.html b/files/tests-output-qrgdimagetestabstract.html
index 5042e7cbd..c9b40e93f 100644
--- a/files/tests-output-qrgdimagetestabstract.html
+++ b/files/tests-output-qrgdimagetestabstract.html
@@ -198,7 +198,7 @@
- QRGdImageTestAbstract Tests the QRGdImage output module
+
QRGdImageTestAbstract Tests the QRGdImage output classes
diff --git a/files/tests-output-qrgdimagewebptest.html b/files/tests-output-qrgdimagewebptest.html
index ebb667949..c7f0e2528 100644
--- a/files/tests-output-qrgdimagewebptest.html
+++ b/files/tests-output-qrgdimagewebptest.html
@@ -189,7 +189,7 @@
- QRGdImageWEBPTest Tests the QRGdImage output module
+
QRGdImageWEBPTest Tests the QRGdImage output classes
diff --git a/files/tests-output-qrimagicktest.html b/files/tests-output-qrimagicktest.html
index 7d17f314c..a6c350b25 100644
--- a/files/tests-output-qrimagicktest.html
+++ b/files/tests-output-qrimagicktest.html
@@ -198,7 +198,7 @@
- QRImagickTest Tests the QRImagick output module
+
QRImagickTest Tests the QRImagick output class
diff --git a/files/tests-output-qrinterventionimagetest.html b/files/tests-output-qrinterventionimagetest.html
index 98835b0a0..4319037e4 100644
--- a/files/tests-output-qrinterventionimagetest.html
+++ b/files/tests-output-qrinterventionimagetest.html
@@ -189,7 +189,7 @@
- QRInterventionImageTest Tests the QRInterventionImage output module
+
QRInterventionImageTest Tests the QRInterventionImage output class
diff --git a/files/tests-output-qrmarkuphtmltest.html b/files/tests-output-qrmarkuphtmltest.html
index 06cf36f3c..963e1ebb1 100644
--- a/files/tests-output-qrmarkuphtmltest.html
+++ b/files/tests-output-qrmarkuphtmltest.html
@@ -189,7 +189,7 @@
- QRMarkupHTMLTest Tests the QRMarkup output module
+
QRMarkupHTMLTest Tests the QRMarkup output classes
diff --git a/files/tests-output-qrmarkupsvgtest.html b/files/tests-output-qrmarkupsvgtest.html
index 6938a3dea..8b04000cb 100644
--- a/files/tests-output-qrmarkupsvgtest.html
+++ b/files/tests-output-qrmarkupsvgtest.html
@@ -189,7 +189,7 @@
- QRMarkupSVGTest Tests the QRMarkup output module
+
QRMarkupSVGTest Tests the QRMarkup output classes
diff --git a/files/tests-output-qrmarkuptestabstract.html b/files/tests-output-qrmarkuptestabstract.html
index 7dc81085a..a64e84b46 100644
--- a/files/tests-output-qrmarkuptestabstract.html
+++ b/files/tests-output-qrmarkuptestabstract.html
@@ -189,7 +189,7 @@
- QRMarkupTestAbstract Tests the QRMarkup output module
+
QRMarkupTestAbstract Tests the QRMarkup output classes
diff --git a/files/tests-output-qrmarkupxmltest.html b/files/tests-output-qrmarkupxmltest.html
index c2a9925dd..7beebb911 100644
--- a/files/tests-output-qrmarkupxmltest.html
+++ b/files/tests-output-qrmarkupxmltest.html
@@ -189,7 +189,7 @@
- QRMarkupXMLTest Tests the QRMarkup output module
+
QRMarkupXMLTest Tests the QRMarkup output classes
diff --git a/files/tests-output-qrstringjsontest.html b/files/tests-output-qrstringjsontest.html
index cd2a8516c..8d8c3227a 100644
--- a/files/tests-output-qrstringjsontest.html
+++ b/files/tests-output-qrstringjsontest.html
@@ -189,8 +189,7 @@
- QRStringJSONTest Test abstract for the several (built-in) output modules,
-should also be used to test custom output modules
+
QRStringJSONTest Tests the QRStringJSON output class
diff --git a/files/tests-output-qrstringtexttest.html b/files/tests-output-qrstringtexttest.html
index 054948469..cd15b0adf 100644
--- a/files/tests-output-qrstringtexttest.html
+++ b/files/tests-output-qrstringtexttest.html
@@ -189,8 +189,7 @@
- QRStringTextTest Test abstract for the several (built-in) output modules,
-should also be used to test custom output modules
+
QRStringTextTest Tests the QRStringText output class
diff --git a/files/tests-builddirtrait.html b/files/tests-traits-builddirtrait.html
similarity index 94%
rename from files/tests-builddirtrait.html
rename to files/tests-traits-builddirtrait.html
index b88991eb5..45c797232 100644
--- a/files/tests-builddirtrait.html
+++ b/files/tests-traits-builddirtrait.html
@@ -130,7 +130,7 @@
Tags
-
+
@@ -176,7 +176,7 @@
Table of Contents
-
+
@@ -186,11 +186,11 @@
Traits
-
+
- BuildDirTrait Trait BuildDirTrait
+ BuildDirTrait Trait BuildDirTrait
@@ -206,7 +206,7 @@
@@ -307,7 +307,7 @@
Table Of Contents
@@ -329,7 +329,7 @@
-