Documentation

StreamUtilTest extends UtilTestAbstract
in package

FinalYes

Table of Contents

Constants

CACERT  = __DIR__ . '/cacert.pem'

Methods

testCheckModeIsValidThrows()  : void
testCopyToStream()  : void
testCopyToStreamException()  : void
testCopyToStreamFromCurrentPosition()  : void
testCopyToStreamWithMaxlength()  : void
testGetContentsFromUnreadableStream()  : void
testGetContentsRewindsStream()  : void
testModeAllowedFlagPositionIrrelevant()  : void
testModeAllowsRead()  : void
testModeAllowsReadOnly()  : void
testModeAllowsReadWrite()  : void
testModeAllowsWrite()  : void
testModeAllowsWriteOnly()  : void
testTryFopen()  : void
testTryFopenThrowsExceptionInsteadOfValueError()  : void
testTryFopenThrowsExceptionInsteadOfWarning()  : void
testTryGetContents()  : void
testTryGetContentsThrowsExceptionOnInvalidResource()  : void
testTryGetContentsThrowsExceptionOnUnreadableResource()  : void
setUp()  : void

Constants

Methods

testCheckModeIsValidThrows()

public testCheckModeIsValidThrows() : void

testCopyToStreamException()

public testCopyToStreamException() : void

testCopyToStreamFromCurrentPosition()

public testCopyToStreamFromCurrentPosition() : void

testCopyToStreamWithMaxlength()

public testCopyToStreamWithMaxlength() : void

testGetContentsFromUnreadableStream()

public testGetContentsFromUnreadableStream() : void

testGetContentsRewindsStream()

public testGetContentsRewindsStream() : void

testModeAllowedFlagPositionIrrelevant()

public testModeAllowedFlagPositionIrrelevant() : void

testModeAllowsReadWrite()

public testModeAllowsReadWrite() : void

testModeAllowsWriteOnly()

public testModeAllowsWriteOnly() : void

testTryFopenThrowsExceptionInsteadOfValueError()

public testTryFopenThrowsExceptionInsteadOfValueError() : void

testTryFopenThrowsExceptionInsteadOfWarning()

public testTryFopenThrowsExceptionInsteadOfWarning() : void

testTryGetContentsThrowsExceptionOnInvalidResource()

public testTryGetContentsThrowsExceptionOnInvalidResource() : void

testTryGetContentsThrowsExceptionOnUnreadableResource()

public testTryGetContentsThrowsExceptionOnUnreadableResource() : void

        
On this page

Search results