48     protected function setUp(): void
    51         $this->file_system_mock = $this->createMock(Filesystem::class);
    58         for ($x = 0; $x < 100; $x++) {
    59             $random_id = 
$id_generator->getUniqueResourceIdentification();
    62             $first_element = end($path_elements);
    63             $last_path_element = end($path_elements);
    64             foreach ($path_elements as $path_element) {
    65                 $characters = strlen($path_element);
    66                 $possible_combinations = self::COMBINATIONS ** $characters;
    67                 if ($path_element !== $last_path_element) {
    68                     $this->assertLessThanOrEqual($max, $possible_combinations);
    69                     $this->assertGreaterThan($min, $possible_combinations);
    78         $this->
withImplementation($storage_handler, self::NESTING_256, self::NESTING_281474976710656);
    84         $this->
withImplementation($storage_handler, self::NESTING_4096 - 1, self::NESTING_4096);
 
Class FileResourceHandler. 
 
getIdentificationGenerator()
 
getContainerPathWithoutBase(ResourceIdentification $identification)
This is only the path of a ResourceIdentification inside the StorageLocation base path...
 
Class ResourceBuilderTest. 
 
withImplementation(StorageHandler $h, int $min, int $max)
 
Class DirectoryNestingTest. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
const NESTING_281474976710656
 
ILIAS ResourceStorage DummyIDGenerator $id_generator
 
Class FileSystemStorageHandler.