ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
◀ ilDoc Overview
PCMapEditorSessionRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
19
use
PHPUnit\Framework\TestCase
;
20
26
class
PCMapEditorSessionRepositoryTest
extends
TestCase
27
{
28
//protected $backupGlobals = false;
29
protected \ILIAS\COPage\PC\MapEditorSessionRepository
$repo
;
30
31
protected
function
setUp
(): void
32
{
33
parent::setUp();
34
$this->repo = new \ILIAS\COPage\PC\MapEditorSessionRepository();
35
}
36
37
protected
function
tearDown
(): void
38
{
39
}
40
44
public
function
testMode
(): void
45
{
46
$repo =
$this->repo
;
47
$repo->setMode(
"testmode"
);
48
$this->assertEquals(
49
"testmode"
,
50
$repo->getMode()
51
);
52
}
53
57
public
function
testAreaNr
(): void
58
{
59
$repo =
$this->repo
;
60
$repo->setAreaNr(
"3"
);
61
$this->assertEquals(
62
"3"
,
63
$repo->getAreaNr()
64
);
65
}
66
}
PCMapEditorSessionRepositoryTest\setUp
setUp()
Definition:
PCMapEditorSessionRepositoryTest.php:31
PCMapEditorSessionRepositoryTest\$repo
ILIAS COPage PC MapEditorSessionRepository $repo
Definition:
PCMapEditorSessionRepositoryTest.php:29
PCMapEditorSessionRepositoryTest
Test clipboard repository.
Definition:
PCMapEditorSessionRepositoryTest.php:26
PCMapEditorSessionRepositoryTest\testMode
testMode()
Test mode.
Definition:
PCMapEditorSessionRepositoryTest.php:44
PCMapEditorSessionRepositoryTest\testAreaNr
testAreaNr()
Test area nr.
Definition:
PCMapEditorSessionRepositoryTest.php:57
PCMapEditorSessionRepositoryTest\tearDown
tearDown()
Definition:
PCMapEditorSessionRepositoryTest.php:37
TestCase
TestCase
components
ILIAS
COPage
tests
PCMapEditorSessionRepositoryTest.php
Generated on Mon Sep 1 2025 23:02:49 for ILIAS by
1.8.13 (using
Doxyfile
)