ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilMapGUITest Class Reference
+ Inheritance diagram for ilMapGUITest:
+ Collaboration diagram for ilMapGUITest:

Public Member Functions

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

Protected Member Functions

 setUp ()
 

Detailed Description

Definition at line 23 of file ilMapGUITest.php.

Member Function Documentation

◆ properties()

ilMapGUITest::properties ( )

Definition at line 53 of file ilMapGUITest.php.

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

◆ setUp()

ilMapGUITest::setUp ( )
protected

Definition at line 25 of file ilMapGUITest.php.

References ILIAS\GlobalScreen\Provider\__construct().

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

◆ testSettersAndGetters()

ilMapGUITest::testSettersAndGetters (   $name,
  $value 
)

properties

Definition at line 45 of file ilMapGUITest.php.

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

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