ILIAS
release_8 Revision v8.19
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
j
l
m
p
s
t
u
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Ö
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
NotesSessionRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
3
use
PHPUnit\Framework\TestCase
;
4
10
class
NotesSessionRepositoryTest
extends
TestCase
11
{
12
protected \ILIAS\Notes\NotesSessionRepository
$repo
;
13
14
protected
function
setUp
(): void
15
{
16
parent::setUp();
17
$this->repo = new \ILIAS\Notes\NotesSessionRepository();
18
}
19
20
protected
function
tearDown
(): void
21
{
22
}
23
27
public
function
testSortAscending
(): void
28
{
29
$repo =
$this->repo
;
30
$repo->setSortAscending(
true
);
31
$this->assertEquals(
32
true
,
33
$repo->getSortAscending()
34
);
35
$repo->setSortAscending(
false
);
36
$this->assertEquals(
37
false
,
38
$repo->getSortAscending()
39
);
40
}
41
}
NotesSessionRepositoryTest\testSortAscending
testSortAscending()
Test sort.
Definition:
NotesSessionRepositoryTest.php:27
NotesSessionRepositoryTest
Test session repository.
Definition:
NotesSessionRepositoryTest.php:10
NotesSessionRepositoryTest\tearDown
tearDown()
Definition:
NotesSessionRepositoryTest.php:20
NotesSessionRepositoryTest\$repo
ILIAS Notes NotesSessionRepository $repo
Definition:
NotesSessionRepositoryTest.php:12
NotesSessionRepositoryTest\setUp
setUp()
Definition:
NotesSessionRepositoryTest.php:14
TestCase
Services
Notes
test
NotesSessionRepositoryTest.php
Generated on Tue Apr 1 2025 22:02:29 for ILIAS by
1.8.13 (using
Doxyfile
)