ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
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->assertSame([
'!= a'
,
'!= b'
,
'!= c'
], $ignore->values());
38
}
39
40
public
function
testValuesWithNull
(): void
41
{
42
$ignore =
new
Ignore
(
'a'
,
null
,
'c'
);
43
$this->assertSame([
'!= 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:144
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 Wed Sep 3 2025 23:02:51 for ILIAS by
1.8.13 (using
Doxyfile
)