ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilMapGUITest Class Reference
+ Inheritance diagram for ilMapGUITest:
+ Collaboration diagram for ilMapGUITest:

Public Member Functions

 testSettersAndGetters ($name, $value)
 

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 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 27 of file ilMapGUITest.php.

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 }
User interface class for maps.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

◆ testSettersAndGetters()

ilMapGUITest::testSettersAndGetters (   $name,
  $value 
)

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 }

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: