ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ilMapGUITest Class Reference
+ Inheritance diagram for ilMapGUITest:
+ Collaboration diagram for ilMapGUITest:

Public Member Functions

 testSettersAndGetters ($name, $value)
 properties More...
 
 properties ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

ilMapGUI $gui
 

Detailed Description

Definition at line 23 of file ilMapGUITest.php.

Member Function Documentation

◆ properties()

ilMapGUITest::properties ( )

Definition at line 55 of file ilMapGUITest.php.

55  : array
56  {
57  return [
58  ["MapId", "a_map_id"],
59  ["Width", "a_width"],
60  ["Height", "a_height"],
61  ["Latitude", "a_latitude"],
62  ["Longitude", "a_longitude"],
63  ["Zoom", 50],
64  ["EnableTypeControl", true],
65  ["EnableNavigationControl", false],
66  ["EnableUpdateListener", true],
67  ["EnableLargeMapControl", false],
68  ["EnableCentralMarker", true]
69  ];
70  }

◆ setUp()

ilMapGUITest::setUp ( )
protected

Definition at line 27 of file ilMapGUITest.php.

References ILIAS\MetaData\Repository\Validation\Data\__construct().

27  : void
28  {
29  $this->gui = new class () extends ilMapGUI {
30  public function __construct()
31  {
32  }
33 
34  public function getHtml(): string
35  {
36  }
37 
38  public function getUserListHtml(): string
39  {
40  }
41  };
42  }
__construct(VocabulariesInterface $vocabularies)
User interface class for maps.
+ Here is the call graph for this function:

◆ testSettersAndGetters()

ilMapGUITest::testSettersAndGetters (   $name,
  $value 
)

properties

Definition at line 47 of file ilMapGUITest.php.

47  : void
48  {
49  $set = "set$name";
50  $get = "get$name";
51  $this->gui->$set($value);
52  $this->assertEquals($value, $this->gui->$get());
53  }

Field Documentation

◆ $gui

ilMapGUI ilMapGUITest::$gui
protected

Definition at line 25 of file ilMapGUITest.php.


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