Changeset 8871
- Timestamp:
- 04/04/08 16:00:24 (8 months ago)
- Location:
- lang/perl/HTTP-MobileAttribute/trunk
- Files:
-
- 9 modified
-
lib/HTTP/MobileAttribute.pm (modified) (1 diff)
-
t/02_docomo.t (modified) (2 diffs)
-
t/03_j_phone.t (modified) (1 diff)
-
t/04_ezweb.t (modified) (1 diff)
-
t/06_nonmobile.t (modified) (1 diff)
-
t/07_airh.t (modified) (1 diff)
-
t/09_vodafone_3gc.t (modified) (1 diff)
-
t/10_softbank.t (modified) (1 diff)
-
t/11_softbank_base.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/HTTP-MobileAttribute/trunk/lib/HTTP/MobileAttribute.pm
r8864 r8871 15 15 my $class = shift; 16 16 my %args = @_; 17 my $plugins = delete $args{plugins} || 18 # とりあえず動かすためだけに全部つっこんでみた。テストを分離させて、Core 以外はとっぱらうべき 19 [ qw(Core Carrier IS IS::ThirdForce XHTMLCompliant) ] 20 ; 17 my $plugins = delete $args{plugins} || [ 'Core' ]; 21 18 22 19 if (ref $plugins ne 'ARRAY') { -
lang/perl/HTTP-MobileAttribute/trunk/t/02_docomo.t
r8849 r8871 1 1 use strict; 2 2 use warnings; 3 use Test::More tests => 750; 4 5 BEGIN { use_ok 'HTTP::MobileAttribute' } 3 use Test::More tests => 748; 4 use HTTP::MobileAttribute plugins => [qw/Core XHTMLCompliant IS Carrier/]; 6 5 7 6 my @Tests = ( … … 39 38 [ "DoCoMo/1.0/D505i/c20/TC/W20H10", '1.0', '5.0', 'D505i', 20, undef, 'D', '505i', { status => 'TC' }, 0 ], 40 39 [ "DoCoMo/1.0/SH505i2/c20/TB/W20H10", '1.0', '5.0', 'SH505i', 20, undef, 'SH', '505i', { status => 'TB' }, 0 ], 41 [ "DoCoMo/1.0/F661i/c10/TB", '1.0', '4.0', 'F661i', 10, undef, 'F', '661i', { is_gps => 1}, 0 ],40 [ "DoCoMo/1.0/F661i/c10/TB", '1.0', '4.0', 'F661i', 10, undef, 'F', '661i', { }, 0 ], 42 41 ); 43 44 HTTP::MobileAttribute->load_plugins(qw/GPS/);45 42 46 43 for (@Tests) { -
lang/perl/HTTP-MobileAttribute/trunk/t/03_j_phone.t
r8791 r8871 1 1 use strict; 2 use Test::More tests => 250; 3 4 BEGIN { use_ok 'HTTP::MobileAttribute' } 2 use Test::More tests => 249; 3 use HTTP::MobileAttribute plugins => [qw/Core Carrier IS IS::ThirdForce/]; 5 4 6 5 my @Tests = ( -
lang/perl/HTTP-MobileAttribute/trunk/t/04_ezweb.t
r8815 r8871 1 1 use strict; 2 use Test::More tests => 484;3 4 BEGIN { use_ok 'HTTP::MobileAttribute' } 2 use warnings; 3 use Test::More tests => 483; 4 use HTTP::MobileAttribute plugins => [qw/XHTMLCompliant Core IS/]; 5 5 6 6 my @Tests = ( -
lang/perl/HTTP-MobileAttribute/trunk/t/06_nonmobile.t
r8641 r8871 1 1 use strict; 2 2 use Test::More tests => 164 * 9; 3 use HTTP::MobileAttribute ;3 use HTTP::MobileAttribute plugins => [qw/Core IS XHTMLCompliant Carrier/]; 4 4 5 5 while (<DATA>) { -
lang/perl/HTTP-MobileAttribute/trunk/t/07_airh.t
r8791 r8871 1 1 use strict; 2 3 use strict; 4 use Test::More tests => 17; 5 6 BEGIN { use_ok 'HTTP::MobileAttribute' } 2 use warnings; 3 use Test::More tests => 16; 4 use HTTP::MobileAttribute plugins => [qw/Core IS/]; 7 5 8 6 my @Tests = ( -
lang/perl/HTTP-MobileAttribute/trunk/t/09_vodafone_3gc.t
r8791 r8871 1 1 use strict; 2 use Test::More tests => 57; 2 use warnings; 3 use Test::More tests => 56; 3 4 4 BEGIN { use_ok 'HTTP::MobileAttribute' } 5 use HTTP::MobileAttribute plugins => [qw/Core IS IS::ThirdForce/]; 5 6 6 7 my @Tests = ( -
lang/perl/HTTP-MobileAttribute/trunk/t/10_softbank.t
r8791 r8871 1 1 use strict; 2 use Test::More tests => 31; 3 4 BEGIN { use_ok 'HTTP::MobileAttribute' } 2 use Test::More tests => 30; 3 use HTTP::MobileAttribute plugins => [qw/Core IS Carrier IS::ThirdForce/]; 5 4 6 5 my @Tests = ( -
lang/perl/HTTP-MobileAttribute/trunk/t/11_softbank_base.t
r8557 r8871 2 2 use warnings; 3 3 use Test::Base; 4 use HTTP::MobileAttribute ;4 use HTTP::MobileAttribute plugins => [qw/Core XHTMLCompliant Carrier IS::ThirdForce/]; 5 5 6 6 filters {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)