Table of Contents
Properties
-
$tempfile
: string|null
-
$tempfileStream
: resource
Methods
-
testAddEmptyDirectory()
: void
-
testAddFile()
: void
-
testAddFileCallbackLax()
: void
-
testAddFileCallbackStrict()
: void
-
testAddFileFromPath()
: void
-
testAddFileFromPathFileNotFoundException()
: void
-
testAddFileFromPathFileNotReadableException()
: void
-
testAddFileFromPathWithStorageMethod()
: void
-
testAddFileFromPsr7Stream()
: void
-
testAddFileFromPsr7StreamWithFileSizeSet()
: void
-
testAddFileFromPsr7StreamWithOutputToPsr7Stream()
: void
-
testAddFileFromStream()
: void
-
testAddFileFromStreamBrokenInputRewind()
: void
-
testAddFileFromStreamBrokenOutputWrite()
: void
-
testAddFileFromStreamUnreadableInput()
: void
-
testAddFileFromStreamUnseekableInputWithoutZeroHeader()
: void
-
testAddFileFromStreamUnseekableInputWithZeroHeader()
: void
-
testAddFileFromStreamWithStorageMethod()
: void
-
testAddFileSimulate()
: void
-
testAddFileSimulateStrictInitial()
: void
-
testAddFileSimulateStrictZero()
: void
-
testAddFileSimulateWithExactSizeInitial()
: void
-
testAddFileSimulateWithExactSizeZero()
: void
-
testAddFileSimulateWithFstat()
: void
-
testAddFileSimulateWithMaxSize()
: void
-
testAddFileSimulateWithWrongExactSize()
: void
-
testAddFileSimulateWithZeroSizeInFstat()
: void
-
testAddFileUtf8NameComment()
: void
-
testAddFileUtf8NameNonUtfComment()
: void
-
testAddFileWithStorageMethod()
: void
-
testAddLargeFileFromPath()
: void
-
testAddLargeFileFromPsr7Stream()
: void
-
testAddLargeFileWithoutZip64WithoutZeroHeader()
: void
-
testAddLargeFileWithoutZip64WithZeroHeader()
: void
-
testAddsZip64HeaderWhenNeeded()
: void
-
testContinueFinishedZip()
: void
-
testCreateArchiveHeaders()
: void
-
testCreateArchiveWithFlushOptionSet()
: void
-
testCreateArchiveWithOutputBufferingOffAndFlushOptionSet()
: void
-
testDoesNotAddZip64HeaderWhenNotNeeded()
: void
-
testExecuteSimulation()
: void
-
testExecuteSimulationBeforeFinish()
: void
-
testLongZipWith64()
: void
-
testLongZipWithout64()
: void
-
testManyFilesWithoutZip64()
: void
-
testManyFilesWithZip64()
: void
-
testSimulationWithLargeZip64AndZeroHeader()
: void
-
assertFileContains()
: void
-
assertFileDoesNotContain()
: void
-
cmdExists()
: bool
-
dumpZipContents()
: string
-
getRecursiveFileList()
: array<string|int, string>
-
getTmpDir()
: string
-
getTmpFileStream()
: array<string|int, mixed>
-
setUp()
: void
-
tearDown()
: void
-
validateAndExtractZip()
: string
-
zipArchiveOpenErrorCodeName()
: string
-
addLargeFileFileFromPath()
: void
$tempfile
protected
string|null
$tempfile
$tempfileStream
protected
resource
$tempfileStream
testAddEmptyDirectory()
public
testAddEmptyDirectory() : void
testAddFile()
public
testAddFile() : void
testAddFileCallbackLax()
public
testAddFileCallbackLax() : void
testAddFileCallbackStrict()
public
testAddFileCallbackStrict() : void
testAddFileFromPath()
public
testAddFileFromPath() : void
testAddFileFromPathFileNotFoundException()
public
testAddFileFromPathFileNotFoundException() : void
testAddFileFromPathFileNotReadableException()
public
testAddFileFromPathFileNotReadableException() : void
testAddFileFromPathWithStorageMethod()
public
testAddFileFromPathWithStorageMethod() : void
testAddFileFromPsr7Stream()
public
testAddFileFromPsr7Stream() : void
testAddFileFromPsr7StreamWithFileSizeSet()
public
testAddFileFromPsr7StreamWithFileSizeSet() : void
testAddFileFromPsr7StreamWithOutputToPsr7Stream()
public
testAddFileFromPsr7StreamWithOutputToPsr7Stream() : void
testAddFileFromStream()
public
testAddFileFromStream() : void
public
testAddFileFromStreamBrokenInputRewind() : void
testAddFileFromStreamBrokenOutputWrite()
public
testAddFileFromStreamBrokenOutputWrite() : void
public
testAddFileFromStreamUnreadableInput() : void
public
testAddFileFromStreamUnseekableInputWithoutZeroHeader() : void
public
testAddFileFromStreamUnseekableInputWithZeroHeader() : void
testAddFileFromStreamWithStorageMethod()
public
testAddFileFromStreamWithStorageMethod() : void
testAddFileSimulate()
public
testAddFileSimulate() : void
testAddFileSimulateStrictInitial()
public
testAddFileSimulateStrictInitial() : void
testAddFileSimulateStrictZero()
public
testAddFileSimulateStrictZero() : void
testAddFileSimulateWithExactSizeInitial()
public
testAddFileSimulateWithExactSizeInitial() : void
testAddFileSimulateWithExactSizeZero()
public
testAddFileSimulateWithExactSizeZero() : void
testAddFileSimulateWithFstat()
public
testAddFileSimulateWithFstat() : void
testAddFileSimulateWithMaxSize()
public
testAddFileSimulateWithMaxSize() : void
testAddFileSimulateWithWrongExactSize()
public
testAddFileSimulateWithWrongExactSize() : void
testAddFileSimulateWithZeroSizeInFstat()
public
testAddFileSimulateWithZeroSizeInFstat() : void
public
testAddFileUtf8NameComment() : void
public
testAddFileUtf8NameNonUtfComment() : void
testAddFileWithStorageMethod()
public
testAddFileWithStorageMethod() : void
testAddLargeFileFromPath()
public
testAddLargeFileFromPath() : void
testAddLargeFileFromPsr7Stream()
public
testAddLargeFileFromPsr7Stream() : void
public
testAddLargeFileWithoutZip64WithoutZeroHeader() : void
public
testAddLargeFileWithoutZip64WithZeroHeader() : void
public
testAddsZip64HeaderWhenNeeded() : void
testContinueFinishedZip()
public
testContinueFinishedZip() : void
public
testCreateArchiveHeaders() : void
testCreateArchiveWithFlushOptionSet()
public
testCreateArchiveWithFlushOptionSet() : void
testCreateArchiveWithOutputBufferingOffAndFlushOptionSet()
public
testCreateArchiveWithOutputBufferingOffAndFlushOptionSet() : void
public
testDoesNotAddZip64HeaderWhenNotNeeded() : void
testExecuteSimulation()
public
testExecuteSimulation() : void
testExecuteSimulationBeforeFinish()
public
testExecuteSimulationBeforeFinish() : void
testLongZipWith64()
public
testLongZipWith64() : void
testLongZipWithout64()
public
testLongZipWithout64() : void
testManyFilesWithoutZip64()
public
testManyFilesWithoutZip64() : void
testManyFilesWithZip64()
public
testManyFilesWithZip64() : void
testSimulationWithLargeZip64AndZeroHeader()
public
testSimulationWithLargeZip64AndZeroHeader() : void
assertFileContains()
protected
assertFileContains(string $filePath, string $needle) : void
Parameters
-
$filePath
: string
-
-
$needle
: string
-
assertFileDoesNotContain()
protected
assertFileDoesNotContain(string $filePath, string $needle) : void
Parameters
-
$filePath
: string
-
-
$needle
: string
-
cmdExists()
protected
cmdExists(string $command) : bool
Parameters
-
$command
: string
-
dumpZipContents()
protected
dumpZipContents(string $path) : string
Parameters
-
$path
: string
-
getRecursiveFileList()
protected
getRecursiveFileList(string $path[, bool $includeDirectories = false ]) : array<string|int, string>
Parameters
-
$path
: string
-
-
$includeDirectories
: bool
= false
-
Return values
array<string|int, string>
getTmpDir()
protected
getTmpDir() : string
getTmpFileStream()
protected
getTmpFileStream() : array<string|int, mixed>
Return values
array<string|int, mixed>
setUp()
protected
setUp() : void
tearDown()
protected
tearDown() : void
validateAndExtractZip()
protected
validateAndExtractZip(string $zipPath) : string
Parameters
-
$zipPath
: string
-
zipArchiveOpenErrorCodeName()
protected
zipArchiveOpenErrorCodeName(int $code) : string
Parameters
-
$code
: int
-
addLargeFileFileFromPath()
private
addLargeFileFileFromPath(CompressionMethod $compressionMethod, mixed $zeroHeader, mixed $zip64) : void
Parameters
-
$compressionMethod
: CompressionMethod
-
-
$zeroHeader
: mixed
-
-
$zip64
: mixed
-