◆ setUp()
HasMaxLengthConstraintTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 33 of file HasMaxLengthConstraintTest.php.
References ILIAS\Repository\lng().
36 $this->
lng = $this->createMock(
ILIAS\Language\Language::class);
38 $this->max_length = 2;
Interface Observer Contains several chained tasks and infos about them.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ testAccepts1()
HasMaxLengthConstraintTest::testAccepts1 |
( |
| ) |
|
◆ testAccepts2()
HasMaxLengthConstraintTest::testAccepts2 |
( |
| ) |
|
◆ testCheckFails()
HasMaxLengthConstraintTest::testCheckFails |
( |
| ) |
|
◆ testCheckSucceed()
HasMaxLengthConstraintTest::testCheckSucceed |
( |
| ) |
|
◆ testNoProblemWith()
HasMaxLengthConstraintTest::testNoProblemWith |
( |
| ) |
|
◆ testNotAccepts()
HasMaxLengthConstraintTest::testNotAccepts |
( |
| ) |
|
◆ testProblemWith()
HasMaxLengthConstraintTest::testProblemWith |
( |
| ) |
|
◆ testRestrictError()
HasMaxLengthConstraintTest::testRestrictError |
( |
| ) |
|
◆ testRestrictNotOk()
HasMaxLengthConstraintTest::testRestrictNotOk |
( |
| ) |
|
◆ testRestrictOk()
HasMaxLengthConstraintTest::testRestrictOk |
( |
| ) |
|
◆ testWithProblemBuilder()
HasMaxLengthConstraintTest::testWithProblemBuilder |
( |
| ) |
|
Definition at line 114 of file HasMaxLengthConstraintTest.php.
116 $new_c = $this->c->withProblemBuilder(
static function ():
string {
117 return "This was a fault";
119 $this->assertEquals(
"This was a fault", $new_c->problemWith(
"123"));
◆ $c
◆ $df
DataFactory HasMaxLengthConstraintTest::$df |
|
private |
◆ $lng
ILIAS Language Language HasMaxLengthConstraintTest::$lng |
|
private |
◆ $max_length
int HasMaxLengthConstraintTest::$max_length |
|
private |
The documentation for this class was generated from the following file: