ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
UITestHelper.php File Reference

Go to the source code of this file.

Functions

 init (?Container $dic=null)
 
 factory ()
 
 renderer ()
 
 mainTemplate ()
 

Variables

trait UITestHelper
 Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working factory and renderer into some classes to be unit tested. More...
 

Function Documentation

◆ factory()

factory ( )

Definition at line 61 of file UITestHelper.php.

61 : Factory
62 {
63 if (!isset($this->dic_with_ui)) {
64 $this->init();
65 }
66 return $this->dic_with_ui->ui()->factory();
67 }
init(?Container $dic=null)
This is how the factory for UI elements looks.
Definition: Factory.php:38

References init().

Referenced by ilObjRepositorySettingsGUI\__construct(), ilObjForumGUI\__construct(), ILIAS\FileDelivery\Delivery\__construct(), ilBadgePersonalTableGUI\__construct(), ilBadgeProfileGUI\__construct(), ilBlockGUI\__construct(), ilLanguageDetection\__construct(), ILIAS\ResourceStorage\Identification\__construct(), ILIAS\Refinery\Container\AddLabels\__construct(), ILIAS\GlobalScreen\Scope\Layout\Provider\AbstractModificationProvider\__construct(), ILIAS\GlobalScreen\Scope\Tool\Provider\AbstractDynamicToolProvider\__construct(), ILIAS\MetaData\Vocabularies\Controlled\Repository\__construct(), ILIAS\MetaData\Copyright\Renderer\__construct(), ILIAS\MetaData\Vocabularies\Copyright\Bridge\__construct(), ILIAS\MetaData\Vocabularies\Standard\Repository\__construct(), ilObjSearchSettingsFormGUI\__construct(), ilObjSearchLuceneSettingsFormGUI\__construct(), ILIAS\Style\Content\CharacteristicDBRepo\__construct(), ILIAS\Style\Content\ColorDBRepo\__construct(), ILIAS\Style\Content\Style\StyleRepo\__construct(), ilDclBaseRecordRepresentation\__construct(), ilIndividualAssessmentMembersTableGUI\__construct(), ILIAS\Badge\ilObjectBadgeTableGUI\__construct(), ilIndividualAssessmentMembersGUI\__construct(), ilOpenIdConnectSettingsGUI\__construct(), ILIAS\Badge\ilBadgeTableGUI\__construct(), ilAbstractLearningHistoryProvider\__construct(), ilLPStatusIcons\__construct(), ILIAS\Style\Content\ImageFileRepo\__construct(), ILIAS\MetaData\Editor\Full\Services\Actions\ModalFactory\__construct(), ilRoleAssignmentTableGUI\__construct(), ILIAS\Badge\ilBadgeUserTableGUI\__construct(), ILIAS\Badge\ilBadgeTypesTableGUI\__construct(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\__construct(), ILIAS\Skill\Service\SkillInternalRepoService\__construct(), ILIAS\Refinery\String\SplitString\__construct(), ILIAS\MetaData\Editor\Full\Services\Actions\ButtonFactory\__construct(), ilObjForumGUI\addDraftButtonIfDraftsExists(), ILIAS\Refinery\Container\AddLabels\applyTo(), ILIAS\Refinery\String\SplitString\applyTo(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\buildErrorFromId(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\buildParticipantInteractionFromId(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\buildQuestionAdministrationInteractionFromId(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\buildScoringInteractionFromId(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\buildTestAdministrationInteractionFromId(), SystemStylesGlobalScreenToolProvider\buildTreeAsTool(), ILIAS\MetaData\Editor\Tree\MDEditorToolProvider\buildTreeAsTool(), ILIAS\Repository\clearAsnyOnloadCode(), ILIAS\MetaData\Copyright\Renderer\customIcon(), ILIAS\MetaData\Editor\Full\Services\Actions\ModalFactory\delete(), ILIAS\FileDelivery\Delivery\delivery(), ilLanguageDetection\detect(), ilMembershipBlockGUI\emptyHandling(), ilSelectedItemsBlockGUI\emptyHandling(), ILIAS\Badge\ilBadgeTableGUI\enrichRecord(), ILIAS\Test\Logging\TestLoggingDatabaseRepository\fetchInteractionForResult(), ilSearchResultTableGUI\fillRow(), ilRoleAssignmentTableGUI\fillRow(), ilBlockGUI\getActionsForPanel(), ilObjForumGUI\getActionsForThreadOverview(), ILIAS\MetaData\Vocabularies\Standard\Repository\getActiveVocabularies(), ILIAS\Style\Content\CharacteristicDBRepo\getByKey(), ILIAS\Style\Content\CharacteristicDBRepo\getByTypes(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\getColumns(), ILIAS\Badge\ilBadgeTableGUI\getColumns(), ILIAS\Badge\ilBadgeTypesTableGUI\getColumns(), ILIAS\Badge\ilBadgeUserTableGUI\getColumns(), ILIAS\Badge\ilObjectBadgeTableGUI\getColumns(), ilBadgePersonalTableGUI\getColumns(), ilObjForumGUI\getEditTitleModal(), ilIndividualAssessmentMembersTableGUI\getFileDownloadLink(), ilBlockGUI\getHTML(), ilDclBooleanRecordRepresentation\getHTML(), ilDclIliasReferenceRecordRepresentation\getHTML(), ilDclMobRecordRepresentation\getHTML(), ilDclTextRecordRepresentation\getHTML(), ilDashboardLearningSequenceGUI\getIcon(), ilLPStatusIcons\getIconComponent(), ILIAS\Style\Content\ImageFileRepo\getImages(), ilDashboardBlockGUI\getLegacyContent(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilDashboardBlockGUI\getListItemGroups(), ILIAS\GlobalScreen\Scope\MainMenu\Collector\Map\Map\getLostItem(), ILIAS\GlobalScreen\Scope\MetaBar\Collector\Map\getLostItem(), ilLMHtmlExportViewLayoutProvider\getMainBarModification(), ILIAS\GlobalScreen\MainMenu\MapTest\getMap(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getMetaBarModification(), ILIAS\WOPI\Embed\EmbeddedApplicationGSProvider\getMetaBarModification(), ILIAS\Chatroom\GlobalScreen\ChatInvitationNotificationProvider\getNotifications(), ilLSCompletionNotificationProvider\getNotifications(), ILIAS\Container\Screen\MemberViewLayoutProvider\getPageBuilderDecorator(), ilLSViewLayoutProvider\getPageBuilderDecorator(), ILIAS\LTI\Screen\LtiViewLayoutProvider\getPageBuilderDecorator(), ilIndividualAssessmentMembersTableGUI\getProfileLink(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\getRecords(), ILIAS\MetaData\OERHarvester\HarvesterTest\getSearchFactory(), ilObjForumGUI\getSortationViewControl(), ForumGlobalScreenToolsProvider\getToolsForContextStack(), ilAdminGSToolProvider\getToolsForContextStack(), ilCOPageEditGSToolProvider\getToolsForContextStack(), ilExerciseGSToolProvider\getToolsForContextStack(), ilLMEditGSToolProvider\getToolsForContextStack(), ILIAS\Mail\Provider\MailGlobalScreenToolProvider\getToolsForContextStack(), ilMediaPoolGSToolProvider\getToolsForContextStack(), ILIAS\OrgUnit\Provider\OrgUnitToolProvider\getToolsForContextStack(), ilWorkspaceGSToolProvider\getToolsForContextStack(), ilSkillGSToolProvider\getToolsForContextStack(), ilTaxonomyGSToolProvider\getToolsForContextStack(), ilTestPlayerToolProvider\getToolsForContextStack(), ILIAS\Skill\Service\SkillInternalRepoService\getTreeRepo(), SettingsScoringGUITest\getUIComponents(), ILIAS\ResourceStorage\Identification\UniqueIDCollectionIdentificationGenerator\getUniqueResourceCollectionIdentification(), ILIAS\ResourceStorage\Identification\UniqueIDIdentificationGenerator\getUniqueResourceIdentification(), ILIAS\ResourceStorage\Identification\getUUID(), ilIndividualAssessmentMembersGUI\getViewControls(), ilBlockGUI\getViewControlsForPanel(), ILIAS\MetaData\Vocabularies\Standard\Repository\getVocabularies(), ILIAS\MetaData\Vocabularies\Standard\Repository\getVocabulary(), ILIAS\MetaData\Vocabularies\Controlled\Repository\getVocabulary(), ILIAS\MetaData\Vocabularies\Controlled\Repository\getVocabularyFromRow(), ILIAS\ILIASObject\Properties\AdditionalProperties\Icon\ObjectReferenceCustomIconPresenter\init(), ilObjRepositorySettingsGUI\initCustomIconsForm(), ilObjSearchLuceneSettingsFormGUI\initForm(), ilObjSearchSettingsFormGUI\initForm(), ilObjRepositorySettingsGUI\initSettingsForm(), ilDashboardBlockGUI\manually(), ilStudyProgrammeDashboardViewGUI\maybeGetCertificateLink(), ilIndividualAssessmentMembersGUI\removeUserConfirmation(), ilIndividualAssessmentMembersTableGUI\render(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\renderTable(), ilBadgePersonalTableGUI\renderTable(), ILIAS\Badge\ilBadgeTableGUI\renderTable(), ILIAS\Badge\ilBadgeTypesTableGUI\renderTable(), ILIAS\Badge\ilBadgeUserTableGUI\renderTable(), ILIAS\Badge\ilObjectBadgeTableGUI\renderTable(), ilObjForumGUI\renderThreadOverview(), HtmlMetadataTest\setUp(), OpenGraphMetadataTest\setUp(), ILIAS\GlobalScreen\MainMenu\FactoryImplTest\setUp(), ILIAS\GlobalScreen\MainMenu\MapTest\setUp(), BaseNotificationSetUp\setUp(), BaseToastSetUp\setUp(), ILIAS\src\Refinery\String\LevenshteinTest\setUp(), ILIAS\Skill\Personal\SkillInternalPersonalFactoryTest\setUp(), ILIAS\Skill\Profile\SkillInternalProfileFactoryTest\setUp(), ILIAS\Skill\Service\SkillInternalFactoryServiceTest\setUp(), ilSkinFactoryTest\setUp(), ilTestQuestionNavigationGUITest\setUp(), ILIAS\Tests\UI\Component\Dropzone\File\FileTestBase\setUp(), DateTimeInputTest\setUp(), DurationInputTest\setUp(), MarkdownTest\setUp(), StandardPageTest\setUp(), BulkyLinkTest\setUp(), MainBarTest\setUp(), MetaBarTest\setUp(), ilCtrlContextTest\setUp(), ilCtrlPathFactoryTest\setUp(), ilOpenIdConnectSettingsGUI\showInfoMessage(), ILIAS\MetaData\Copyright\Renderer\standardLink(), ILIAS\GlobalScreen\MainMenu\MapTest\testAddItem(), GroupNotificationTest\testAddNotification(), ILIAS\src\Refinery\String\LevenshteinTest\testApplyToMultibyteString(), ILIAS\src\Refinery\String\LevenshteinTest\testApplyToSuccessfulCustomCost(), ILIAS\src\Refinery\String\LevenshteinTest\testApplyToSuccessfulDefault(), ILIAS\src\Refinery\String\LevenshteinTest\testApplyToWrongType(), OpenGraphMetadataTest\testAudioTag(), ILIAS\GlobalScreen\MainMenu\FactoryImplTest\testAvailableMethods(), NotificationFactoryTest\testAvailableMethods(), BulkyLinkTest\testBulkyLinkRenderWithDisabled(), DateTimeInputTest\testCommonRendering(), DurationInputTest\testCommonRendering(), GroupNotificationTest\testConstructByFactory(), StandardNotificationTest\testConstructByFactory(), ilCtrlContextTest\testContextBaseClassPropertyAdoptionByRequest(), ilCtrlContextTest\testContextCommandClassPropertyWithBaseClass(), ilCtrlContextTest\testContextCommandClassPropertyWithoutBaseClass(), ilCtrlContextTest\testContextPropertiesThatCantBeAdopted(), ilCtrlContextTest\testContextPropertyAdoptionByRequest(), NotificationFactoryTest\testCorrectReturn(), HtmlMetadataTest\testEmptyTagCollection(), ILIAS\GlobalScreen\MainMenu\MapTest\testFilterItems(), BulkyLinkTest\testGetAction(), MainNotificationCollectorTest\testGetAmountOfNewNotifications(), MainNotificationCollectorTest\testGetAmountOfOldNotifications(), BulkyLinkTest\testGetGlyphSymbol(), BulkyLinkTest\testGetLabell(), StandardNotificationGroupRendererTest\testGetNotificationComponentForItem(), StandardNotificationRendererTest\testGetNotificationComponentForItem(), StandardNotificationRendererTest\testGetNotificationComponentForItemWithCloseCallable(), MainNotificationCollectorTest\testGetNotifications(), MainNotificationCollectorTest\testGetNotificationsIdentifiersAsArray(), GroupNotificationTest\testGetProviderIdentification(), StandardNotificationTest\testGetProviderIdentification(), GroupNotificationTest\testGetRenderer(), StandardNotificationTest\testGetRenderer(), ToastCollectorTest\testGetToasts(), StandardNotificationTest\testHasClosedCallable(), MainNotificationCollectorTest\testHasNotifications(), OpenGraphMetadataTest\testImageTag(), BulkyLinkTest\testImplementsInterfaces(), ILIAS\GlobalScreen\MainMenu\FactoryImplTest\testInterchangeableContraints(), HtmlMetadataTest\testNestedTagCollection(), GroupNotificationTest\testNewNotificationCount(), GroupNotificationTest\testNotificationCount(), HtmlMetadataTest\testNullTag(), GroupNotificationTest\testOldNotificationCount(), ilCtrlPathFactoryTest\testPathFactoryExistingPath(), ilCtrlPathFactoryTest\testPathFactoryFindArrayClassTargetPath(), ilCtrlPathFactoryTest\testPathFactoryFindSingleClassTargetPath(), ilCtrlPathFactoryTest\testPathFactoryNullPath(), DateTimeInputTest\testRender(), DurationInputTest\testRender(), MarkdownTest\testRender(), ILIAS\Tests\UI\Component\Dropzone\File\StandardTest\testRenderBulky(), MainBarTest\testRendering(), BulkyLinkTest\testRenderingGlyph(), BulkyLinkTest\testRenderingIcon(), StandardPageTest\testRenderingWithCrumbs(), BulkyLinkTest\testRenderingWithId(), ILIAS\Tests\UI\Component\Dropzone\File\StandardTest\testRenderStandard(), ILIAS\Tests\UI\Component\Dropzone\File\StandardTest\testRenderStandardWithAdditionalInputs(), ILIAS\Tests\UI\Component\Dropzone\File\StandardTest\testRenderStandardWithUploadButton(), BulkyLinkTest\testRenderWithAriaRoleMenuitem(), MarkdownTest\testRenderWithByline(), MarkdownTest\testRenderWithDisabled(), BulkyLinkTest\testRenderWithDuplicateRelationship(), MarkdownTest\testRenderWithError(), BulkyLinkTest\testRenderWithHelpTopic(), BulkyLinkTest\testRenderWithLabelAndAltImageSame(), BulkyLinkTest\testRenderWithLanguage(), MarkdownTest\testRenderWithLimits(), BulkyLinkTest\testRenderWithRelationships(), MarkdownTest\testRenderWithRequired(), ILIAS\Tests\UI\Component\Dropzone\File\WrapperTest\testRenderWrapper(), ILIAS\Tests\UI\Component\Dropzone\File\WrapperTest\testRenderWrapperWithAdditionalInputs(), StandardToastTest\testReservedActions(), ilSkinFactoryTest\testSkinStyleContainerFromId(), ILIAS\GlobalScreen\MainMenu\MapTest\testSortingTopItems(), StandardToastTest\testStandardToast(), HtmlMetadataTest\testTagCollection(), HtmlMetadataTest\testUserDefinedTag(), OpenGraphMetadataTest\testVideoTag(), OpenGraphMetadataTest\testWebsiteTag(), BulkyLinkTest\testWithAriaRole(), BulkyLinkTest\testWithAriaRoleIncorrect(), StandardNotificationTest\testWithClosedCallable(), DateTimeInputTest\testWithFormat(), DurationInputTest\testWithFormat(), DateTimeInputTest\testWithInvalidTimeZone(), DurationInputTest\testWithInvalidTimeZone(), DateTimeInputTest\testWithInvalidValue(), DateTimeInputTest\testWithMaxValue(), DurationInputTest\testWithMaxValue(), DateTimeInputTest\testWithMinValue(), DurationInputTest\testWithMinValue(), StandardNotificationTest\testWithNewAmout(), StandardNotificationTest\testWithNotificationItem(), StandardNotificationTest\testWithOldAmout(), GroupNotificationTest\testWithOpenedCallable(), StandardNotificationTest\testWithOpenedCallable(), DurationInputTest\testWithoutByline(), DateTimeInputTest\testWithTimeOnly(), DurationInputTest\testWithTimeOnly(), DateTimeInputTest\testWithTimeZone(), DurationInputTest\testWithTimeZone(), DateTimeInputTest\testWithUseTime(), DurationInputTest\testWithUseTime(), DateTimeInputTest\testWithValueThatIsDateTimeImmutable(), StandardPageTest\testWithWrongContents(), GroupNotificationTest\testWitTitle(), BulkyLinkTest\testWrongConstruction(), ILIAS\MetaData\Copyright\Renderer\textInLegacy(), ilOpenIdConnectSettingsGUI\userMapping(), ilIndividualAssessmentMembersGUI\view(), and ILIAS\MetaData\Vocabularies\Copyright\Bridge\vocabulary().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ init()

init ( ?Container  $dic = null)

Definition at line 39 of file UITestHelper.php.

39 : Container
40 {
41 if ($dic) {
42 $this->dic_with_ui = $dic;
43 } else {
44 $this->dic_with_ui = new Container();
45 }
46
47 $tpl_fac = new ilIndependentTemplateFactory();
48 $this->dic_with_ui["tpl"] = $tpl_fac->getTemplate("tpl.main.html", false, false);
49 $this->dic_with_ui["lng"] = new LanguageMock();
50 $data_factory = new DataFactory();
51 $this->dic_with_ui["refinery"] = new RefinaryFactory($data_factory, $this->dic_with_ui["lng"]);
52
53 (new InitUIFramework())->init($this->dic_with_ui);
54
55 $this->dic_with_ui["ui.template_factory"] = new ilIndependentTemplateFactory();
56 $this->dic_with_ui["help.text_retriever"] = new ILIAS\UI\Help\TextRetriever\Echoing();
57
58 return $this->dic_with_ui;
59 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
This HelpTextRetriever simply echo the purpose and the topics for debugging and development purpose.
Definition: Echoing.php:31
This is more or less a copy of the removed InitUIFramework file inside the Init component.
$dic
Definition: ltiresult.php:33

References $dic, and init().

Referenced by factory(), init(), mainTemplate(), and renderer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ mainTemplate()

mainTemplate ( )

Definition at line 77 of file UITestHelper.php.

78 {
79 if (!isset($this->dic_with_ui)) {
80 $this->init();
81 }
82 return $this->dic_with_ui->ui()->mainTemplate();
83 }

References init().

Referenced by ilStartUpGUI\__construct(), ilForumTopicTableGUI\__construct(), ilOpenIdConnectSettingsGUI\__construct(), ilOpenIdConnectSettingsGUI\discoverScopesFromServer(), ilStartUpGUI\doApacheAuthentication(), ilStartUpGUI\doLTIAuthentication(), ilStartUpGUI\doMigration(), ilStartUpGUI\doMigrationNewAccount(), ilStartUpGUI\doOpenIdConnectAuthentication(), ilStartUpGUI\doSamlAuthentication(), ilStartUpGUI\doStandardAuthentication(), ilStartUpGUI\getAuthPageEditorHtml(), SettingsScoringGUITest\getUIComponents(), ilForumTopicTableGUI\initMergeThreadsTable(), ilStartUpGUI\processCode(), ilContentPageKioskModeView\renderContentStyle(), ilOpenIdConnectSettingsGUI\roles(), ilOpenIdConnectSettingsGUI\saveProfileMapping(), ilOpenIdConnectSettingsGUI\saveRoles(), ilOpenIdConnectSettingsGUI\saveScopes(), ilOpenIdConnectSettingsGUI\saveSettings(), ilContentPageKioskModeView\setObject(), ilOpenIdConnectSettingsGUI\settings(), ilOpenIdConnectSettingsGUI\showInfoMessage(), ilStartUpGUI\showLoginPage(), ilStartUpGUI\showLoginPageOrStartupPage(), ilStartUpGUI\showSamlIdpSelection(), ILIAS\LegalDocuments\test\ConsumerToolbox\UITest\testMainTemplate(), and ilOpenIdConnectSettingsGUI\validateDiscoveryUrl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ renderer()

renderer ( )

Definition at line 69 of file UITestHelper.php.

69 : Renderer
70 {
71 if (!isset($this->dic_with_ui)) {
72 $this->init();
73 }
74 return $this->dic_with_ui->ui()->renderer();
75 }
An entity that renders components to a string output.
Definition: Renderer.php:31

References init().

Referenced by ilObjRepositorySettingsGUI\__construct(), ilQuestionBrowserTableGUI\__construct(), ilCalendarPresentationGUI\__construct(), ilAnswerWizardInputGUI\__construct(), ilMatchingPairWizardInputGUI\__construct(), ilMatchingWizardInputGUI\__construct(), ilImagemapFileInputGUI\__construct(), ilMultipleImagesInputGUI\__construct(), ilMultipleTextsInputGUI\__construct(), ilSingleChoiceWizardInputGUI\__construct(), ilObjComponentSettingsGUI\__construct(), ilObjForumGUI\__construct(), ilBadgePersonalTableGUI\__construct(), ilBadgeProfileGUI\__construct(), ilBlockGUI\__construct(), ilBadgeRenderer\__construct(), ilDclBaseRecordModel\__construct(), ilAvailableRolesStatusTableGUI\__construct(), ilWebResourceLinkTableGUI\__construct(), ilUiLinkToSplitButtonMenuItemAdapter\__construct(), ilObjSearchSettingsFormGUI\__construct(), ilObjSearchLuceneSettingsFormGUI\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Factory\LinkItem\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Factory\NotificationCenter\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLegacyItem\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopLinkItem\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Factory\TopParentItem\__construct(), ilStudyProgrammeChangeDeadlineGUI\__construct(), ilStudyProgrammeChangeExpireDateGUI\__construct(), ilSystemStyleConfigGUI\__construct(), ilSystemStyleOverviewGUI\__construct(), ilDclBaseRecordRepresentation\__construct(), ilDclFieldListTableGUI\__construct(), ilDclFieldListGUI\__construct(), ilDclTableViewGUI\__construct(), ilDidacticTemplateSettingsTableGUI\__construct(), ilObjStudyProgrammeSettingsGUI\__construct(), ilIndividualAssessmentMembersTableGUI\__construct(), ILIAS\Badge\ilObjectBadgeTableGUI\__construct(), ilPluginsOverviewTable\__construct(), ilDclDetailedViewGUI\__construct(), ilDclTableListGUI\__construct(), ilDclRecordListGUI\__construct(), ilDidacticTemplateSettingsGUI\__construct(), ilIndividualAssessmentMembersGUI\__construct(), ilMDCopyrightConfigurationGUI\__construct(), ilCourseObjectivesGUI\__construct(), ilSCTaskTableGUI\__construct(), ilObjFileGUI\__construct(), ilOpenIdConnectSettingsGUI\__construct(), ILIAS\Badge\ilBadgeTableGUI\__construct(), ilLPStatusIcons\__construct(), ilParticipantTableGUI\__construct(), ilConsultationHoursTableGUI\__construct(), ilCalendarManageTableGUI\__construct(), ilCourseObjectivesTableGUI\__construct(), ilSubscriberTableGUI\__construct(), ilWaitingListTableGUI\__construct(), ilAccessPermissionsStatusTableGUI\__construct(), ilSessionMaterialsTableGUI\__construct(), ilRoleAssignmentTableGUI\__construct(), ilWorkspaceShareTableGUI\__construct(), ilSurveyQuestionsTableGUI\__construct(), ilSessionOverviewTableGUI\__construct(), ilConsultationHourBookingTableGUI\__construct(), ilSCGroupTableGUI\__construct(), ilSearchFilterGUI\__construct(), ilWOPIEmbeddedApplicationGUI\__construct(), ILIAS\Badge\ilBadgeUserTableGUI\__construct(), ILIAS\Badge\ilBadgeTypesTableGUI\__construct(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\__construct(), ILIAS\GlobalScreen\Scope\MetaBar\Factory\AbstractBaseItem\__construct(), ilShibbolethSettingsForm\__construct(), ILIAS\MetaData\Services\CopyrightHelper\Copyright\__construct(), ilMDCopyrightTableGUI\__construct(), ILIAS\MetaData\Services\CopyrightHelper\CopyrightHelper\__construct(), ilDclGenericMultiInputGUI\__construct(), ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\TypeInformation\__construct(), ILIAS\MetaData\Editor\Full\Services\Tables\TableBuilder\__construct(), ILIAS\MetaData\Editor\Full\Services\Tables\TableFactory\__construct(), ilStudyProgrammeTypeGUI\add(), ilIndividualAssessmentMemberGUI\amend(), ilObjFileGUI\buildInfoScreen(), ilDidacticTemplateSettingsGUI\confirmDelete(), ilObjComponentSettingsGUI\confirmUninstallPlugin(), ilStudyProgrammeTypeGUI\create(), ilObjRepositorySettingsGUI\customIcons(), ilObjFileGUI\edit(), ilIndividualAssessmentMemberGUI\edit(), ilSystemStyleConfigGUI\edit(), ilStudyProgrammeTypeGUI\edit(), ilStudyProgrammeTypeGUI\editCustomIcons(), ilObjBibliographicGUI\editObject(), ilMembershipBlockGUI\emptyHandling(), ilSelectedItemsBlockGUI\emptyHandling(), ILIAS\Badge\ilBadgeTableGUI\enrichRecord(), ilSystemStyleMainGUI\executeCommand(), ilSystemStyleMainGUI\executeDefaultCommand(), ilAccessPermissionsStatusTableGUI\fillRow(), ilAvailableRolesStatusTableGUI\fillRow(), ilCalendarManageTableGUI\fillRow(), ilConsultationHourBookingTableGUI\fillRow(), ilConsultationHoursTableGUI\fillRow(), ilCourseObjectivesTableGUI\fillRow(), ilWorkspaceShareTableGUI\fillRow(), ilSessionMaterialsTableGUI\fillRow(), ilSessionOverviewTableGUI\fillRow(), ilSurveyQuestionsTableGUI\fillRow(), ilSCGroupTableGUI\fillRow(), ilSCTaskTableGUI\fillRow(), ilQuestionBrowserTableGUI\fillRow(), ilRoleAssignmentTableGUI\fillRow(), ilWebResourceLinkTableGUI\fillRow(), ilDclFieldListTableGUI\fillRowFromObject(), ilIndividualAssessmentMemberGUI\finalizeConfirmation(), ilQuestionBrowserTableGUI\getCommentsHtml(), ilUiLinkToSplitButtonMenuItemAdapter\getContent(), ILIAS\MetaData\Services\CopyrightHelper\CopyrightHelper\getCopyrightEntryWrapper(), ilIndividualAssessmentMembersTableGUI\getFileDownloadLink(), ilADNNotificationUIFormGUI\getHTML(), ilShibbolethSettingsForm\getHTML(), ilBadgeRenderer\getHTML(), ilPluginsOverviewTableFilterGUI\getHTML(), ilBlockGUI\getHTML(), ilSearchFilterGUI\getHTML(), ilAdvancedSelectionListGUI\getHTML(), ilDclBooleanRecordRepresentation\getHTML(), ilDclIliasReferenceRecordRepresentation\getHTML(), ilDclMobRecordRepresentation\getHTML(), ilDclTextRecordRepresentation\getHTML(), ilContainerContentGUI\getItemGroupsHTML(), ilDashboardBlockGUI\getLegacyContent(), ilDclReferenceRecordRepresentation\getLinkHTML(), ilIndividualAssessmentMembersTableGUI\getProfileLink(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\getRecords(), ilContainerContentGUI\getSingleTypeBlockAsynch(), ilDclBaseRecordModel\getStandardFieldHTML(), ilPluginsOverviewTable\getTable(), SettingsScoringGUITest\getUIComponents(), ilObjLearningSequenceLearnerGUI\getWrappedHTML(), ilBiblFieldFilterGUI\index(), ilContainerContentGUI\initRenderer(), ilContainerObjectiveGUI\initRenderer(), ilContainerSessionsContentGUI\initRenderer(), ilCourseObjectivesGUI\initWizard(), ilAnswerWizardInputGUI\insert(), ilEssayKeywordWizardInputGUI\insert(), ilKprimChoiceWizardInputGUI\insert(), ilMatchingPairWizardInputGUI\insert(), ilMatchingWizardInputGUI\insert(), ilMultipleChoiceWizardInputGUI\insert(), ilSingleChoiceWizardInputGUI\insert(), ilImagemapFileInputGUI\insert(), ilContainerContentGUI\insertPageEmbeddedBlocks(), ilObjComponentSettingsGUI\listPlugins(), ilDclTableListGUI\listTables(), ilStudyProgrammeTypeGUI\listTypes(), ilDashboardBlockGUI\manually(), ilStudyProgrammeDashboardViewGUI\maybeGetCertificateLink(), ilDidacticTemplateSettingsGUI\overview(), ilObjBibliographicGUI\overwriteBibliographicFile(), ilMDCopyrightTableGUI\parseSelections(), ilCalendarPresentationGUI\prepareOutput(), ILIAS\MetaData\Services\CopyrightHelper\Copyright\presentAsString(), ILIAS\MetaData\Services\CopyrightHelper\Copyright\presentAsUIComponents(), ilIndividualAssessmentMembersGUI\removeUserConfirmation(), ilIndividualAssessmentMembersTableGUI\render(), ilDclGenericMultiInputGUI\render(), ilMultipleImagesInputGUI\render(), ilMultipleTextsInputGUI\render(), ilLPStatusIcons\renderIcon(), ilContainerContentGUI\renderItemGroup(), ilContainerByTypeContentGUI\renderItemList(), ilContainerObjectiveGUI\renderItemList(), ilContainerSessionsContentGUI\renderItemList(), ilContainerSimpleContentGUI\renderItemList(), ilContainerContentGUI\renderPageEmbeddedBlocks(), ILIAS\Badge\ilBadgeImageTemplateTableGUI\renderTable(), ilBadgePersonalTableGUI\renderTable(), ILIAS\Badge\ilBadgeTableGUI\renderTable(), ILIAS\Badge\ilBadgeTypesTableGUI\renderTable(), ILIAS\Badge\ilBadgeUserTableGUI\renderTable(), ILIAS\Badge\ilObjectBadgeTableGUI\renderTable(), ilObjForumGUI\renderThreadOverview(), ilSystemStyleConfigGUI\save(), ilOpenIdConnectSettingsGUI\scopes(), ILIAS\GlobalScreen\Scope\MainMenu\Collector\Information\TypeInformation\setRenderer(), ilObjBibliographicGUI\settings(), ilObjLearningSequenceSettingsGUI\settings(), ILIAS\Component\Tests\Dependencies\RendererTest\setUp(), ilPluginsOverviewTableTest\setUp(), ilTestQuestionNavigationGUITest\setUp(), ilDclTableViewGUI\show(), ilParticipantTableGUI\showActionLinks(), ilSubscriberTableGUI\showActionLinks(), ilWaitingListTableGUI\showActionLinks(), ilStudyProgrammeChangeDeadlineGUI\showDeadlineConfig(), ilStudyProgrammeChangeExpireDateGUI\showExpireDateConfig(), ilOpenIdConnectSettingsGUI\showInfoMessage(), ilContainerObjectiveGUI\showMaterials(), ilContainerObjectiveGUI\showObjectives(), ILIAS\Containter\Content\ObjectiveRenderer\showObjectives(), ILIAS\MetaData\Editor\Full\Services\Tables\TableFactory\table(), ilPluginsOverviewTableTest\testCreateObject(), ILIAS\Component\Tests\Dependencies\RendererTest\testScenario(), ilObjLearningSequenceSettingsGUI\update(), ilObjStudyProgrammeSettingsGUI\update(), ilStudyProgrammeTypeGUI\update(), ilObjBibliographicGUI\updateObject(), ilOpenIdConnectSettingsGUI\userMapping(), ilIndividualAssessmentMemberGUI\view(), ilIndividualAssessmentMembersGUI\view(), ilObjStudyProgrammeSettingsGUI\view(), and ilObjRepositorySettingsGUI\view().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ UITestHelper

trait UITestHelper
Initial value:
{
protected Container $dic_with_ui

Class UITestHelper can be helpful for test cases outside the UI Components, to inject a working factory and renderer into some classes to be unit tested.

See UITestHelperTest for an example of how this can be used.

Definition at line 35 of file UITestHelper.php.

Referenced by ilKSDocumentationEntryGUITest\setUp(), ilSystemStyleDocumentationGUITest\setUp(), ilSystemStyleOverviewGUITest\setUp(), KSDocumentationTreeRecursionTest\setUp(), SystemStylesGlobalScreenToolProviderTest\setUp(), and ilSystemStyleMessageStackTest\testGetUIComponentsMessages().