Definition at line 26 of file ParallelConstraintsTest.php.
◆ setUp()
| ParallelConstraintsTest::setUp |
( |
| ) |
|
|
protected |
Definition at line 33 of file ParallelConstraintsTest.php.
References ILIAS\Repository\lng(), and ILIAS\Repository\refinery().
36 $this->
lng = $this->createMock(
ILIAS\Language\Language::class);
41 $less_than_3 = $group->constraint(
42 static function ($value):
bool {
48 $less_than_5 = $group->constraint(
49 static function ($value):
bool {
57 ->parallel([$less_than_3, $less_than_5]);
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...
◆ testAccepts()
| ParallelConstraintsTest::testAccepts |
( |
| ) |
|
◆ testCheckFails()
| ParallelConstraintsTest::testCheckFails |
( |
| ) |
|
◆ testCheckSucceed()
| ParallelConstraintsTest::testCheckSucceed |
( |
| ) |
|
◆ testNoProblemWith()
| ParallelConstraintsTest::testNoProblemWith |
( |
| ) |
|
◆ testNotAccepts()
| ParallelConstraintsTest::testNotAccepts |
( |
| ) |
|
◆ testProblemWith1()
| ParallelConstraintsTest::testProblemWith1 |
( |
| ) |
|
◆ testProblemWith2()
| ParallelConstraintsTest::testProblemWith2 |
( |
| ) |
|
◆ testRestrictError()
| ParallelConstraintsTest::testRestrictError |
( |
| ) |
|
◆ testRestrictNotOk()
| ParallelConstraintsTest::testRestrictNotOk |
( |
| ) |
|
◆ testRestrictOk()
| ParallelConstraintsTest::testRestrictOk |
( |
| ) |
|
◆ testWithProblemBuilder()
| ParallelConstraintsTest::testWithProblemBuilder |
( |
| ) |
|
Definition at line 129 of file ParallelConstraintsTest.php.
131 $new_c = $this->c->withProblemBuilder(
static function ():
string {
132 return "This was a fault";
134 $this->assertEquals(
"This was a fault", $new_c->problemWith(7));
◆ $c
◆ $df
| DataFactory ParallelConstraintsTest::$df |
|
private |
◆ $lng
| ILIAS Language Language ParallelConstraintsTest::$lng |
|
private |
◆ $refinery
| Refinery ParallelConstraintsTest::$refinery |
|
private |
The documentation for this class was generated from the following file: