Geo-Google-MapObject
view release on metacpan or search on metacpan
t/autozoom.t view on Meta::CPAN
#!perl
use strict;
use warnings;
use Test::More tests => 42;
use Geo::Google::MapObject;
use Test::Differences;
use Test::Deep;
use JSON;
use HTML::Template::Pluggable;
use HTML::Template::Plugin::Dot;
our $template =<<EOS;
<html>
<head>
<title>Test</title>
<script src="<TMPL_VAR NAME="map.javascript_url">" type="text/javascript"></script>
</head>
t/googlemap.t view on Meta::CPAN
#!perl
use strict;
use warnings;
use Test::More tests => 17;
use Geo::Google::MapObject;
use Test::Differences;
use Test::JSON;
use HTML::Template::Pluggable;
use HTML::Template::Plugin::Dot;
our $template =<<EOS;
<html>
<head>
<title>Test</title>
<script src="<TMPL_VAR NAME="map.javascript_url">" type="text/javascript"></script>
</head>
<body>
plan( skip_all => $msg );
}
eval { require Test::Prereq; };
if ( $@) {
my $msg = 'Test::Prereq required to criticise code';
plan( skip_all => $msg );
}
Test::Prereq::prereq_ok(undef, 'prereq', ['Test::CheckChanges', 'Test::CheckManifest', 'Test::Differences', 'Test::Perl::Critic', 'Test::Spelling', 'Test::Prereq']);
( run in 0.631 second using v1.01-cache-2.11-cpan-131fc08a04b )