LocalSeekerTest
extends TestCase
in package
Test suite for LocalFileSeeker.
Tags
Table of Contents
- FIXTURE_PATH = "test/fixtures/"
- testConstructWithNonExistentFile() : mixed
- Test that the constructor errors out if you pass it a non-seekable resource.
- testConstructWithNonSeekableFile() : mixed
- Test that the constructor errors out if you pass it a non-seekable resource.
- testGetStreamDeflateCompression() : mixed
- Test that a file pointer is returned and readable for a file with DEFLATE compression.
- testGetStreamNoCompression() : mixed
- Test that a file pointer is returned and readable for a file with no compression.
- testRetrieveEnd() : mixed
- Test retrieval from the end of the file.
- testRetrieveEndWithOffset() : mixed
- Test retrieval from the end of the file with an offset.
- testRetrieveStart() : mixed
- Test retrieval from the start of the file.
- testRetrieveStartWithOffset() : mixed
- Test retrieval from the start of the file with an offset.
Constants
FIXTURE_PATH
public
mixed
FIXTURE_PATH
= "test/fixtures/"
Tags
Methods
testConstructWithNonExistentFile()
Test that the constructor errors out if you pass it a non-seekable resource.
public
testConstructWithNonExistentFile() : mixed
Tags
Return values
mixed —testConstructWithNonSeekableFile()
Test that the constructor errors out if you pass it a non-seekable resource.
public
testConstructWithNonSeekableFile() : mixed
Tags
Return values
mixed —testGetStreamDeflateCompression()
Test that a file pointer is returned and readable for a file with DEFLATE compression.
public
testGetStreamDeflateCompression() : mixed
Tags
Return values
mixed —testGetStreamNoCompression()
Test that a file pointer is returned and readable for a file with no compression.
public
testGetStreamNoCompression() : mixed
Tags
Return values
mixed —testRetrieveEnd()
Test retrieval from the end of the file.
public
testRetrieveEnd() : mixed
Tags
Return values
mixed —testRetrieveEndWithOffset()
Test retrieval from the end of the file with an offset.
public
testRetrieveEndWithOffset() : mixed
Tags
Return values
mixed —testRetrieveStart()
Test retrieval from the start of the file.
public
testRetrieveStart() : mixed
Tags
Return values
mixed —testRetrieveStartWithOffset()
Test retrieval from the start of the file with an offset.
public
testRetrieveStartWithOffset() : mixed