ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
|
Public Member Functions | |
getMockNavigatorFactory (string $expected_path='', string $expected_start_element_name='', ?ElementInterface $returned_element=null) | |
getMockHandler (string $expected_path='', array $identifiers=[], array $condition_paths_by_identifer=[], array $condition_values_by_identifer=[]) | |
testSlotsForElementWithoutCondition (string $element_name, array $expected_identifiers) | |
testSlotForElement (string $element_name, array $all_identifiers, ?Identifier $matching_identifier) | |
testPotentialSlotForElementByCondition (string $element_name, string $element_in_condition_name, string $condition_value, array $all_identifiers, array $condition_paths_by_identifer, array $condition_values_by_identifer, ?Identifier $matching_identifier) | |
testFindElementOfCondition (string $element_name, array $all_elements, Identifier $identifier, bool $conditional, ?ElementInterface $navigator_returns_element, ?string $expected_element_name) | |
Static Public Member Functions | |
static | slotsForElementWithoutConditionProvider () |
static | slotsForElementProvider () |
static | potentialSlotForElementByConditionProvider () |
static | findElementOfConditionProvider () |
Protected Member Functions | |
getMockConditionChecker (string $element_name='', ?Identifier $fits_slot=null) | |
getMockPathFactory () | |
Static Protected Member Functions | |
static | getMockElement (string $name) |
Definition at line 43 of file ElementHelperTest.php.
|
static |
Definition at line 424 of file ElementHelperTest.php.
References null.
|
protected |
Definition at line 70 of file ElementHelperTest.php.
References ILIAS\__construct(), and ILIAS\MetaData\Elements\Base\BaseElementInterface\getDefinition().
Referenced by ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testFindElementOfCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testPotentialSlotForElementByCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotForElement(), and ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotsForElementWithoutCondition().
|
staticprotected |
Definition at line 45 of file ElementHelperTest.php.
References ILIAS\__construct().
ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest::getMockHandler | ( | string | $expected_path = '' , |
array | $identifiers = [] , |
||
array | $condition_paths_by_identifer = [] , |
||
array | $condition_values_by_identifer = [] |
||
) |
Definition at line 183 of file ElementHelperTest.php.
References ILIAS\__construct(), ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\from(), ILIAS\Data\Description\NULL, null, ILIAS\Export\ImportHandler\File\XML\Manifest\toString, and ILIAS\MetaData\Paths\PathInterface\toString().
Referenced by ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testFindElementOfCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testPotentialSlotForElementByCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotForElement(), and ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotsForElementWithoutCondition().
ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest::getMockNavigatorFactory | ( | string | $expected_path = '' , |
string | $expected_start_element_name = '' , |
||
?ElementInterface | $returned_element = null |
||
) |
Definition at line 147 of file ElementHelperTest.php.
References $path, ILIAS\__construct(), ILIAS\MetaData\Elements\Base\BaseElementInterface\getDefinition(), and ILIAS\MetaData\Paths\PathInterface\toString().
Referenced by ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testFindElementOfCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testPotentialSlotForElementByCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotForElement(), and ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotsForElementWithoutCondition().
|
protected |
Definition at line 97 of file ElementHelperTest.php.
References ILIAS\__construct(), ILIAS\MetaData\Elements\Base\BaseElementInterface\getDefinition(), and ILIAS\Export\ImportHandler\File\XML\Manifest\toString.
Referenced by ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testFindElementOfCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testPotentialSlotForElementByCondition(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotForElement(), and ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\testSlotsForElementWithoutCondition().
|
static |
Definition at line 336 of file ElementHelperTest.php.
References null.
|
static |
Definition at line 296 of file ElementHelperTest.php.
References null.
|
static |
Definition at line 264 of file ElementHelperTest.php.
ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest::testFindElementOfCondition | ( | string | $element_name, |
array | $all_elements, | ||
Identifier | $identifier, | ||
bool | $conditional, | ||
?ElementInterface | $navigator_returns_element, | ||
?string | $expected_element_name | ||
) |
Definition at line 467 of file ElementHelperTest.php.
References ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockConditionChecker(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockHandler(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockNavigatorFactory(), and ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockPathFactory().
ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest::testPotentialSlotForElementByCondition | ( | string | $element_name, |
string | $element_in_condition_name, | ||
string | $condition_value, | ||
array | $all_identifiers, | ||
array | $condition_paths_by_identifer, | ||
array | $condition_values_by_identifer, | ||
?Identifier | $matching_identifier | ||
) |
Definition at line 397 of file ElementHelperTest.php.
References ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockConditionChecker(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockHandler(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockNavigatorFactory(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockPathFactory(), and ILIAS\Data\Description\NULL.
ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest::testSlotForElement | ( | string | $element_name, |
array | $all_identifiers, | ||
?Identifier | $matching_identifier | ||
) |
Definition at line 318 of file ElementHelperTest.php.
References ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockConditionChecker(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockHandler(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockNavigatorFactory(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockPathFactory(), and ILIAS\Data\Description\NULL.
ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest::testSlotsForElementWithoutCondition | ( | string | $element_name, |
array | $expected_identifiers | ||
) |
Definition at line 279 of file ElementHelperTest.php.
References ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockConditionChecker(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockHandler(), ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockNavigatorFactory(), and ILIAS\MetaData\Vocabularies\Slots\ElementHelperTest\getMockPathFactory().