|
ILIAS
release_8 Revision v8.24
|
Class FileNamePolicyTest. More...
Inheritance diagram for ILIAS\ResourceStorage\Policy\FileNamePolicyTest:
Collaboration diagram for ILIAS\ResourceStorage\Policy\FileNamePolicyTest:Public Member Functions | |
| testDeniedFileEnding () | |
| testValidFileEnding () | |
Public Member Functions inherited from ILIAS\ResourceStorage\AbstractBaseTest | |
| getDummyStream () | |
Protected Member Functions | |
| getResourceBuilder (string $denied_ending) | |
| getFileNamePolicy (string $denied_ending) | |
Protected Member Functions inherited from ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest | |
| setUp () | |
| @inheritDoc More... | |
| mockResourceAndRevision (string $expected_file_name, string $expected_mime_type, int $expected_size, int $expected_version_number, int $expected_owner_id) | |
Protected Member Functions inherited from ILIAS\ResourceStorage\AbstractBaseTest | |
| setUp () | |
| @inheritDoc More... | |
| getDummyUploadResult (string $file_name, string $mime_type, int $size) | |
| getDummyFileRevision (ResourceIdentification $id) | |
Additional Inherited Members | |
Protected Attributes inherited from ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest | |
| $revision | |
| $information | |
| $upload_result | |
| $information_repository | |
| $resource_repository | |
| $collection_repository | |
| $revision_repository | |
| $storage_handler | |
| ILIAS ResourceStorage Resource ResourceBuilder | $resource_builder |
| $stakeholder_repository | |
| $locking | |
| $storage_handler_factory | |
| $stream_access | |
| Repositories | $repositories |
Protected Attributes inherited from ILIAS\ResourceStorage\AbstractBaseTest | |
| ILIAS ResourceStorage DummyIDGenerator | $id_generator |
| $db_mock | |
Class FileNamePolicyTest.
Definition at line 29 of file FileNamePolicyTest.php.
|
protected |
Definition at line 43 of file FileNamePolicyTest.php.
References ILIAS\__construct().
Referenced by ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getResourceBuilder().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 31 of file FileNamePolicyTest.php.
References ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getFileNamePolicy().
Referenced by ILIAS\ResourceStorage\Policy\FileNamePolicyTest\testDeniedFileEnding(), and ILIAS\ResourceStorage\Policy\FileNamePolicyTest\testValidFileEnding().
Here is the call graph for this function:
Here is the caller graph for this function:| ILIAS\ResourceStorage\Policy\FileNamePolicyTest::testDeniedFileEnding | ( | ) |
Definition at line 76 of file FileNamePolicyTest.php.
References ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest\$resource_builder, ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest\$upload_result, ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getResourceBuilder(), and ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest\mockResourceAndRevision().
Here is the call graph for this function:| ILIAS\ResourceStorage\Policy\FileNamePolicyTest::testValidFileEnding | ( | ) |
Definition at line 103 of file FileNamePolicyTest.php.
References ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest\$resource_builder, ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest\$upload_result, ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getResourceBuilder(), and ILIAS\ResourceStorage\AbstractBaseResourceBuilderTest\mockResourceAndRevision().
Here is the call graph for this function: