MediaWiki
1.32.5
|
ZipDirectoryReader NOTE: this test is more like an integration test than a unit test. More...
Public Member Functions | |
readZipAssertError ( $file, $error, $assertMessage) | |
readZipAssertSuccess ( $file, $assertMessage) | |
testBadCentralEntrySignature () | |
testCentralDirectoryGap () | |
testCentralDirectoryTruncated () | |
testEmpty () | |
testLooksLikeZip64 () | |
testMultiDisk0 () | |
testNoSignature () | |
testSimple () | |
testTrailingBytes () | |
testWrongCDStart () | |
zipCallback ( $entry) | |
Protected Member Functions | |
setUp () | |
Protected Attributes | |
$entries | |
$zipDir | |
ZipDirectoryReader NOTE: this test is more like an integration test than a unit test.
Definition at line 7 of file ZipDirectoryReaderTest.php.
ZipDirectoryReaderTest::readZipAssertError | ( | $file, | |
$error, | |||
$assertMessage | |||
) |
Definition at line 23 of file ZipDirectoryReaderTest.php.
References ZipDirectoryReader\read().
Referenced by testBadCentralEntrySignature(), testCentralDirectoryGap(), testCentralDirectoryTruncated(), testLooksLikeZip64(), testMultiDisk0(), testNoSignature(), testTrailingBytes(), and testWrongCDStart().
ZipDirectoryReaderTest::readZipAssertSuccess | ( | $file, | |
$assertMessage | |||
) |
Definition at line 29 of file ZipDirectoryReaderTest.php.
References ZipDirectoryReader\read().
Referenced by testEmpty(), and testSimple().
|
protected |
Definition at line 14 of file ZipDirectoryReaderTest.php.
ZipDirectoryReaderTest::testBadCentralEntrySignature | ( | ) |
Definition at line 58 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::testCentralDirectoryGap | ( | ) |
Definition at line 73 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::testCentralDirectoryTruncated | ( | ) |
Definition at line 78 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::testEmpty | ( | ) |
Definition at line 35 of file ZipDirectoryReaderTest.php.
References readZipAssertSuccess().
ZipDirectoryReaderTest::testLooksLikeZip64 | ( | ) |
Definition at line 83 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::testMultiDisk0 | ( | ) |
Definition at line 39 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::testNoSignature | ( | ) |
Definition at line 44 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::testSimple | ( | ) |
Definition at line 49 of file ZipDirectoryReaderTest.php.
References readZipAssertSuccess().
ZipDirectoryReaderTest::testTrailingBytes | ( | ) |
Definition at line 63 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::testWrongCDStart | ( | ) |
Definition at line 68 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::zipCallback | ( | $entry | ) |
Definition at line 19 of file ZipDirectoryReaderTest.php.
|
protected |
Definition at line 12 of file ZipDirectoryReaderTest.php.
|
protected |
Definition at line 11 of file ZipDirectoryReaderTest.php.