ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
NotesSessionRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
19
use
PHPUnit\Framework\TestCase
;
20
26
class
NotesSessionRepositoryTest
extends
TestCase
27
{
28
protected \ILIAS\Notes\NotesSessionRepository
$repo
;
29
30
protected
function
setUp
(): void
31
{
32
parent::setUp();
33
$this->repo = new \ILIAS\Notes\NotesSessionRepository();
34
}
35
36
protected
function
tearDown
(): void
37
{
38
}
39
43
public
function
testSortAscending
(): void
44
{
45
$repo =
$this->repo
;
46
$repo->setSortAscending(
true
);
47
$this->assertEquals(
48
true
,
49
$repo->getSortAscending()
50
);
51
$repo->setSortAscending(
false
);
52
$this->assertEquals(
53
false
,
54
$repo->getSortAscending()
55
);
56
}
57
}
NotesSessionRepositoryTest\testSortAscending
testSortAscending()
Test sort.
Definition:
NotesSessionRepositoryTest.php:43
NotesSessionRepositoryTest
Test session repository.
Definition:
NotesSessionRepositoryTest.php:26
NotesSessionRepositoryTest\tearDown
tearDown()
Definition:
NotesSessionRepositoryTest.php:36
NotesSessionRepositoryTest\$repo
ILIAS Notes NotesSessionRepository $repo
Definition:
NotesSessionRepositoryTest.php:28
NotesSessionRepositoryTest\setUp
setUp()
Definition:
NotesSessionRepositoryTest.php:30
TestCase
TestCase
components
ILIAS
Notes
tests
NotesSessionRepositoryTest.php
Generated on Wed Sep 3 2025 23:03:34 for ILIAS by
1.8.13 (using
Doxyfile
)