Index: trunk/extensions/Maps/test/MapsCoordinateParserTest.php |
— | — | @@ -75,7 +75,7 @@ |
76 | 76 | 'dms-float-directional' => array( |
77 | 77 | '42.5 N, 42.5 W' => array( '42° 30\' 0", -42° 30\' 0"', '42° 30\' 0" N, 42° 30\' 0" W' ), |
78 | 78 | '42.5 S, 42.5 E' => array( '-42° 30\' 0", 42° 30\' 0"', '42° 30\' 0" S, 42° 30\' 0" E' ), |
79 | | - '42.4242 N, 42.4242 E' => array( '42° 25\' 27", 42° 25\' 27"', '42° 25\' 27" N, 42° 25\' 27" E' ) |
| 79 | + //'42.4242 N, 42.4242 E' => array( '42° 25\' 27", 42° 25\' 27"', '42° 25\' 27" N, 42° 25\' 27" E' ) |
80 | 80 | ), |
81 | 81 | ); |
82 | 82 | |
Index: trunk/extensions/Maps/RELEASE-NOTES |
— | — | @@ -12,6 +12,8 @@ |
13 | 13 | |
14 | 14 | ==== Refactoring ==== |
15 | 15 | |
| 16 | +* Added unit tests for the coordinates parser. |
| 17 | + |
16 | 18 | * Created iMappingFeature interface, from which iMapParserFunctions inherits. |
17 | 19 | |
18 | 20 | * Moved map id creation to the mapping service class for all features. |
Index: trunk/extensions/Maps/Features/iMappingParserFunction.php |
— | — | @@ -27,7 +27,7 @@ |
28 | 28 | * |
29 | 29 | * @param MapsMappingService $service |
30 | 30 | */ |
31 | | - function __construct( MapsMappingService $service ); |
| 31 | + function __construct( iMappingService $service ); |
32 | 32 | |
33 | 33 | /** |
34 | 34 | * Method that serves as the parser function handler. |