From bc99bf28ad1a32262d07e47e0fd0fc4c0629fd72 Mon Sep 17 00:00:00 2001 From: Emmanuel Rodriguez Date: Wed, 16 Sep 2009 20:28:22 +0200 Subject: [PATCH] OpenAerialMap is no longer available --- .../Champlain/t/ChamplainMapSourceFactory.t | 23 ++++++++++++++----- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/bindings/perl/Champlain/t/ChamplainMapSourceFactory.t b/bindings/perl/Champlain/t/ChamplainMapSourceFactory.t index 5a38e39..38be2b8 100644 --- a/bindings/perl/Champlain/t/ChamplainMapSourceFactory.t +++ b/bindings/perl/Champlain/t/ChamplainMapSourceFactory.t @@ -48,11 +48,22 @@ sub test_map_factory { Champlain::MapSourceFactory->OSM_CYCLE_MAP, "OpenStreetMap Cycle Map" ); - generic_create( - $factory, - Champlain::MapSourceFactory->OAM, - "OpenAerialMap" - ); + + # OpenAerialMap is no longer working + if (0) { + generic_create( + $factory, + Champlain::MapSourceFactory->OAM, + "OpenAerialMap" + ); + } + else { + # The map source is now gone + SKIP: { + skip "The map source OpenAerialMap is no longer available", 3; + }; + } + generic_create( $factory, Champlain::MapSourceFactory->MFF_RELIEF, @@ -75,7 +86,7 @@ sub test_map_register { # Add a new map my $description = { - id => 'perl', + id => 'perl', name => 'Perl Fake Map', license => 'Artistic License', license_uri => 'http://dev.perl.org/licenses/artistic.html', -- 2.39.5