ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
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
k
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
c
e
g
h
j
l
m
p
s
t
u
v
+
Enumerations
a
c
e
f
i
j
l
m
n
o
p
r
s
t
u
v
z
+
Enumerator
a
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
y
+
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
Ö
Enumerations
Enumerator
+
Files
File List
+
Globals
+
All
$
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
z
+
Functions
a
b
c
d
e
f
g
h
i
m
n
p
r
s
t
u
v
+
Variables
$
a
c
e
g
h
i
m
n
o
p
r
s
t
u
v
z
Enumerations
Enumerator
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Enumerations
Enumerator
Modules
Pages
IgnoreTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Tests\Services\Database\Integrity
;
22
23
use
PHPUnit\Framework\TestCase
;
24
use
ILIAS\components\Database\Integrity\Ignore
;
25
26
class
IgnoreTest
extends
TestCase
27
{
28
public
function
testConstruct
(): void
29
{
30
$ignore =
new
Ignore
();
31
$this->assertInstanceOf(Ignore::class, $ignore);
32
}
33
34
public
function
testValues
(): void
35
{
36
$ignore =
new
Ignore
(
'a'
,
'b'
,
'c'
);
37
$this->assertEquals([
'!= a'
,
'!= b'
,
'!= c'
], $ignore->values());
38
}
39
40
public
function
testValuesWithNull
(): void
41
{
42
$ignore =
new
Ignore
(
'a'
,
null
,
'c'
);
43
$this->assertEquals([
'!= a'
,
'IS NOT NULL'
,
'!= c'
], $ignore->values());
44
}
45
}
ILIAS\components\Database\Integrity\Ignore
Definition:
Ignore.php:23
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:142
ILIAS\Tests\Services\Database\Integrity\IgnoreTest
Definition:
IgnoreTest.php:26
ILIAS\Tests\Services\Database\Integrity\IgnoreTest\testValuesWithNull
testValuesWithNull()
Definition:
IgnoreTest.php:40
Ignore
ILIAS\Tests\Services\Database\Integrity
Definition:
AssociationTest.php:21
ILIAS\Tests\Services\Database\Integrity\IgnoreTest\testConstruct
testConstruct()
Definition:
IgnoreTest.php:28
ILIAS\Tests\Services\Database\Integrity\IgnoreTest\testValues
testValues()
Definition:
IgnoreTest.php:34
TestCase
components
ILIAS
Database
tests
Integrity
IgnoreTest.php
Generated on Fri Apr 11 2025 23:02:58 for ILIAS by
1.8.13 (using
Doxyfile
)