ILIAS  trunk Revision v11.0_alpha-1723-g8e69f309bab
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 26 of file DataSetImportParserTest.php.

Member Function Documentation

◆ setUp()

DataSetImportParserTest::setUp ( )
protected

Definition at line 30 of file DataSetImportParserTest.php.

References $GLOBALS.

30  : void
31  {
32  $GLOBALS["DIC"] = new \ILIAS\DI\Container();
33  }
$GLOBALS["DIC"]
Definition: wac.php:53

◆ tearDown()

DataSetImportParserTest::tearDown ( )
protected

Definition at line 35 of file DataSetImportParserTest.php.

References $GLOBALS.

35  : void
36  {
37  unset($GLOBALS["DIC"]);
38  }
$GLOBALS["DIC"]
Definition: wac.php:53

◆ testInstanceAndParseValidXML()

DataSetImportParserTest::testInstanceAndParseValidXML ( )

Definition at line 40 of file DataSetImportParserTest.php.

40  : void
41  {
42  $map_mock = $this->createMock(ilImportMapping::class);
43  $ds_mock = $this->createMock(ilDataSet::class);
44  $parser = new ilDataSetImportParser(
45  "ent",
46  "1.0.0",
47  "<xml></xml>",
48  $ds_mock,
49  $map_mock
50  );
51  $this->assertInstanceOf(
52  \ilDataSetImportParser::class,
53  $parser
54  );
55  }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...

Field Documentation

◆ $view_settings

ilPDSelectedItemsBlockViewSettings DataSetImportParserTest::$view_settings
protected

Definition at line 28 of file DataSetImportParserTest.php.


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