ZipStreamTest
- Full name:
\ZipStream\Test\ZipStreamTest
- Parent class:
TestCase
Methods
testAddFile
testAddFileUtf8NameComment
testAddFileUtf8NameNonUtfComment
testAddFileWithStorageMethod
testAddFileFromPath
testAddFileFromPathFileNotFoundException
testAddFileFromPathFileNotReadableException
testAddFileFromPathWithStorageMethod
testAddLargeFileFromPath
testAddFileFromStream
testAddFileFromStreamUnreadableInput
testAddFileFromStreamBrokenOutputWrite
testAddFileFromStreamBrokenInputRewind
testAddFileFromStreamUnseekableInputWithoutZeroHeader
testAddFileFromStreamUnseekableInputWithZeroHeader
testAddFileFromStreamWithStorageMethod
testAddFileFromPsr7Stream
testAddLargeFileFromPsr7Stream
testContinueFinishedZip
testManyFilesWithoutZip64
testManyFilesWithZip64
testLongZipWithout64
testLongZipWith64
testAddLargeFileWithoutZip64WithZeroHeader
testAddsZip64HeaderWhenNeeded
testDoesNotAddZip64HeaderWhenNotNeeded
testAddLargeFileWithoutZip64WithoutZeroHeader
testAddFileFromPsr7StreamWithOutputToPsr7Stream
testAddFileFromPsr7StreamWithFileSizeSet
testCreateArchiveHeaders
testCreateArchiveWithFlushOptionSet
testCreateArchiveWithOutputBufferingOffAndFlushOptionSet
testAddEmptyDirectory
testAddFileSimulate
testAddFileSimulateWithMaxSize
testAddFileSimulateWithFstat
testAddFileSimulateWithExactSizeZero
testAddFileSimulateWithExactSizeInitial
testAddFileSimulateWithZeroSizeInFstat
testAddFileSimulateWithWrongExactSize
testAddFileSimulateStrictZero
testAddFileSimulateStrictInitial
testAddFileCallbackStrict
testAddFileCallbackLax
testExecuteSimulation
testExecuteSimulationBeforeFinish
addLargeFileFileFromPath
private addLargeFileFileFromPath(\ZipStream\CompressionMethod $compressionMethod, mixed $zeroHeader, mixed $zip64): void
Parameters:
Parameter | Type | Description |
---|---|---|
$compressionMethod |
\ZipStream\CompressionMethod | |
$zeroHeader |
mixed | |
$zip64 |
mixed |
Inherited methods
setUp
tearDown
getTmpFileStream
assertFileContains
Parameters:
Parameter | Type | Description |
---|---|---|
$filePath |
string | |
$needle |
string |
assertFileDoesNotContain
Parameters:
Parameter | Type | Description |
---|---|---|
$filePath |
string | |
$needle |
string |
cmdExists
Parameters:
Parameter | Type | Description |
---|---|---|
$command |
string |
dumpZipContents
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string |
validateAndExtractZip
Parameters:
Parameter | Type | Description |
---|---|---|
$zipPath |
string |
zipArchiveOpenErrorCodeName
Parameters:
Parameter | Type | Description |
---|---|---|
$code |
int |
getTmpDir
getRecursiveFileList
Parameters:
Parameter | Type | Description |
---|---|---|
$path |
string | |
$includeDirectories |
bool |
Automatically generated on 2025-03-18