ILIAS  release_8 Revision v8.24
DataSetImportParserTest Class Reference

Test dashboard settings repository. More...

+ Inheritance diagram for DataSetImportParserTest:
+ Collaboration diagram for DataSetImportParserTest:

Public Member Functions

 testInstanceAndParseValidXML ()
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

ilPDSelectedItemsBlockViewSettings $view_settings
 

Detailed Description

Test dashboard settings repository.

Author
Alexander Killing killi.nosp@m.ng@l.nosp@m.eifos.nosp@m..de

Definition at line 10 of file DataSetImportParserTest.php.

Member Function Documentation

◆ setUp()

DataSetImportParserTest::setUp ( )
protected

Definition at line 14 of file DataSetImportParserTest.php.

14 : void
15 {
16 $GLOBALS["DIC"] = new \ILIAS\DI\Container();
17 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64

References $GLOBALS.

◆ tearDown()

DataSetImportParserTest::tearDown ( )
protected

Definition at line 19 of file DataSetImportParserTest.php.

19 : void
20 {
21 unset($GLOBALS["DIC"]);
22 }

References $GLOBALS.

◆ testInstanceAndParseValidXML()

DataSetImportParserTest::testInstanceAndParseValidXML ( )

Definition at line 24 of file DataSetImportParserTest.php.

24 : void
25 {
26 $map_mock = $this->createMock(ilImportMapping::class);
27 $ds_mock = $this->createMock(ilDataSet::class);
28 $parser = new ilDataSetImportParser(
29 "ent",
30 "1.0.0",
31 "<xml></xml>",
32 $ds_mock,
33 $map_mock
34 );
35 $this->assertInstanceOf(
36 \ilDataSetImportParser::class,
37 $parser
38 );
39 }
Manifest parser for ILIAS standard export files.

Field Documentation

◆ $view_settings

ilPDSelectedItemsBlockViewSettings DataSetImportParserTest::$view_settings
protected

Definition at line 12 of file DataSetImportParserTest.php.


The documentation for this class was generated from the following file: