MediaWiki  REL1_22
ZipDirectoryReaderTest Class Reference

ZipDirectoryReader NOTE: this test is more like an integration test than a unit test More...

Inheritance diagram for ZipDirectoryReaderTest:
Collaboration diagram for ZipDirectoryReaderTest:

List of all members.

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

Detailed Description

ZipDirectoryReader NOTE: this test is more like an integration test than a unit test

Definition at line 7 of file ZipDirectoryReaderTest.php.


Member Function Documentation

ZipDirectoryReaderTest::readZipAssertSuccess ( file,
assertMessage 
)

Definition at line 26 of file ZipDirectoryReaderTest.php.

References array(), and ZipDirectoryReader\read().

Referenced by testEmpty(), and testSimple().

setUp and tearDown should (where significant) happen in reverse order.

Reimplemented from MediaWikiTestCase.

Definition at line 11 of file ZipDirectoryReaderTest.php.

Definition at line 16 of file ZipDirectoryReaderTest.php.


Member Data Documentation

ZipDirectoryReaderTest::$entries [protected]

Definition at line 9 of file ZipDirectoryReaderTest.php.

ZipDirectoryReaderTest::$zipDir [protected]

Definition at line 8 of file ZipDirectoryReaderTest.php.


The documentation for this class was generated from the following file: