6
use Test::More; # see done_testing()
10
require_ok( 'Dpkg::Copyright::Scanner' );
24
'dir with several files',
104
e-action-combo-box.c: 18
105
e-action-combo-box.h: 18
106
e-charset-combo-box.c: 17
107
e-charset-combo-box.h: 17
114
[ 5,'pan/data/cert-store.cc','pan/data/cert-store.h' ],
115
[ 1,'pan/data/defgroup.h' ],
116
[ 3,'pan/data/parts.cc','pan/data/parts.h' ],
117
[ 1,'pan/data-impl/defgroup.h' ],
118
[ 1,'pan/general/debug.cc','pan/general/defgroup.h' ],
119
[ 8,'pan/general/e-util.cc','pan/general/e-util.h' ],
120
[ 1,'pan/gui/action-manager.h','pan/gui/defgroup.h' ],
121
[ 18,'pan/gui/e-action-combo-box.c','pan/gui/e-action-combo-box.h' ],
122
[ 17,'pan/gui/e-charset-combo-box.c','pan/gui/e-charset-combo-box.h'],
130
foreach my $t (@tests) {
131
my ($label,$in,$expect) = @$t;
132
my $res = Dpkg::Copyright::Scanner::__squash(Load($in));
133
eq_or_diff(Dump($res), ref($expect) ? Dump($expect) : $expect,"__squash $label");