[libchamplain] Map names use '-' as a separator instead of '::'
- From: Pierre-Luc Beaudoin <plbeaudoin src gnome org>
- To: svn-commits-list gnome org
- Subject: [libchamplain] Map names use '-' as a separator instead of '::'
- Date: Sun, 14 Jun 2009 11:12:19 -0400 (EDT)
commit 2a65c0a1d5e90d1979472996de9ae15334b76f82
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date: Sat Jun 13 16:46:11 2009 +0200
Map names use '-' as a separator instead of '::'
bindings/perl/Champlain/t/ChamplainMapSource.t | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/bindings/perl/Champlain/t/ChamplainMapSource.t b/bindings/perl/Champlain/t/ChamplainMapSource.t
index 80ba25e..13dc8f8 100644
--- a/bindings/perl/Champlain/t/ChamplainMapSource.t
+++ b/bindings/perl/Champlain/t/ChamplainMapSource.t
@@ -28,7 +28,7 @@ sub test_osm_mapnik {
isa_ok($map, 'Champlain::MapSource');
# Map identification
- is($map->get_id, 'osm::mapnik', "$label id");
+ is($map->get_id, 'osm-mapnik', "$label id");
is($map->get_name, 'OpenStreetMap Mapnik', "$label name");
is($map->get_min_zoom_level, 0, "$label min zoom");
is($map->get_max_zoom_level, 18, "$label max zoom");
@@ -48,7 +48,7 @@ sub test_osm_cyclemap {
isa_ok($map, 'Champlain::MapSource');
# Map identification
- is($map->get_id, 'osm::cyclemap', "$label id");
+ is($map->get_id, 'osm-cyclemap', "$label id");
is($map->get_name, 'OpenStreetMap Cycle Map', "$label name");
is($map->get_min_zoom_level, 0, "$label min zoom");
is($map->get_max_zoom_level, 18, "$label max zoom");
@@ -68,7 +68,7 @@ sub test_osm_osmarender {
isa_ok($map, 'Champlain::MapSource');
# Map identification
- is($map->get_id, 'osm::osmarender', "$label id");
+ is($map->get_id, 'osm-osmarender', "$label id");
is($map->get_name, 'OpenStreetMap Osmarender', "$label name");
is($map->get_min_zoom_level, 0, "$label min zoom");
is($map->get_max_zoom_level, 18, "$label max zoom");
@@ -108,7 +108,7 @@ sub test_mff_relief {
isa_ok($map, 'Champlain::MapSource');
# Map identification
- is($map->get_id, 'mff::relief', "$label id");
+ is($map->get_id, 'mff-relief', "$label id");
is($map->get_name, 'Maps for Free Relief', "$label name");
is($map->get_min_zoom_level, 0, "$label min zoom");
is($map->get_max_zoom_level, 11, "$label max zoom");
@@ -133,8 +133,8 @@ sub generic_map_operations {
# Rename of the map
$map->set_name("No name");
is($map->get_name, "No name", "Rename the map");
- $map->set_id('test::map');
- is($map->get_id, 'test::map', "Change the map id");
+ $map->set_id('test-map');
+ is($map->get_id, 'test-map', "Change the map id");
# Relicense the map
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]