[libchamplain: 19/39] OpenAerialMap is no longer available



commit bc99bf28ad1a32262d07e47e0fd0fc4c0629fd72
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Wed Sep 16 20:28:22 2009 +0200

    OpenAerialMap is no longer available

 .../perl/Champlain/t/ChamplainMapSourceFactory.t   |   23 ++++++++++++++-----
 1 files 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',



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]