ILIAS
trunk Revision v11.0_alpha-1713-gd8962da2f67
◀ 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
ilTestExporterTest.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\Test\Tests\ExportImport
;
22
27
class
ilTestExporterTest
extends
\ilTestBaseTestCase
28
{
29
private \ilTestExporter
$testObj
;
30
31
protected
function
setUp
(): void
32
{
33
parent::setUp();
34
35
$this->testObj = new \ilTestExporter();
36
}
37
38
public
function
test_instantiateObject_shouldReturnInstance
(): void
39
{
40
$this->assertInstanceOf(\ilTestExporter::class, $this->testObj);
41
}
42
43
public
function
testGetValidSchemaVersions
(): void
44
{
45
$expected = [
46
'4.1.0'
=> [
47
'namespace'
=>
'http://www.ilias.de/Modules/Test/htlm/4_1'
,
48
'xsd_file'
=>
'ilias_tst_4_1.xsd'
,
49
"uses_dataset"
=>
false
,
50
'min'
=>
'4.1.0'
,
51
'max'
=>
''
52
],
53
];
54
$this->assertEquals($expected, $this->testObj->getValidSchemaVersions(
'abcd'
));
55
}
56
}
ILIAS\Test\Tests\ExportImport\ilTestExporterTest\setUp
setUp()
Definition:
ilTestExporterTest.php:31
ILIAS\Test\Tests\ExportImport
Definition:
ExportFactoryTest.php:21
ILIAS\Test\Tests\ExportImport\ilTestExporterTest\test_instantiateObject_shouldReturnInstance
test_instantiateObject_shouldReturnInstance()
Definition:
ilTestExporterTest.php:38
ILIAS\Test\Tests\ExportImport\ilTestExporterTest
Class ilTestExporterTest.
Definition:
ilTestExporterTest.php:27
ILIAS\Test\Tests\ExportImport\ilTestExporterTest\$testObj
ilTestExporter $testObj
Definition:
ilTestExporterTest.php:29
ilTestBaseTestCase
Class ilTestBaseClass.
Definition:
ilTestBaseTestCase.php:30
ILIAS\Test\Tests\ExportImport\ilTestExporterTest\testGetValidSchemaVersions
testGetValidSchemaVersions()
Definition:
ilTestExporterTest.php:43
components
ILIAS
Test
tests
ExportImport
ilTestExporterTest.php
Generated on Fri Apr 4 2025 23:04:13 for ILIAS by
1.8.13 (using
Doxyfile
)