MediaWiki
REL1_22
|
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 () | |
setUp and tearDown should (where significant) happen in reverse order. | |
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 20 of file ZipDirectoryReaderTest.php.
References $error, array(), and ZipDirectoryReader\read().
Referenced by testBadCentralEntrySignature(), testCentralDirectoryGap(), testCentralDirectoryTruncated(), testLooksLikeZip64(), testMultiDisk0(), testNoSignature(), testTrailingBytes(), and testWrongCDStart().
ZipDirectoryReaderTest::readZipAssertSuccess | ( | $ | file, |
$ | assertMessage | ||
) |
Definition at line 26 of file ZipDirectoryReaderTest.php.
References array(), and ZipDirectoryReader\read().
Referenced by testEmpty(), and testSimple().
ZipDirectoryReaderTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 11 of file ZipDirectoryReaderTest.php.
Definition at line 55 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
Definition at line 71 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
Definition at line 76 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
Definition at line 32 of file ZipDirectoryReaderTest.php.
References readZipAssertSuccess().
Definition at line 81 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
Definition at line 36 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
Definition at line 41 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
Definition at line 46 of file ZipDirectoryReaderTest.php.
References array(), and readZipAssertSuccess().
Definition at line 60 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
Definition at line 65 of file ZipDirectoryReaderTest.php.
References readZipAssertError().
ZipDirectoryReaderTest::zipCallback | ( | $ | entry | ) |
Definition at line 16 of file ZipDirectoryReaderTest.php.
ZipDirectoryReaderTest::$entries [protected] |
Definition at line 9 of file ZipDirectoryReaderTest.php.
ZipDirectoryReaderTest::$zipDir [protected] |
Definition at line 8 of file ZipDirectoryReaderTest.php.