Conditions | 3 |
Paths | 3 |
Total Lines | 22 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
1 | <?php |
||
21 | public function validInputProvider() { |
||
22 | $argLists = array(); |
||
23 | |||
24 | $valid = array( |
||
25 | "http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi? Foundation.GTOPO30" => |
||
26 | array( "http://demo.cubewerx.com/demo/cubeserv/cubeserv.cgi?", "Foundation.GTOPO30" ), |
||
27 | "http://maps.imr.no:80/geoserver/wms? vulnerable_areas:Identified_coral_area coral_identified_areas" => |
||
28 | array( "http://maps.imr.no:80/geoserver/wms?", "vulnerable_areas:Identified_coral_area", "coral_identified_areas" ) |
||
29 | ); |
||
30 | |||
31 | foreach ( $valid as $value => $expected ) { |
||
32 | $expectedOverlay = new WmsOverlay( $expected[0], $expected[1] ); |
||
33 | |||
34 | if ( count( $expected ) == 3 ) { |
||
35 | $expectedOverlay->setWmsStyleName( $expected[2] ); |
||
36 | } |
||
37 | |||
38 | $argLists[] = array( (string)$value, $expectedOverlay ); |
||
39 | } |
||
40 | |||
41 | return $argLists; |
||
42 | } |
||
43 | |||
68 |