13 $this->zipDir = __DIR__ .
'/../../data/zip';
17 $this->entries[] = $entry;
23 $this->assertTrue(
$status->hasMessage( $error ), $assertMessage );
29 $this->assertTrue(
$status->isOK(), $assertMessage );
43 'No signature should give "wrong format" error' );
48 $this->assertEquals( $this->entries, [ [
49 'name' =>
'Class.class',
50 'mtime' =>
'20010115000000',
57 'Bad central entry error' );
62 'Trailing bytes error' );
67 'Wrong CD start disk error' );
77 'CD truncated error (should hit unpack() overrun)' );
82 'A file which looks like ZIP64 but isn\'t, should give error' );