ILIAS  release_8 Revision v8.23
ilTestExporterTest.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
26 {
28 
29  protected function setUp(): void
30  {
31  parent::setUp();
32 
33  $this->testObj = new ilTestExporter();
34  }
35 
37  {
38  $this->assertInstanceOf(ilTestExporter::class, $this->testObj);
39  }
40 
41  public function testGetValidSchemaVersions(): void
42  {
43  $expected = [
44  "4.1.0" => [
45  "namespace" => "http://www.ilias.de/Modules/Test/htlm/4_1",
46  "xsd_file" => "ilias_tst_4_1.xsd",
47  "uses_dataset" => false,
48  "min" => "4.1.0",
49  "max" => ""
50  ]
51  ];
52  $this->assertEquals($expected, $this->testObj->getValidSchemaVersions("abcd"));
53  }
54 }
ilTestExporter $testObj
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ilTestBaseClass.