Lines Matching full:should

36         '_is_prefix() should match valid path prefix' );
38 '... should not match wrong prefix' );
45 ok( $ei->_is_type(0, 'all'), '_is_type() should be true for type of "all"' );
53 ok( $ei->_is_type($file, 'doc'), "... should find doc file in $path" );
69 "... should find prog file under $prefix" );
74 '... should not find doc file outside path' );
82 ok( $ei->_is_under('foo'), '_is_under() should return true with no dirs' );
85 ok( !$ei->_is_under('foo', @under), '... should find no file not under dirs');
86 ok( $ei->_is_under('baz', @under), '... should find file under dir' );
125 # should find $fake_mod_dir via '.' in @INC
134 'new() should set Perl version from %Config' );
136 ok( exists $realei->{FakeMod}, 'new() should find modules with .packlists');
139 '... should find version in modules' );
157 'new() should set Perl version from %Config' );
159 …ok( ! exists $realei->{FakeMod}, 'new( skip_cwd => 1 ) should fail to find modules with .packlists…
178 'new() should set Perl version from %Config' );
180 ok( exists $realei->{FakeMod}, 'new() should find modules with .packlists');
183 '... should find version in modules' );
200 'new() should set Perl version from %Config' );
203 'new() should find modules with .packlists using PERL5LIB'
207 '... should find version in modules' );
229 ok( exists $realei->{FakeMod}, 'new() with overrides should find modules with .packlists');
232 '... should find version in modules' );
243 'new() with extra_libs should find modules with .packlists');
250 '... should find version in modules' );
256 'modules() should return sorted keys' );
276 like( $@, qr/badmod is not installed/,'files() should croak given bad modname');
278 like( $@, qr/type must be/,'files() should croak given bad type' );
285 is( scalar @files, 1, '... should find doc file under given dir' );
291 is( scalar @files, $mandirs, '... should find all doc files with no dir' );
295 is( scalar @files, 0, '... should find no doc files given wrong dirs' );
297 is( scalar @files, 1, '... should find doc file in correct dir' );
300 is( scalar @files, 2 + $mandirs, '... should find all files with no type specified' );
305 is( scalar @dirs, 0, 'directories() should return no dirs if no files found' );
310 is( scalar @dirs, $mandirs, '... should find all files files() would' );
313 is( scalar @dirs, 2 + $mandirs, '... should find all files files() would, again' );
315 is( join(' ', @files), join(' ', @dirs), '... should sort output' );
328 'directory_tree() should report intermediate dirs to those requested' );
338 # these should all croak
342 "$sub() should croak when asked about uninstalled module" );
347 'validate() should return results of packlist validate() call' );
351 'packlist() should report installed mod packlist' );
355 'version() should report installed mod version' );