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
MepClipboardSessionRepositoryTest.php
Go to the documentation of this file.
1
<?php
2
3
use
PHPUnit\Framework\TestCase
;
4
10
class
MepClipboardSessionRepositoryTest
extends
TestCase
11
{
12
protected \ILIAS\MediaPool\Clipboard\ClipboardSessionRepository
$clipboard
;
13
14
protected
function
setUp
(): void
15
{
16
parent::setUp();
17
$this->clipboard = new \ILIAS\MediaPool\Clipboard\ClipboardSessionRepository();
18
}
19
20
protected
function
tearDown
(): void
21
{
22
}
23
24
public
function
testFolder
(): void
25
{
26
$clipboard =
$this->clipboard
;
27
$clipboard->setFolder(4);
28
$this->assertEquals(
29
4,
30
$clipboard->getFolder()
31
);
32
}
33
34
public
function
testIds
(): void
35
{
36
$clipboard =
$this->clipboard
;
37
$clipboard->setIds([3,5,7]);
38
$this->assertEquals(
39
[3,5,7],
40
$clipboard->getIds()
41
);
42
}
43
}
MepClipboardSessionRepositoryTest\setUp
setUp()
Definition:
MepClipboardSessionRepositoryTest.php:14
MepClipboardSessionRepositoryTest
Test clipboard repository.
Definition:
MepClipboardSessionRepositoryTest.php:10
MepClipboardSessionRepositoryTest\testIds
testIds()
Definition:
MepClipboardSessionRepositoryTest.php:34
MepClipboardSessionRepositoryTest\tearDown
tearDown()
Definition:
MepClipboardSessionRepositoryTest.php:20
MepClipboardSessionRepositoryTest\testFolder
testFolder()
Definition:
MepClipboardSessionRepositoryTest.php:24
MepClipboardSessionRepositoryTest\$clipboard
ILIAS MediaPool Clipboard ClipboardSessionRepository $clipboard
Definition:
MepClipboardSessionRepositoryTest.php:12
TestCase
Modules
MediaPool
test
MepClipboardSessionRepositoryTest.php
Generated on Tue Apr 1 2025 22:01:32 for ILIAS by
1.8.13 (using
Doxyfile
)