App-Relate-Complex
view release on metacpan or search on metacpan
t/dat/tree/the_sky
t/dat/tree/five.Jpeg
t/dat/tree/bottom
t/dat/tree/less.txt
t/dat/tree/ThreeThreeThree.JPG
t/dat/tree/ThreeThreeThree.txt
t/dat/tree/more.txt
t/dat/tree/go.xpm
t/dat/tree/ho.PNG
t/dat/tree/aaa.gif
t/dat/tree/no.png
t/dat/tree/ThreeThreeOnesey.txt
t/dat/tree/so.Png
t/dat/tree/subdir/dir/just_one.txt
t/dat/tree/subdir/nasty.txt
t/dat/tree/subdir/deepdir/groovy.txt
t/dat/tree/subdir/#baaad.txt#
t/dat/tree/subdir/#groovy.txt#
t/dat/tree/subdir/groovy.txt
t/dat/tree/subdir/baaad.txt
t/dat/tree/subdir/rageous.txt
t/dat/tree2/test11/eeeeeeeeeeeeeeeeee
t/dat/tree2/WHATDIS
t/dat/tree2/WHATDIS~
t/dat/tree3/AAA111/pixies/the_fifth.jpegged
t/dat/tree3/AAA111/pixies/the_sixth.jpegged
t/dat/tree3/AAA111/pixies/the_first.jpegged
t/dat/tree3/AAA111/pixies/the_first.GIF
t/dat/tree3/AAA111/pixies/the_first.JPG
t/dat/tree3/AAA111/pixies/the_first.XXX
t/dat/tree3/AAA111/pixies/the_first.jpg
t/dat/tree3/AAA111/pixies/the_first.png
t/dat/tree3/AAA111/pixies/the_first.txt
t/dat/tree3/AAA111/pixies/the_first_jpg
t/dat/tree3/AAA111/pixies/the_second.jpegged
t/dat/tree3/AAA111/pixies/the_third.GIF
t/dat/tree3/AAA111/pixies/the_third.JPG
t/dat/tree3/AAA111/pixies/the_third.XXX
t/dat/tree3/AAA111/pixies/the_third.jpg
t/dat/tree3/AAA111/pixies/the_third.png
t/dat/tree3/AAA111/pixies/the_third.txt
t/dat/tree3/AAA111/pixies/the_third_jpg
t/dat/tree3/AAA111/pixies/the_fifth.GIF
t/dat/tree3/AAA111/pixies/the_fifth.JPG
t/dat/tree3/AAA111/pixies/the_fifth.XXX
t/dat/tree3/AAA111/pixies/the_fifth.jpg
t/dat/tree3/AAA111/pixies/the_fifth.png
t/dat/tree3/AAA111/pixies/the_fifth.txt
t/dat/tree3/AAA111/pixies/the_fifth_jpg
t/dat/tree3/AAA111/pixies/the_fourth.GIF
t/dat/tree3/AAA111/pixies/the_fourth.JPG
t/dat/tree3/AAA111/pixies/the_fourth.XXX
t/dat/tree3/AAA111/pixies/the_fourth.jpg
t/dat/tree3/AAA111/pixies/the_fourth.png
t/dat/tree3/AAA111/pixies/the_fourth.txt
t/dat/tree3/AAA111/pixies/the_third.jpegged
t/dat/tree3/AAA111/pixies/the_fourth_jpg
t/dat/tree3/AAA111/pixies/the_sixth.GIF
t/dat/tree3/AAA111/pixies/the_sixth.JPG
t/dat/tree3/AAA111/pixies/the_sixth.XXX
t/dat/tree3/AAA111/pixies/the_sixth.jpg
t/dat/tree3/AAA111/pixies/the_sixth.png
t/dat/tree3/AAA111/pixies/the_sixth.txt
t/dat/tree3/AAA111/pixies/the_sixth_jpg
t/dat/tree3/AAA111/pixies/the_fourth.jpegged
t/dat/tree3/AAA111/pixies/the_second.GIF
t/dat/tree3/AAA111/pixies/the_second.JPG
t/dat/tree3/AAA111/pixies/the_second.XXX
t/dat/tree3/AAA111/pixies/the_second.jpg
t/dat/tree3/AAA111/pixies/the_second.png
t/dat/tree3/AAA111/pixies/the_second.txt
t/dat/tree3/AAA111/pixies/the_second_jpg
t/dat/tree3/BBB222/pyx/CVS/da_fifth.JPG
t/dat/tree3/BBB222/pyx/CVS/da_sixth.JPG
t/dat/tree3/BBB222/pyx/CVS/da_fourth.JPG
t/dat/tree3/BBB222/pyx/CVS/da_first.JPG
t/dat/tree3/BBB222/pyx/CVS/da_second.JPG
t/dat/tree3/BBB222/pyx/CVS/da_third.JPG
t/dat/tree3/BBB222/pyx/no_see_fourth.JPG
t/dat/tree3/BBB222/pyx/no_see_fourth.jpg
t/00-App-Relate-Complex.t view on Meta::CPAN
"$tree/AAA111/pixies/the_sixth.JPG",
));
my @expected_c = sort( (
"$tree/AAA111/pixies/the_second.jpg",
"$tree/AAA111/pixies/the_sixth.jpg",
"$tree/AAA111/pixies/the_second.GIF",
"$tree/AAA111/pixies/the_sixth.GIF",
"$tree/AAA111/pixies/the_second.JPG",
"$tree/AAA111/pixies/the_sixth.JPG",
"$tree/AAA111/pixies/the_second.png",
"$tree/AAA111/pixies/the_sixth.png",
));
my @sorted_matches_a = sort @{ $matches_a };
is_deeply( \@sorted_matches_a, \@expected_a, "$test_name: ':jpeg' with default filter on");
my @sorted_matches_b = sort @{ $matches_b };
is_deeply( \@sorted_matches_b, \@expected_a, "$test_name: ':jpeg' with default off");
my @sorted_matches_c = sort @{ $matches_c };
is_deeply( \@sorted_matches_c, \@expected_c, "$test_name: ':web_img' filter with default on");
( run in 0.568 second using v1.01-cache-2.11-cpan-df04353d9ac )