◆ setUp()
HasMinLengthConstraintTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 33 of file HasMinLengthConstraintTest.php.
References ILIAS\Repository\lng().
36 $this->
lng = $this->createMock(
ILIAS\Language\Language::class);
38 $this->min_length = 10;
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()
HasMinLengthConstraintTest::testAccepts1 |
( |
| ) |
|
◆ testAccepts2()
HasMinLengthConstraintTest::testAccepts2 |
( |
| ) |
|
◆ testCheckFails()
HasMinLengthConstraintTest::testCheckFails |
( |
| ) |
|
◆ testCheckSucceed()
HasMinLengthConstraintTest::testCheckSucceed |
( |
| ) |
|
◆ testNoProblemWith()
HasMinLengthConstraintTest::testNoProblemWith |
( |
| ) |
|
◆ testNotAccepts()
HasMinLengthConstraintTest::testNotAccepts |
( |
| ) |
|
◆ testProblemWith()
HasMinLengthConstraintTest::testProblemWith |
( |
| ) |
|
◆ testRestrictError()
HasMinLengthConstraintTest::testRestrictError |
( |
| ) |
|
◆ testRestrictNotOk()
HasMinLengthConstraintTest::testRestrictNotOk |
( |
| ) |
|
◆ testRestrictOk()
HasMinLengthConstraintTest::testRestrictOk |
( |
| ) |
|
◆ testWithProblemBuilder()
HasMinLengthConstraintTest::testWithProblemBuilder |
( |
| ) |
|
Definition at line 114 of file HasMinLengthConstraintTest.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(
""));
◆ $c
◆ $df
DataFactory HasMinLengthConstraintTest::$df |
|
private |
◆ $lng
ILIAS Language Language HasMinLengthConstraintTest::$lng |
|
private |
◆ $min_length
int HasMinLengthConstraintTest::$min_length |
|
private |
The documentation for this class was generated from the following file: