ILIAS  trunk Revision v11.0_alpha-1713-gd8962da2f67
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 
22 
28 {
29  private \ilTestExporter $testObj;
30 
31  protected function setUp(): void
32  {
33  parent::setUp();
34 
35  $this->testObj = new \ilTestExporter();
36  }
37 
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 }
Class ilTestBaseClass.