|
ILIAS
trunk Revision v12.0_alpha-377-g3641b37b9db
|
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\AbstractTestBase | |
| getDummyStream () | |
Protected Member Functions | |
| getResourceBuilder (string $denied_ending) | |
| getFileNamePolicy (string $denied_ending) | |
Protected Member Functions inherited from ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase | |
| 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\AbstractTestBase | |
| setUp () | |
| @inheritDoc More... | |
| getDummyUploadResult (string $file_name, string $mime_type, int $size) | |
| getDummyFileRevision (ResourceIdentification $id) | |
Additional Inherited Members | |
Data Fields inherited from ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase | |
| MockObject | $flavour_repository |
Protected Attributes inherited from ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase | |
| MockObject | $revision |
| MockObject | $information |
| $upload_result | |
| MockObject | $information_repository |
| MockObject | $resource_repository |
| MockObject | $collection_repository |
| MockObject | $revision_repository |
| MockObject | $storage_handler |
| ResourceBuilder | $resource_builder |
| MockObject | $stakeholder_repository |
| MockObject | $locking |
| MockObject | $storage_handler_factory |
| MockObject | $stream_access |
| Repositories | $repositories |
Protected Attributes inherited from ILIAS\ResourceStorage\AbstractTestBase | |
| DummyIDGenerator | $id_generator |
| MockObject | $db_mock |
Class FileNamePolicyTest.
Definition at line 28 of file FileNamePolicyTest.php.
|
protected |
Definition at line 42 of file FileNamePolicyTest.php.
References ILIAS\__construct(), and ILIAS\Refinery\check().
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 30 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 74 of file FileNamePolicyTest.php.
References ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase\$resource_builder, ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase\$upload_result, ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getResourceBuilder(), ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase\mockResourceAndRevision(), ILIAS\ResourceStorage\Resource\ResourceBuilder\new(), and ILIAS\ResourceStorage\Resource\ResourceBuilder\store().
Here is the call graph for this function:| ILIAS\ResourceStorage\Policy\FileNamePolicyTest::testValidFileEnding | ( | ) |
Definition at line 101 of file FileNamePolicyTest.php.
References ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase\$resource_builder, ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase\$upload_result, ILIAS\ResourceStorage\Policy\FileNamePolicyTest\getResourceBuilder(), ILIAS\ResourceStorage\AbstractBaseResourceBuilderTestCase\mockResourceAndRevision(), ILIAS\ResourceStorage\Resource\ResourceBuilder\new(), and ILIAS\ResourceStorage\Resource\ResourceBuilder\store().
Here is the call graph for this function: