ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
ilSimpleTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
Test\ImportHandler\File\Path\Node
;
22
23
use
PHPUnit\Framework\TestCase
;
24
use
ILIAS\Export\ImportHandler\File\Path\Node\ilSimple
as ilSimpleFilePathNode;
25
26
class
ilSimpleTest
extends
TestCase
27
{
28
public
function
testSimpleNode
(): void
29
{
30
$node =
new
ilSimpleFilePathNode();
31
$node2 = $node->withName(
'Name1'
);
32
33
$this->assertEquals(
''
, $node->toString());
34
$this->assertEquals(
'Name1'
, $node2->toString());
35
$this->assertTrue($node->requiresPathSeparator());
36
$this->assertTrue($node2->requiresPathSeparator());
37
}
38
}
Test\ImportHandler\File\Path\Node\ilSimpleTest\testSimpleNode
testSimpleNode()
Definition:
ilSimpleTest.php:28
ILIAS\Export\ImportHandler\File\Path\Node\ilSimple
Definition:
class.ilSimple.php:25
Test\ImportHandler\File\Path\Node
Definition:
ilAnyElementTest.php:21
Test\ImportHandler\File\Path\Node\ilSimpleTest
Definition:
ilSimpleTest.php:26
TestCase
Services
Export
test
ImportHandler
File
Path
Node
ilSimpleTest.php
Generated on Wed Sep 10 2025 14:11:28 for ILIAS by
1.8.13 (using
Doxyfile
)