ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class StreamTest. More...
Static Public Attributes | |
static | $functions |
Protected Member Functions | |
setUp () | |
Private Member Functions | |
createResource ($content, $mode) | |
|
private |
Definition at line 29 of file StreamTest.php.
Referenced by ILIAS\Filesystem\Stream\StreamTest\testCloseWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testCloseWithDetachedStreamWhichShouldDoNothing(), ILIAS\Filesystem\Stream\StreamTest\testDetachDoubleInvocationWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testDetachWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testEofWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testEofWithDetachedStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testGetContentsWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testGetContentsWithDetachedStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testGetContentsWithFailingStreamGetContentsCallWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testGetSizeWithDetachedStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testGetSizeWithOptionsWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testGetSizeWithStatsWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testReadWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testReadWithDetachedStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testReadWithFailingFreadCallWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testReadWithNegativeLengthWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testReadWithUnreadableStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testReadWithZeroLengthWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testSeekWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testSeekWithDetachedStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testSeekWithFseekFailureWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testSeekWithNotSeekableStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testTellWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testTellWithDetachedStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testTellWithFtellFailureWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testToStringWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testToStringWithErrorWhichShouldSucceed(), ILIAS\Filesystem\Stream\StreamTest\testWriteWithDetachedStreamWhichShouldFail(), ILIAS\Filesystem\Stream\StreamTest\testWriteWithFailingFwriteCallWhichShouldFail(), and ILIAS\Filesystem\Stream\StreamTest\testWriteWithReadOnlyStreamWhichShouldFail().
|
protected |
Definition at line 38 of file StreamTest.php.
ILIAS\Filesystem\Stream\StreamTest::testCloseWhichShouldSucceed | ( | ) |
Definition at line 142 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testCloseWithDetachedStreamWhichShouldDoNothing | ( | ) |
Definition at line 158 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testDetachDoubleInvocationWhichShouldFail | ( | ) |
Definition at line 69 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testDetachWhichShouldSucceed | ( | ) |
Definition at line 49 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testEofWhichShouldSucceed | ( | ) |
Definition at line 242 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testEofWithDetachedStreamWhichShouldFail | ( | ) |
Definition at line 261 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testGetContentsWhichShouldSucceed | ( | ) |
Definition at line 498 of file StreamTest.php.
References $text, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testGetContentsWithDetachedStreamWhichShouldFail | ( | ) |
Definition at line 514 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testGetContentsWithFailingStreamGetContentsCallWhichShouldFail | ( | ) |
Definition at line 533 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testGetSizeWithDetachedStreamWhichShouldFail | ( | ) |
Definition at line 125 of file StreamTest.php.
References $size, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testGetSizeWithOptionsWhichShouldSucceed | ( | ) |
Definition at line 107 of file StreamTest.php.
References PHPMailer\PHPMailer\$options, $size, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testGetSizeWithStatsWhichShouldSucceed | ( | ) |
Definition at line 90 of file StreamTest.php.
References $size, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testReadWhichShouldSucceed | ( | ) |
Definition at line 373 of file StreamTest.php.
References $text, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testReadWithDetachedStreamWhichShouldFail | ( | ) |
Definition at line 409 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testReadWithFailingFreadCallWhichShouldFail | ( | ) |
Definition at line 467 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testReadWithNegativeLengthWhichShouldFail | ( | ) |
Definition at line 429 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testReadWithUnreadableStreamWhichShouldFail | ( | ) |
Definition at line 448 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testReadWithZeroLengthWhichShouldSucceed | ( | ) |
Definition at line 391 of file StreamTest.php.
References $text, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testSeekWhichShouldSucceed | ( | ) |
Definition at line 281 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testSeekWithDetachedStreamWhichShouldFail | ( | ) |
Definition at line 298 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testSeekWithFseekFailureWhichShouldFail | ( | ) |
Definition at line 342 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testSeekWithNotSeekableStreamWhichShouldFail | ( | ) |
Definition at line 318 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testTellWhichShouldSucceed | ( | ) |
Definition at line 176 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testTellWithDetachedStreamWhichShouldFail | ( | ) |
Definition at line 194 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testTellWithFtellFailureWhichShouldFail | ( | ) |
Definition at line 213 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testToStringWhichShouldSucceed | ( | ) |
Definition at line 563 of file StreamTest.php.
References $text, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testToStringWithErrorWhichShouldSucceed | ( | ) |
to string must never fail
Definition at line 581 of file StreamTest.php.
References $text, and ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testWriteWhichShouldSucceed | ( | ) |
Definition at line 603 of file StreamTest.php.
References ILIAS\Filesystem\Util\PHPStreamFunctions\fwrite().
ILIAS\Filesystem\Stream\StreamTest::testWriteWithDetachedStreamWhichShouldFail | ( | ) |
Definition at line 626 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testWriteWithFailingFwriteCallWhichShouldFail | ( | ) |
Definition at line 665 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
ILIAS\Filesystem\Stream\StreamTest::testWriteWithReadOnlyStreamWhichShouldFail | ( | ) |
Definition at line 646 of file StreamTest.php.
References ILIAS\Filesystem\Stream\StreamTest\createResource().
|
static |
Definition at line 27 of file StreamTest.php.