18declare(strict_types=1);
24use PHPUnit\Framework\Attributes\DataProvider;
25use PHPUnit\Framework\Attributes\Depends;
26use PHPUnit\Framework\MockObject\MockObject;
27use PHPUnit\Framework\TestCase;
33 $this->expectException(\InvalidArgumentException::class);
39 $this->expectException(\InvalidArgumentException::class);
45 $this->expectNotToPerformAssertions();
49 #[Depends('testConstructorWithPositiveNumber')]
53 $this->expectException(\InvalidArgumentException::class);
54 $transformation->transform(
'https://ilias.ch');
57 #[Depends('testConstructorWithPositiveNumber')]
61 $this->expectNotToPerformAssertions();
69 [ErrorCorrectionLevel::LOW],
70 [ErrorCorrectionLevel::MEDIUM],
71 [ErrorCorrectionLevel::QUARTILE],
76 #[Depends('testConstructorWithPositiveNumber')]
77 #[DataProvider('getErrorCorrectionLevels')]
81 $this->expectNotToPerformAssertions();
96 #[Depends('testConstructorWithPositiveNumber')]
97 #[DataProvider('getSizesInPx')]
101 $this->expectNotToPerformAssertions();
107 $uri_mock = $this->createMock(\
ILIAS\
Data\URI::class);
108 $uri_mock->method(
'__toString')->willReturn(
'https://ilias.ch');
The scope of this class is split ilias-conform URI's into components.
ErrorCorrectionLevel
Error correction levels as defined by ISO/IEC 18004.
@ HIGH
~7% of codewords can be restored.
Interface Observer \BackgroundTasks Contains several chained tasks and infos about them.