|
const | NAME = "CALL MY METHOD!" |
|
Definition at line 11 of file CallableObjectiveTest.php.
◆ myMethod()
◆ setUp()
ILIAS\Tests\Setup\CallableObjectiveTest::setUp |
( |
| ) |
|
Definition at line 23 of file CallableObjectiveTest.php.
25 $this->p = $this->newObjective();
27 $this->o =
new Setup\CallableObjective(
◆ testAchieve()
ILIAS\Tests\Setup\CallableObjectiveTest::testAchieve |
( |
| ) |
|
Definition at line 59 of file CallableObjectiveTest.php.
References $res.
63 $env = $this->createMock(Setup\Environment::class);
65 $res = $this->o->achieve($env);
66 $this->assertSame($env,
$res);
67 $this->assertSame($this->env, $env);
foreach($_POST as $key=> $value) $res
◆ testGetHash()
ILIAS\Tests\Setup\CallableObjectiveTest::testGetHash |
( |
| ) |
|
◆ testGetLabel()
ILIAS\Tests\Setup\CallableObjectiveTest::testGetLabel |
( |
| ) |
|
◆ testGetPreconditions()
ILIAS\Tests\Setup\CallableObjectiveTest::testGetPreconditions |
( |
| ) |
|
Definition at line 50 of file CallableObjectiveTest.php.
52 $env = $this->createMock(Setup\Environment::class);
54 $pre = $this->o->getPreconditions($env);
55 $this->assertEquals([$this->p], $pre);
◆ testIsNotable()
ILIAS\Tests\Setup\CallableObjectiveTest::testIsNotable |
( |
| ) |
|
◆ NAME
const ILIAS\Tests\Setup\CallableObjectiveTest::NAME = "CALL MY METHOD!" |
The documentation for this class was generated from the following file: