r64678 - in /trunk/libweather-google-perl: debian/changelog t/01init.t t/02current_conditions.t t/03forecast_conditions.t t/04forecast_information.t t/05language.t

periapt-guest at users.alioth.debian.org periapt-guest at users.alioth.debian.org
Sun Nov 7 13:30:22 UTC 2010


Author: periapt-guest
Date: Sun Nov  7 13:29:54 2010
New Revision: 64678

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=64678
Log:
releasing

Modified:
    trunk/libweather-google-perl/debian/changelog
    trunk/libweather-google-perl/t/01init.t
    trunk/libweather-google-perl/t/02current_conditions.t
    trunk/libweather-google-perl/t/03forecast_conditions.t
    trunk/libweather-google-perl/t/04forecast_information.t
    trunk/libweather-google-perl/t/05language.t

Modified: trunk/libweather-google-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libweather-google-perl/debian/changelog?rev=64678&op=diff
==============================================================================
--- trunk/libweather-google-perl/debian/changelog (original)
+++ trunk/libweather-google-perl/debian/changelog Sun Nov  7 13:29:54 2010
@@ -1,5 +1,5 @@
-libweather-google-perl (0.05-1) UNRELEASED; urgency=low
+libweather-google-perl (0.05-1) unstable; urgency=low
 
   * Initial Release. (Closes: #602203)
 
- -- Nicholas Bamber <nicholas at periapt.co.uk>  Fri, 05 Nov 2010 10:08:19 +0000
+ -- Nicholas Bamber <nicholas at periapt.co.uk>  Sun, 07 Nov 2010 13:31:17 +0000

Modified: trunk/libweather-google-perl/t/01init.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libweather-google-perl/t/01init.t?rev=64678&op=diff
==============================================================================
--- trunk/libweather-google-perl/t/01init.t (original)
+++ trunk/libweather-google-perl/t/01init.t Sun Nov  7 13:29:54 2010
@@ -2,8 +2,14 @@
 
 use strict;
 use warnings;
-
-use Test::Simple tests => 10;
+use Test::More;
+if ($ENV{TEST_WITH_NETWORK}) {
+    plan tests => 10;
+}
+else {
+    plan skip_all => "ignoring tests that depend on network";
+    exit(0);
+}
 
 use Weather::Google;
 
@@ -22,3 +28,4 @@
 ok ( $g = new Weather::Google('Beverly Hills, CA'), 'new(city)');
 ok( defined $g );
 ok( $g->isa('Weather::Google') );
+

Modified: trunk/libweather-google-perl/t/02current_conditions.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libweather-google-perl/t/02current_conditions.t?rev=64678&op=diff
==============================================================================
--- trunk/libweather-google-perl/t/02current_conditions.t (original)
+++ trunk/libweather-google-perl/t/02current_conditions.t Sun Nov  7 13:29:54 2010
@@ -1,10 +1,16 @@
-#!/usr/bin/perl -Tw
+#!/usr/bin/perl -w
 
 use strict;
 use warnings;
 
-use Test::More tests => 41;
-
+use Test::More;
+if ($ENV{TEST_WITH_NETWORK}) {
+    plan tests => 41;
+}
+else {
+    plan skip_all => "ignoring tests that depend on network";
+    exit(0);
+}
 use Weather::Google;
 
 my $g = new Weather::Google(90210);
@@ -37,4 +43,3 @@
 ok( @b = $g->current(@test) );
 is( @a, @b, "Arrays work" );
 
-

Modified: trunk/libweather-google-perl/t/03forecast_conditions.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libweather-google-perl/t/03forecast_conditions.t?rev=64678&op=diff
==============================================================================
--- trunk/libweather-google-perl/t/03forecast_conditions.t (original)
+++ trunk/libweather-google-perl/t/03forecast_conditions.t Sun Nov  7 13:29:54 2010
@@ -6,6 +6,10 @@
 use Weather::Google;
 
 use Test::More;
+if (not $ENV{TEST_WITH_NETWORK}) {
+    plan skip_all => "ignoring tests that depend on network";
+    exit(0);
+}
 
 # There are 5+3(n)+(3*11)(n) tests. 
 
@@ -73,4 +77,3 @@
 	ok( @b = $g->forecast($m, at test) );
 	is( @a, @b, "Arrays work" );
 }
-

Modified: trunk/libweather-google-perl/t/04forecast_information.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libweather-google-perl/t/04forecast_information.t?rev=64678&op=diff
==============================================================================
--- trunk/libweather-google-perl/t/04forecast_information.t (original)
+++ trunk/libweather-google-perl/t/04forecast_information.t Sun Nov  7 13:29:54 2010
@@ -3,8 +3,15 @@
 use strict;
 use warnings;
 
-use Test::More tests => 26;
+use Test::More;
 
+if ($ENV{TEST_WITH_NETWORK}) {
+    plan tests => 26;
+}
+else {
+    plan skip_all => "ignoring tests that depend on network";
+    exit(0);
+}
 use Weather::Google;
 
 my $g = new Weather::Google(90210);
@@ -35,4 +42,3 @@
 ok( @b = $g->info(@test) );
 is( @a, @b, "Arrays work" );
 
-

Modified: trunk/libweather-google-perl/t/05language.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libweather-google-perl/t/05language.t?rev=64678&op=diff
==============================================================================
--- trunk/libweather-google-perl/t/05language.t (original)
+++ trunk/libweather-google-perl/t/05language.t Sun Nov  7 13:29:54 2010
@@ -3,7 +3,14 @@
 use strict;
 use warnings;
 
-use Test::More tests => 12;
+use Test::More;
+if ($ENV{TEST_WITH_NETWORK}) {
+    plan tests => 12;
+}
+else {
+    plan skip_all => "ignoring tests that depend on network";
+    exit(0);
+}
 use Test::Warn;
 
 use Weather::Google;




More information about the Pkg-perl-cvs-commits mailing list