ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilMapGUITest Class Reference
+ Inheritance diagram for ilMapGUITest:
+ Collaboration diagram for ilMapGUITest:

Public Member Functions

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

Static Public Member Functions

static properties ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

ilMapGUI $gui
 

Detailed Description

Definition at line 23 of file ilMapGUITest.php.

Member Function Documentation

◆ properties()

static ilMapGUITest::properties ( )
static

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\GlobalScreen\Provider\__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(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 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: