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