|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Inheritance diagram for ILIAS\Filesystem\Util\ZipTest:
Collaboration diagram for ILIAS\Filesystem\Util\ZipTest:Public Member Functions | |
| testZip () | |
| testZip2 () | |
| testZip3 () | |
| testZipKeepsPathsInsideZip () | |
| testZipDoesNotAllowPathsOutsideZip () | |
| testLegacyZip () | |
| LegacyZipWithTop () | |
| testUnzip (string $zip, bool $has_multiple_root_entries, int $expected_amount_directories, array $expected_directories, int $expected_amount_files, array $expected_files) | |
| testWrongZip () | |
| testLargeZIPs () | |
| testLegacyUnzip (string $zip, bool $has_multiple_root_entries, int $expected_amount_directories, array $expected_directories, int $expected_amount_files, array $expected_files) | |
Static Public Member Functions | |
| static | getZips () |
Data Fields | |
| const | ZIPPED_ZIP = 'zipped.zip' |
Protected Member Functions | |
| setUp () | |
| tearDown () | |
Protected Attributes | |
| string | $zips_dir = __DIR__ . '/zips/' |
| string | $unzips_dir = __DIR__ . '/unzips/' |
Static Protected Attributes | |
| static array | $files_mixed |
| static array | $directories_mixed |
| static array | $files_three |
Private Member Functions | |
| recurseRmdir (string $path_to_directory) | |
| directoryToArray (string $path_to_directory) | |
Definition at line 41 of file ZipTest.php.
|
private |
Definition at line 337 of file ZipTest.php.
References ILIAS\Scripts\PHPStan\$iterator, and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
Here is the call graph for this function:
|
static |
Definition at line 357 of file ZipTest.php.
| ILIAS\Filesystem\Util\ZipTest::LegacyZipWithTop | ( | ) |
Definition at line 188 of file ZipTest.php.
References ILIAS\Filesystem\Stream\Streams\ofResource(), and ILIAS\Filesystem\Util\ZipTest\recurseRmdir().
Here is the call graph for this function:
|
private |
Definition at line 323 of file ZipTest.php.
References $files.
Referenced by ILIAS\Filesystem\Util\ZipTest\LegacyZipWithTop(), ILIAS\Filesystem\Util\ZipTest\tearDown(), and ILIAS\Filesystem\Util\ZipTest\testLegacyZip().
Here is the caller graph for this function:
|
protected |
Definition at line 47 of file ZipTest.php.
|
protected |
Definition at line 57 of file ZipTest.php.
References ILIAS\Filesystem\Util\ZipTest\recurseRmdir().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testLargeZIPs | ( | ) |
Definition at line 260 of file ZipTest.php.
References ILIAS\Repository\int(), ILIAS\Filesystem\Stream\Streams\ofString(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testLegacyUnzip | ( | string | $zip, |
| bool | $has_multiple_root_entries, | ||
| int | $expected_amount_directories, | ||
| array | $expected_directories, | ||
| int | $expected_amount_files, | ||
| array | $expected_files | ||
| ) |
| mixed[] | $expected_directories | |
| mixed[] | $expected_files |
Definition at line 293 of file ZipTest.php.
| ILIAS\Filesystem\Util\ZipTest::testLegacyZip | ( | ) |
Definition at line 146 of file ZipTest.php.
References ILIAS\Filesystem\Stream\Streams\ofResource(), ILIAS\Filesystem\Util\ZipTest\recurseRmdir(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testUnzip | ( | string | $zip, |
| bool | $has_multiple_root_entries, | ||
| int | $expected_amount_directories, | ||
| array | $expected_directories, | ||
| int | $expected_amount_files, | ||
| array | $expected_files | ||
| ) |
| mixed[] | $expected_directories | |
| mixed[] | $expected_files |
Definition at line 222 of file ZipTest.php.
| ILIAS\Filesystem\Util\ZipTest::testWrongZip | ( | ) |
Definition at line 246 of file ZipTest.php.
References ILIAS\UI\Implementation\Component\Input\Field\$options, and ILIAS\Filesystem\Stream\Streams\ofResource().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testZip | ( | ) |
Definition at line 64 of file ZipTest.php.
References ILIAS\Filesystem\Stream\Streams\ofResource().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testZip2 | ( | ) |
Definition at line 79 of file ZipTest.php.
References ILIAS\Filesystem\Stream\Streams\ofResource().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testZip3 | ( | ) |
Definition at line 93 of file ZipTest.php.
References ILIAS\Filesystem\Stream\Streams\ofResource().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testZipDoesNotAllowPathsOutsideZip | ( | ) |
Definition at line 129 of file ZipTest.php.
References $files, ILIAS\Filesystem\Stream\Streams\ofString(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
Here is the call graph for this function:| ILIAS\Filesystem\Util\ZipTest::testZipKeepsPathsInsideZip | ( | ) |
Definition at line 111 of file ZipTest.php.
References $files, ILIAS\Filesystem\Stream\Streams\ofString(), and ILIAS\UI\examples\Symbol\Glyph\Sort\sort().
Here is the call graph for this function:
|
staticprotected |
Definition at line 374 of file ZipTest.php.
|
staticprotected |
Definition at line 366 of file ZipTest.php.
|
staticprotected |
Definition at line 422 of file ZipTest.php.
|
protected |
Definition at line 45 of file ZipTest.php.
|
protected |
Definition at line 44 of file ZipTest.php.
| const ILIAS\Filesystem\Util\ZipTest::ZIPPED_ZIP = 'zipped.zip' |
Definition at line 43 of file ZipTest.php.