1 | <?php |
||
3 | class MapUtilTest extends SapphireTest { |
||
1 ignored issue
–
show
|
|||
4 | |||
5 | /* |
||
6 | Other tests: |
||
7 | 1) List, ArrayList, DataList, null for get_map |
||
8 | 2) Negative and zero map sizes |
||
9 | 3) Invalid map type |
||
10 | */ |
||
11 | |||
12 | |||
13 | public function test_set_api_key() { |
||
18 | |||
19 | public function test_get_set_map_already_rendered() { |
||
25 | |||
26 | public function test_set_map_size() { |
||
31 | |||
32 | |||
33 | |||
34 | public function testSanitizeEmptyString() { |
||
40 | |||
41 | public function testSanitizeAlreadySanitized() { |
||
47 | |||
48 | public function testSanitizeSlashN() { |
||
54 | |||
55 | public function testSanitizeSlashT() { |
||
61 | |||
62 | public function testSanitizeSlashR() { |
||
68 | |||
69 | public static function test_chooseToAddDataobject() { |
||
72 | |||
73 | private function htmlForMap() { |
||
78 | |||
79 | |||
80 | // These appear to test code that's not used |
||
81 | public function test_set_center() { |
||
87 | |||
88 | public function test_set_map_type() { |
||
94 | |||
95 | public function test_set_info_window_width() { |
||
98 | |||
99 | public function test_set_icon_size() { |
||
102 | |||
103 | } |
||
104 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.