Akron | 797e807 | 2020-02-13 07:59:40 +0100 | [diff] [blame] | 1 | use strict; |
| 2 | use warnings; |
| 3 | use File::Basename 'dirname'; |
| 4 | use File::Spec::Functions qw/catfile/; |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 5 | use IO::Uncompress::Unzip qw(unzip $UnzipError); |
Akron | 797e807 | 2020-02-13 07:59:40 +0100 | [diff] [blame] | 6 | |
| 7 | use Test::More; |
| 8 | use Test::Output; |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 9 | use Test::XML::Loy; |
Peter Harders | 42e18a6 | 2020-07-21 02:43:26 +0200 | [diff] [blame^] | 10 | |
| 11 | use FindBin; |
| 12 | BEGIN { |
| 13 | unshift @INC, "$FindBin::Bin/../lib"; |
| 14 | }; |
Akron | 5fb5e8d | 2020-07-23 17:45:13 +0200 | [diff] [blame] | 15 | use Test::KorAP::XML::TEI qw!korap_tempfile!; |
Peter Harders | 57c884e | 2020-07-16 01:28:52 +0200 | [diff] [blame] | 16 | |
Akron | 797e807 | 2020-02-13 07:59:40 +0100 | [diff] [blame] | 17 | my $f = dirname(__FILE__); |
| 18 | my $script = catfile($f, '..', 'script', 'tei2korapxml'); |
| 19 | ok(-f $script, 'Script found'); |
| 20 | |
Akron | d949e18 | 2020-02-14 12:23:57 +0100 | [diff] [blame] | 21 | stdout_like( |
Akron | 797e807 | 2020-02-13 07:59:40 +0100 | [diff] [blame] | 22 | sub { system('perl', $script, '--help') }, |
Akron | d949e18 | 2020-02-14 12:23:57 +0100 | [diff] [blame] | 23 | qr!This\s*program\s*is\s*usually\s*called\s*from\s*inside\s*another\s*script\.!, |
Akron | 797e807 | 2020-02-13 07:59:40 +0100 | [diff] [blame] | 24 | 'Help' |
| 25 | ); |
| 26 | |
Akron | d949e18 | 2020-02-14 12:23:57 +0100 | [diff] [blame] | 27 | stdout_like( |
| 28 | sub { system('perl', $script, '--version') }, |
| 29 | qr!tei2korapxml - v\d+?\.\d+?!, |
| 30 | 'Version' |
| 31 | ); |
| 32 | |
| 33 | |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 34 | # Load example file |
| 35 | my $file = catfile($f, 'data', 'goe_sample.i5.xml'); |
Peter Harders | 57c884e | 2020-07-16 01:28:52 +0200 | [diff] [blame] | 36 | |
Akron | 5fb5e8d | 2020-07-23 17:45:13 +0200 | [diff] [blame] | 37 | my ($fh, $outzip) = korap_tempfile('script_out'); |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 38 | |
| 39 | # Generate zip file (unportable!) |
| 40 | stderr_like( |
Peter Harders | f9c5124 | 2020-07-21 02:37:44 +0200 | [diff] [blame] | 41 | sub { `cat '$file' | perl '$script' -ti > '$outzip'` }, |
Peter Harders | 57c884e | 2020-07-16 01:28:52 +0200 | [diff] [blame] | 42 | # approaches for working with $fh (also better use OO interface then) |
| 43 | # sub { open STDOUT, '>&', $fh; system("cat '$file' | perl '$script'") }, |
| 44 | # sub { open(my $pipe, "cat '$file' | perl '$script'|"); while(<$pipe>){$fh->print($_)}; $fh->close }, |
| 45 | # sub { |
| 46 | # defined(my $pid = fork) or die "fork: $!"; |
| 47 | # if (!$pid) { |
| 48 | # open STDOUT, '>&', $fh; |
| 49 | # exec "cat '$file' | perl '$script'" |
| 50 | # } |
| 51 | # waitpid $pid, 0; |
| 52 | # $fh->close; |
| 53 | # }, |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 54 | qr!tei2korapxml: .*? text_id=GOE_AGA\.00000!, |
| 55 | 'Processing' |
| 56 | ); |
| 57 | |
Akron | 8571751 | 2020-07-08 11:19:19 +0200 | [diff] [blame] | 58 | ok(-e $outzip, "File $outzip exists"); |
| 59 | |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 60 | # Uncompress GOE/header.xml from zip file |
| 61 | my $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/header.xml'); |
| 62 | |
| 63 | ok($zip, 'Zip-File is created'); |
| 64 | |
Peter Harders | 57c884e | 2020-07-16 01:28:52 +0200 | [diff] [blame] | 65 | # TODO: check wrong encoding in header-files (compare with input document)! |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 66 | # Read GOE/header.xml |
| 67 | my $header_xml = ''; |
| 68 | $header_xml .= $zip->getline while !$zip->eof; |
| 69 | ok($zip->close, 'Closed'); |
| 70 | |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 71 | my $t = Test::XML::Loy->new($header_xml); |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 72 | |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 73 | $t->text_is('korpusSigle', 'GOE', 'korpusSigle') |
| 74 | ->text_is('h\.title[type=main]', 'Goethes Werke', 'h.title') |
| 75 | ->text_is('h\.author', 'Goethe, Johann Wolfgang von', 'h.author') |
| 76 | ->text_is('pubDate[type=year]', '1982', 'pubDate'); |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 77 | |
Akron | 6896608 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 78 | |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 79 | # Uncompress GOE/AGA/header.xml from zip file |
| 80 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/header.xml'); |
| 81 | |
| 82 | ok($zip, 'Zip-File is found'); |
| 83 | |
| 84 | # Read GOE/AGA/header.xml |
| 85 | $header_xml = ''; |
| 86 | $header_xml .= $zip->getline while !$zip->eof; |
| 87 | ok($zip->close, 'Closed'); |
| 88 | |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 89 | $t = Test::XML::Loy->new($header_xml); |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 90 | |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 91 | $t->text_is('dokumentSigle', 'GOE/AGA', 'dokumentSigle') |
| 92 | ->text_is('d\.title', 'Goethe: Autobiographische Schriften II, (1817-1825, 1832)', 'd.title') |
| 93 | ->text_is('creatDate', '1820-1822', 'creatDate'); |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 94 | |
| 95 | # Uncompress GOE/AGA/00000/header.xml from zip file |
| 96 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/header.xml'); |
| 97 | |
| 98 | ok($zip, 'Zip-File is found'); |
| 99 | |
| 100 | # Read GOE/AGA/00000/header.xml |
| 101 | $header_xml = ''; |
| 102 | $header_xml .= $zip->getline while !$zip->eof; |
| 103 | ok($zip->close, 'Closed'); |
| 104 | |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 105 | $t = Test::XML::Loy->new($header_xml); |
| 106 | $t->text_is('textSigle', 'GOE/AGA.00000', 'textSigle') |
| 107 | ->text_is('analytic > h\.title[type=main]', 'Campagne in Frankreich', 'h.title'); |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 108 | |
| 109 | # Uncompress GOE/AGA/00000/data.xml from zip file |
| 110 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/data.xml'); |
| 111 | |
| 112 | ok($zip, 'Zip-File is found'); |
| 113 | |
| 114 | # Read GOE/AGA/00000/data.xml |
| 115 | my $data_xml = ''; |
| 116 | $data_xml .= $zip->getline while !$zip->eof; |
| 117 | ok($zip->close, 'Closed'); |
| 118 | |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 119 | $t = Test::XML::Loy->new($data_xml); |
| 120 | $t->attr_is('raw_text', 'docid', 'GOE_AGA.00000', 'text id') |
| 121 | ->text_like('raw_text > text', qr!^Campagne in Frankreich 1792.*?uns allein begl.*cke\.$!, 'text content'); |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 122 | |
| 123 | # Uncompress GOE/AGA/00000/struct/structure.xml from zip file |
| 124 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/struct/structure.xml'); |
| 125 | |
| 126 | ok($zip, 'Zip-File is found'); |
| 127 | |
| 128 | # Read GOE/AGA/00000/struct/structure.xml |
| 129 | my $struct_xml = ''; |
| 130 | $struct_xml .= $zip->getline while !$zip->eof; |
Peter Harders | 57c884e | 2020-07-16 01:28:52 +0200 | [diff] [blame] | 131 | |
Akron | 2a60c53 | 2020-02-13 15:52:18 +0100 | [diff] [blame] | 132 | ok($zip->close, 'Closed'); |
| 133 | |
Akron | d89ef82 | 2020-02-17 12:42:09 +0100 | [diff] [blame] | 134 | $t = Test::XML::Loy->new($struct_xml); |
| 135 | $t->text_is('span[id=s3] *[name=type]', 'Autobiographie', 'text content'); |
Akron | 797e807 | 2020-02-13 07:59:40 +0100 | [diff] [blame] | 136 | |
Peter Harders | 42e18a6 | 2020-07-21 02:43:26 +0200 | [diff] [blame^] | 137 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/base/tokens.xml'); |
| 138 | ok(!$zip, 'External not generated'); |
Akron | eac374d | 2020-07-07 09:00:44 +0200 | [diff] [blame] | 139 | |
| 140 | # Uncompress GOE/AGA/00000/base/tokens_aggressive.xml from zip file |
| 141 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/base/tokens_aggressive.xml'); |
| 142 | |
| 143 | # Read GOE/AGA/00000/base/tok.xml |
| 144 | my $tokens_xml = ''; |
| 145 | $tokens_xml .= $zip->getline while !$zip->eof; |
| 146 | ok($zip->close, 'Closed'); |
| 147 | |
| 148 | $t = Test::XML::Loy->new($tokens_xml); |
| 149 | $t->attr_is('spanList span:nth-child(1)', 'to', 8); |
| 150 | |
| 151 | $t->attr_is('spanList span#t_1', 'from', 9); |
| 152 | $t->attr_is('spanList span#t_1', 'to', 11); |
| 153 | |
| 154 | $t->attr_is('spanList span#t_67', 'from', 427); |
| 155 | $t->attr_is('spanList span#t_67', 'to', 430); |
| 156 | |
| 157 | $t->attr_is('spanList span#t_214', 'from', 1209); |
| 158 | $t->attr_is('spanList span#t_214', 'to', 1212); |
| 159 | |
| 160 | $t->element_count_is('spanList span', 227); |
| 161 | |
| 162 | |
| 163 | # Uncompress GOE/AGA/00000/base/tokens_conservative.xml from zip file |
| 164 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/base/tokens_conservative.xml'); |
| 165 | |
Akron | 8b511f9 | 2020-07-09 17:28:08 +0200 | [diff] [blame] | 166 | $tokens_xml = ''; |
| 167 | $tokens_xml .= $zip->getline while !$zip->eof; |
| 168 | ok($zip->close, 'Closed'); |
| 169 | |
| 170 | $t = Test::XML::Loy->new($tokens_xml); |
| 171 | $t->attr_is('spanList span:nth-child(1)', 'to', 8); |
| 172 | |
| 173 | $t->attr_is('spanList span#t_1', 'from', 9); |
| 174 | $t->attr_is('spanList span#t_1', 'to', 11); |
| 175 | |
| 176 | $t->attr_is('spanList span#t_67', 'from', 427); |
| 177 | $t->attr_is('spanList span#t_67', 'to', 430); |
| 178 | |
| 179 | $t->attr_is('spanList span#t_214', 'from', 1209); |
| 180 | $t->attr_is('spanList span#t_214', 'to', 1212); |
| 181 | |
| 182 | $t->element_count_is('spanList span', 227); |
| 183 | |
Peter Harders | 42e18a6 | 2020-07-21 02:43:26 +0200 | [diff] [blame^] | 184 | |
Akron | 8b511f9 | 2020-07-09 17:28:08 +0200 | [diff] [blame] | 185 | # Tokenize with external tokenizer |
| 186 | my $cmd = catfile($f, 'cmd', 'tokenizer.pl'); |
| 187 | |
Akron | 5fb5e8d | 2020-07-23 17:45:13 +0200 | [diff] [blame] | 188 | my ($fh2, $outzip2) = korap_tempfile('script_out2'); |
Peter Harders | b122717 | 2020-07-21 02:12:10 +0200 | [diff] [blame] | 189 | |
Akron | 8b511f9 | 2020-07-09 17:28:08 +0200 | [diff] [blame] | 190 | stderr_like( |
Peter Harders | 42e18a6 | 2020-07-21 02:43:26 +0200 | [diff] [blame^] | 191 | sub { `cat '$file' | perl '$script' -tc='perl $cmd' > '$outzip2'` }, |
Akron | 8b511f9 | 2020-07-09 17:28:08 +0200 | [diff] [blame] | 192 | qr!tei2korapxml: .*? text_id=GOE_AGA\.00000!, |
| 193 | 'Processing' |
| 194 | ); |
| 195 | |
Peter Harders | 71f072b | 2020-07-15 14:15:01 +0200 | [diff] [blame] | 196 | # Uncompress GOE/AGA/00000/base/tokens.xml from zip file |
Peter Harders | b122717 | 2020-07-21 02:12:10 +0200 | [diff] [blame] | 197 | $zip = IO::Uncompress::Unzip->new($outzip2, Name => 'GOE/AGA/00000/base/tokens.xml'); |
Peter Harders | 42e18a6 | 2020-07-21 02:43:26 +0200 | [diff] [blame^] | 198 | ok($zip, 'Found'); |
| 199 | ok(!$zip->eof, 'Readable'); |
Akron | 8b511f9 | 2020-07-09 17:28:08 +0200 | [diff] [blame] | 200 | |
| 201 | # Read GOE/AGA/00000/base/tokens.xml |
Akron | eac374d | 2020-07-07 09:00:44 +0200 | [diff] [blame] | 202 | $tokens_xml = ''; |
| 203 | $tokens_xml .= $zip->getline while !$zip->eof; |
| 204 | ok($zip->close, 'Closed'); |
| 205 | |
| 206 | $t = Test::XML::Loy->new($tokens_xml); |
| 207 | $t->attr_is('spanList span:nth-child(1)', 'to', 8); |
| 208 | |
| 209 | $t->attr_is('spanList span#t_1', 'from', 9); |
| 210 | $t->attr_is('spanList span#t_1', 'to', 11); |
| 211 | |
| 212 | $t->attr_is('spanList span#t_67', 'from', 427); |
| 213 | $t->attr_is('spanList span#t_67', 'to', 430); |
| 214 | |
| 215 | $t->attr_is('spanList span#t_214', 'from', 1209); |
| 216 | $t->attr_is('spanList span#t_214', 'to', 1212); |
| 217 | |
| 218 | $t->element_count_is('spanList span', 227); |
| 219 | |
Peter Harders | 71f072b | 2020-07-15 14:15:01 +0200 | [diff] [blame] | 220 | |
Akron | 5fb5e8d | 2020-07-23 17:45:13 +0200 | [diff] [blame] | 221 | my ($fh3, $outzip3) = korap_tempfile('script_out3'); |
Peter Harders | b122717 | 2020-07-21 02:12:10 +0200 | [diff] [blame] | 222 | |
| 223 | |
Peter Harders | 71f072b | 2020-07-15 14:15:01 +0200 | [diff] [blame] | 224 | # ~ test conservative tokenization ~ |
| 225 | |
| 226 | $file = catfile($f, 'data', 'text_with_blanks.i5.xml'); |
| 227 | |
| 228 | stderr_like( |
Peter Harders | f9c5124 | 2020-07-21 02:37:44 +0200 | [diff] [blame] | 229 | sub { `cat '$file' | perl '$script' --ti > '$outzip3'` }, |
Peter Harders | 71f072b | 2020-07-15 14:15:01 +0200 | [diff] [blame] | 230 | qr!tei2korapxml: .*? text_id=CORP_DOC.00001!, |
| 231 | 'Processing' |
| 232 | ); |
| 233 | |
Peter Harders | b122717 | 2020-07-21 02:12:10 +0200 | [diff] [blame] | 234 | ok(-e $outzip3, "File $outzip3 exists"); |
Peter Harders | 71f072b | 2020-07-15 14:15:01 +0200 | [diff] [blame] | 235 | |
Peter Harders | b122717 | 2020-07-21 02:12:10 +0200 | [diff] [blame] | 236 | $zip = IO::Uncompress::Unzip->new($outzip3, Name => 'CORP/DOC/00001/base/tokens_conservative.xml'); |
Peter Harders | 71f072b | 2020-07-15 14:15:01 +0200 | [diff] [blame] | 237 | |
| 238 | ok($zip, 'Zip-File is created'); |
| 239 | |
| 240 | my $cons = ''; |
| 241 | $cons .= $zip->getline while !$zip->eof; |
| 242 | ok($zip->close, 'Closed'); |
| 243 | |
| 244 | $t = Test::XML::Loy->new($cons); |
| 245 | $t->attr_is('spanList span:nth-child(1)', 'to', 6); |
| 246 | |
| 247 | $t->attr_is('spanList span#t_1', 'from', 7); |
| 248 | $t->attr_is('spanList span#t_1', 'to', 9); |
| 249 | |
| 250 | $t->attr_is('spanList span#t_3', 'from', 12); |
| 251 | $t->attr_is('spanList span#t_3', 'to', 16); |
| 252 | |
| 253 | $t->attr_is('spanList span#t_9', 'from', 36); |
| 254 | $t->attr_is('spanList span#t_9', 'to', 37); |
| 255 | |
| 256 | $t->attr_is('spanList span#t_13', 'from', 44); |
| 257 | $t->attr_is('spanList span#t_13', 'to', 45); # " |
| 258 | |
| 259 | $t->attr_is('spanList span#t_14', 'from', 45); # twenty-two |
| 260 | $t->attr_is('spanList span#t_14', 'to', 55); |
| 261 | |
| 262 | $t->attr_is('spanList span#t_15', 'from', 55); # " |
| 263 | $t->attr_is('spanList span#t_15', 'to', 56); |
| 264 | |
| 265 | $t->attr_is('spanList span#t_19', 'from', 66); |
| 266 | $t->attr_is('spanList span#t_19', 'to', 67); |
| 267 | |
| 268 | $t->element_count_is('spanList span', 20); |
| 269 | |
| 270 | |
| 271 | # ~ test aggressive tokenization ~ |
| 272 | |
Peter Harders | b122717 | 2020-07-21 02:12:10 +0200 | [diff] [blame] | 273 | $zip = IO::Uncompress::Unzip->new($outzip3, Name => 'CORP/DOC/00001/base/tokens_aggressive.xml'); |
Peter Harders | 71f072b | 2020-07-15 14:15:01 +0200 | [diff] [blame] | 274 | |
| 275 | ok($zip, 'Zip-File is created'); |
| 276 | |
| 277 | my $aggr = ''; |
| 278 | $aggr .= $zip->getline while !$zip->eof; |
| 279 | ok($zip->close, 'Closed'); |
| 280 | |
| 281 | $t = Test::XML::Loy->new($aggr); |
| 282 | |
| 283 | $t->attr_is('spanList span:nth-child(1)', 'to', 6); |
| 284 | |
| 285 | $t->attr_is('spanList span#t_1', 'from', 7); |
| 286 | $t->attr_is('spanList span#t_1', 'to', 9); |
| 287 | |
| 288 | $t->attr_is('spanList span#t_3', 'from', 12); |
| 289 | $t->attr_is('spanList span#t_3', 'to', 16); |
| 290 | |
| 291 | $t->attr_is('spanList span#t_9', 'from', 36); |
| 292 | $t->attr_is('spanList span#t_9', 'to', 37); |
| 293 | |
| 294 | $t->attr_is('spanList span#t_13', 'from', 44); |
| 295 | $t->attr_is('spanList span#t_13', 'to', 45); # " |
| 296 | |
| 297 | $t->attr_is('spanList span#t_14', 'from', 45); # twenty |
| 298 | $t->attr_is('spanList span#t_14', 'to', 51); |
| 299 | |
| 300 | $t->attr_is('spanList span#t_15', 'from', 51); # - |
| 301 | $t->attr_is('spanList span#t_15', 'to', 52); |
| 302 | |
| 303 | $t->attr_is('spanList span#t_16', 'from', 52); # two |
| 304 | $t->attr_is('spanList span#t_16', 'to', 55); |
| 305 | |
| 306 | $t->attr_is('spanList span#t_17', 'from', 55); # " |
| 307 | $t->attr_is('spanList span#t_17', 'to', 56); |
| 308 | |
| 309 | $t->attr_is('spanList span#t_21', 'from', 66); |
| 310 | $t->attr_is('spanList span#t_21', 'to', 67); |
| 311 | |
| 312 | $t->element_count_is('spanList span', 22); |
| 313 | |
| 314 | |
Peter Harders | 42e18a6 | 2020-07-21 02:43:26 +0200 | [diff] [blame^] | 315 | subtest 'Check Tokenization Flags' => sub { |
| 316 | |
| 317 | # Get external tokenizer |
| 318 | my $f = dirname(__FILE__); |
| 319 | my $cmd = catfile($f, 'cmd', 'tokenizer.pl'); |
| 320 | |
| 321 | # Load example file |
| 322 | my $file = catfile($f, 'data', 'goe_sample.i5.xml'); |
| 323 | |
| 324 | my ($fh, $outzip) = korap_tempfile('script_tokflags'); |
| 325 | |
| 326 | # Generate zip file (unportable!) |
| 327 | stderr_like( |
| 328 | sub { `cat '$file' | perl '$script' -ti -tc 'perl $cmd' > '$outzip'` }, |
| 329 | qr!tei2korapxml: .*? text_id=GOE_AGA\.00000!, |
| 330 | 'Processing' |
| 331 | ); |
| 332 | |
| 333 | ok(-e $outzip, "File $outzip exists"); |
| 334 | |
| 335 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/base/tokens_aggressive.xml'); |
| 336 | ok($zip, 'Aggressive generated'); |
| 337 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/base/tokens_conservative.xml'); |
| 338 | ok($zip, 'Conservative generated'); |
| 339 | $zip = IO::Uncompress::Unzip->new($outzip, Name => 'GOE/AGA/00000/base/tokens.xml'); |
| 340 | ok($zip, 'External generated'); |
| 341 | }; |
| 342 | |
Akron | 797e807 | 2020-02-13 07:59:40 +0100 | [diff] [blame] | 343 | done_testing; |