[libchamplain/libchamplain-0-4] Call $view->remove_layer() in the Champlain::View test



commit 4c2247508adaff9644b21c6914042ace0f583c7d
Author: Emmanuel Rodriguez <emmanuel rodriguez gmail com>
Date:   Sat Oct 17 19:21:11 2009 +0200

    Call $view->remove_layer() in the Champlain::View test

 bindings/perl/Champlain/t/ChamplainView.t |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bindings/perl/Champlain/t/ChamplainView.t b/bindings/perl/Champlain/t/ChamplainView.t
index 95bc13b..bcb63c8 100644
--- a/bindings/perl/Champlain/t/ChamplainView.t
+++ b/bindings/perl/Champlain/t/ChamplainView.t
@@ -62,6 +62,7 @@ sub test_generic {
 	# Can't be tested but at least we check that it doesn't crash when invoked
 	my $layer = Champlain::Layer->new();
 	$view->add_layer($layer);
+	$view->remove_layer($layer);
 	
 	
 	# Change the map source (get a different map source)



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