Changeset 430 for lang/perl/plagger/t
- Timestamp:
- 10/08/07 13:57:12 (14 months ago)
- Files:
-
- 1 modified
-
lang/perl/plagger/t/plugins/Filter-FLVInfo/base.t (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/plagger/t/plugins/Filter-FLVInfo/base.t
r421 r430 1 1 use strict; 2 use t::TestPlagger; 2 use FindBin; 3 use File::Path qw(rmtree); 3 4 4 test_requires_network('mizzy.org:80'); 5 BEGIN { 6 use t::TestPlagger; 7 test_requires_network('mizzy.org:80'); 8 } 9 10 our $tmpdir = "$FindBin::Bin/tmp"; 5 11 6 12 plan 'no_plan'; 7 13 8 14 run_eval_expected; 15 16 END { rmtree $tmpdir if $tmpdir } 9 17 10 18 __END__ … … 26 34 - url: http://mizzy.org/plagger-test/mizzy.flv 27 35 36 - module: Filter::FetchEnclosure 37 config: 38 dir: $main::tmpdir 28 39 - module: Filter::FLVInfo 29 40 30 41 --- expected 31 is $context->update->feeds->[0]->entries->[0]->meta-> flvinfo->height, '240';32 is $context->update->feeds->[0]->entries->[0]->meta-> flvinfo->width, '320';33 is $context->update->feeds->[0]->entries->[0]->meta-> flvinfo->aspect, '4:3';42 is $context->update->feeds->[0]->entries->[0]->meta->{flvinfo}->{height}, '240'; 43 is $context->update->feeds->[0]->entries->[0]->meta->{flvinfo}->{width}, '320'; 44 is $context->update->feeds->[0]->entries->[0]->meta->{flvinfo}->{aspect}, '4:3';
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)