Changeset 22928 for lang/perl/Config-Multi
- Timestamp:
- 11/07/08 15:56:01 (5 years ago)
- Location:
- lang/perl/Config-Multi/trunk/t
- Files:
-
- 7 modified
-
01-loadling.t (modified) (2 diffs)
-
02-overwrite.t (modified) (2 diffs)
-
03-multi.t (modified) (2 diffs)
-
04-env.t (modified) (2 diffs)
-
05-no-prefix.t (modified) (2 diffs)
-
06-extension.t (modified) (2 diffs)
-
07-unicode-option.t (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Config-Multi/trunk/t/01-loadling.t
r11786 r22928 1 1 use Test::Base; 2 use Config::Any::YAML; 2 3 use Config::Multi; 3 4 use FindBin; … … 6 7 use Data::Dumper; 7 8 8 plan tests => 1 * blocks ; 9 if ( !Config::Any::YAML->is_supported ) { 10 plan skip_all => 'YAML format not supported'; 11 } 12 else { 13 plan tests => 1 * blocks; 14 } 9 15 10 16 my $dir = File::Spec->catfile( $FindBin::Bin , 'conf' ); -
lang/perl/Config-Multi/trunk/t/02-overwrite.t
r11786 r22928 1 1 use Test::Base; 2 use Config::Any::YAML; 2 3 use Config::Multi; 3 4 use FindBin; … … 6 7 use Data::Dumper; 7 8 8 plan tests => 3 * blocks ; 9 if ( !Config::Any::YAML->is_supported ) { 10 plan skip_all => 'YAML format not supported'; 11 } 12 else { 13 plan tests => 3 * blocks ; 14 } 9 15 10 16 my $dir = File::Spec->catfile( $FindBin::Bin , 'conf' ); -
lang/perl/Config-Multi/trunk/t/03-multi.t
r11786 r22928 1 1 use Test::Base; 2 use Config::Any::YAML; 2 3 use Config::Multi; 3 4 use FindBin; … … 6 7 use Data::Dumper; 7 8 8 plan tests => 3 * blocks ; 9 if ( !Config::Any::YAML->is_supported ) { 10 plan skip_all => 'YAML format not supported'; 11 } 12 else { 13 plan tests => 3 * blocks ; 14 } 9 15 10 16 my $dir = File::Spec->catfile( $FindBin::Bin , 'conf' ); -
lang/perl/Config-Multi/trunk/t/04-env.t
r11786 r22928 1 1 use Test::Base; 2 use Config::Any::YAML; 2 3 use Config::Multi; 3 4 use FindBin; … … 6 7 use Data::Dumper; 7 8 8 plan tests => 1 * blocks ; 9 if ( !Config::Any::YAML->is_supported ) { 10 plan skip_all => 'YAML format not supported'; 11 } 12 else { 13 plan tests => 1 * blocks ; 14 } 9 15 10 16 my $dir = File::Spec->catfile( $FindBin::Bin , 'conf' ); -
lang/perl/Config-Multi/trunk/t/05-no-prefix.t
r11786 r22928 1 1 use Test::Base; 2 use Config::Any::YAML; 2 3 use Config::Multi; 3 4 use FindBin; … … 6 7 use Data::Dumper; 7 8 8 plan tests => 1 * blocks ; 9 if ( !Config::Any::YAML->is_supported ) { 10 plan skip_all => 'YAML format not supported'; 11 } 12 else { 13 plan tests => 1 * blocks ; 14 } 9 15 10 16 my $dir = File::Spec->catfile( $FindBin::Bin , 'conf' ); -
lang/perl/Config-Multi/trunk/t/06-extension.t
r13823 r22928 1 1 use Test::Base; 2 use Config::Any::YAML; 2 3 use Config::Multi; 3 4 use FindBin; … … 6 7 use Data::Dumper; 7 8 8 plan tests => 1 * blocks ; 9 if ( !Config::Any::YAML->is_supported ) { 10 plan skip_all => 'YAML format not supported'; 11 } 12 else { 13 plan tests => 1 * blocks ; 14 } 9 15 10 16 my $dir = File::Spec->catfile( $FindBin::Bin , 'conf' ); -
lang/perl/Config-Multi/trunk/t/07-unicode-option.t
r19195 r22928 1 1 use Test::Base; 2 use Config::Any::YAML; 2 3 use Config::Multi; 3 4 use FindBin; … … 7 8 use Data::Dumper; 8 9 9 plan tests => 1 * blocks ; 10 if ( !Config::Any::YAML->is_supported ) { 11 plan skip_all => 'YAML format not supported'; 12 } 13 else { 14 plan tests => 1 * blocks; 15 } 10 16 11 17 my $dir = File::Spec->catfile( $FindBin::Bin , 'conf' ); … … 21 27 __END__ 22 28 === test 23 --- expected yaml 24 hoge: ほげ 25 foo: 26 bar: ばー 27 fuga: ふが 29 --- expected eval 30 { 31 hoge => 'ほげ', 32 foo => { 33 bar => 'ばー', 34 }, 35 fuga => 'ふが', 36 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)