ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
assBaseTestCase Class Reference

Class assBaseTestCase. More...

+ Inheritance diagram for assBaseTestCase:
+ Collaboration diagram for assBaseTestCase:

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 getIRSSMock ()
 

Protected Attributes

Container $dic = null
 

Detailed Description

Class assBaseTestCase.

Definition at line 26 of file assBaseTestCase.php.

Member Function Documentation

◆ getIRSSMock()

assBaseTestCase::getIRSSMock ( )
protected

Definition at line 84 of file assBaseTestCase.php.

85 {
86 return $this->getMockBuilder(Services::class)->disableOriginalConstructor()->getMock();
87 }

Referenced by assFileUploadGUITest\setUp(), and assFileUploadTest\setUp().

+ Here is the caller graph for this function:

◆ setUp()

assBaseTestCase::setUp ( )
protected

Reimplemented in assAnswerBinaryStateImageTest, assAnswerBinaryStateTest, assAnswerClozeTest, assAnswerErrorTextTest, assAnswerImagemapTest, assAnswerMatchingDefinitionTest, assAnswerMatchingPairTest, assAnswerMatchingTermTest, assAnswerMatchingTest, assAnswerMultipleResponseImageTest, assAnswerMultipleResponseTest, assAnswerSimpleTest, assAnswerTrueFalseTest, assClozeGapCombinationTest, assClozeGapTest, assClozeSelectGapTest, assClozeTestExportTest, assClozeTestGUITest, assClozeTestImportTest, assClozeTestTest, assErrorTextExportTest, assErrorTextGUITest, assErrorTextImportTest, assErrorTextTest, assFileUploadExportTest, assFileUploadFileTableGUITest, assFileUploadGUITest, assFileUploadImportTest, assFileUploadStakeholderTest, assFileUploadTest, assFormulaQuestionExportTest, assFormulaQuestionGUITest, assFormulaQuestionImportTest, assFormulaQuestionResultTest, assFormulaQuestionTest, assFormulaQuestionUnitCategoryTest, assFormulaQuestionUnitTest, assFormulaQuestionVariableTest, assImagemapQuestionExportTest, assImagemapQuestionGUITest, assImagemapQuestionImportTest, assImagemapQuestionTest, assKprimChoiceExportTest, assKprimChoiceGUITest, assKprimChoiceImportTest, assKprimChoiceTest, assLongMenuExportQti21Test, assLongMenuExportTest, assLongMenuGUITest, assLongMenuImportTest, assLongmenuTest, assMatchingQuestionExportTest, assMatchingQuestionGUITest, assMatchingQuestionImportTest, assMatchingQuestionTest, assMultipleChoiceExportTest, assMultipleChoiceGUITest, assMultipleChoiceImportTest, assMultipleChoiceTest, assNumericExportTest, assNumericGUITest, assNumericImportTest, assNumericRangeTest, assNumericTest, assOrderingHorizontalExportTest, assOrderingHorizontalGUITest, assOrderingHorizontalImportTest, assOrderingHorizontalTest, assOrderingQuestionExportTest, assOrderingQuestionGUITest, assOrderingQuestionImportTest, assOrderingQuestionTest, assQuestionExportTest, assQuestionGUITest, assQuestionImportTest, assQuestionTest, assSingleChoiceExportTest, assSingleChoiceGUITest, assSingleChoiceImportTest, assSingleChoiceTest, assTextQuestionExportTest, assTextQuestionGUITest, assTextQuestionImportTest, assTextQuestionTest, assTextSubsetExportTest, assTextSubsetGUITest, assTextSubsetImportTest, assTextSubsetTest, ilAddAnswerFormBuilderTest, ilAnswerFrequencyStatisticTableGUITest, ilAnswerWizardInputGUITest, ilAssAnswerCorrectionsInputGUITest, ilAssClozeTestCombinationVariantsInputGUITest, ilAssClozeTestFeedbackTest, ilAssConfigurableMultiOptionQuestionFeedbackTest, ilAssErrorTextCorrectionsInputGUITest, ilAssErrorTextFeedbackTest, ilAssFileUploadFeedbackTest, ilAssFileUploadUploadsExporterTest, ilAssFormulaQuestionFeedbackTest, ilAssGenFeedbackPageConfigTest, ilAssGenFeedbackPageGUITest, ilAssGenFeedbackPageTest, ilAssHtmlQuestionContentPurifierTest, ilAssHtmlUserSolutionPurifierTest, ilAssImagemapQuestionFeedbackTest, ilAssIncompleteQuestionPurgerTest, ilAssKprimChoiceAnswerTest, ilAssKprimChoiceFeedbackTest, ilAssLacAbstractCompositeTest, ilAssLacAbstractExpressionTest, ilAssLacAbstractManufacturerTest, ilAssLacAbstractOperationTest, ilAssLacAndOperationTest, ilAssLacAnswerIndexNotExistTest, ilAssLacAnswerOfCurrentQuestionExpressionTest, ilAssLacAnswerOfQuestionExpressionTest, ilAssLacAnswerValueNotExistTest, ilAssLacCompositeBuilderExceptionTest, ilAssLacCompositeBuilderTest, ilAssLacCompositeEvaluatorTest, ilAssLacCompositeValidatorTest, ilAssLacConditionParserExceptionTest, ilAssLacConditionParserTest, ilAssLacDuplicateElementTest, ilAssLacEmptyAnswerExpressionTest, ilAssLacEqualsOperationTest, ilAssLacExceptionTest, ilAssLacExclusiveResultExpressionTest, ilAssLacExpressionManufacturerTest, ilAssLacExpressionNotSupportedByQuestionTest, ilAssLacGreaterOperationTest, ilAssLacGreaterOrEqualsOperationTest, ilAssLacLegendGUITest, ilAssLacLesserOperationTest, ilAssLacLesserOrEqualsOperationTest, ilAssLacMatchingResultExpressionTest, ilAssLacMissingBracketTest, ilAssLacNotEqualsOperationTest, ilAssLacNumberOfResultExpressionTest, ilAssLacNumericResultExpressionTest, ilAssLacOperationManufacturerTest, ilAssLacOperatorNotSupportedByExpressionTest, ilAssLacOrderingResultExpressionTest, ilAssLacOrOperationTest, ilAssLacPercentageResultExpressionTest, ilAssLacQuestionNotExistTest, ilAssLacQuestionNotReachableTest, ilAssLacQuestionProviderTest, ilAssLacResultOfAnswerOfCurrentQuestionExpressionTest, ilAssLacResultOfAnswerOfQuestionExpressionTest, ilAssLacStringResultExpressionTest, ilAssLacUnableToParseConditionTest, ilAssLacUnsupportedExpressionTest, ilAssLacUnsupportedOperationTest, ilAssLongmenuCorrectionsInputGUITest, ilAssLongMenuFeedbackTest, ilAssMatchingPairCorrectionsInputGUITest, ilAssMatchingQuestionFeedbackTest, ilAssMultiOptionQuestionFeedbackTest, ilAssMultipleChoiceCorrectionsInputGUITest, ilAssMultipleChoiceFeedbackTest, ilAssNestedOrderingElementsInputGUITest, ilAssNumericFeedbackTest, ilAssOrderingDefaultElementFallbackTest, ilAssOrderingElementListTest, ilAssOrderingFormValuesObjectsConverterTest, ilAssOrderingHorizontalFeedbackTest, ilAssOrderingImagesInputGUITest, ilAssOrderingQuestionAuthoringFormGUITest, ilAssOrderingQuestionFeedbackTest, ilAssOrderingTextsInputGUITest, ilAssQuestionAbstractPageObjectCommandForwarderTest, ilAssQuestionAssignedSkillListTest, ilAssQuestionAuthoringFormGUITest, ilAssQuestionFeedbackEditingGUITest, ilAssQuestionFeedbackPageObjectCommandForwarderTest, ilAssQuestionFeedbackTest, ilAssQuestionLifecycleTest, ilAssQuestionListTest, ilAssQuestionLomLifecycleTest, ilAssQuestionPageConfigTest, ilAssQuestionPageGUITest, ilAssQuestionPageTest, ilAssQuestionPreviewGUITest, ilAssQuestionPreviewSessionTest, ilAssQuestionPreviewSettingsTest, ilAssQuestionProcessLockerDbTest, ilAssQuestionProcessLockerFactoryTest, ilAssQuestionProcessLockerFileTest, ilAssQuestionProcessLockerNoneTest, ilAssQuestionProcessLockerTest, ilAssQuestionProcessLockFileStorageTest, ilAssQuestionRelatedNavigationBarGUITest, ilAssQuestionSkillAssignmentExporterTest, ilAssQuestionSkillAssignmentImporterTest, ilAssQuestionSkillAssignmentImportFailsTest, ilAssQuestionSkillAssignmentImportListTest, ilAssQuestionSkillAssignmentImportTest, ilAssQuestionSkillAssignmentListTest, ilAssQuestionSkillAssignmentPropertyFormGUITest, ilAssQuestionSkillAssignmentRegistryTest, ilAssQuestionSkillAssignmentsGUITest, ilAssQuestionSkillAssignmentsTableGUITest, ilAssQuestionSkillAssignmentTest, ilAssQuestionSkillAssignmentXmlParserTest, ilAssQuestionSkillUsagesTableGUITest, ilAssQuestionSolutionComparisonExpressionImportListTest, ilAssQuestionSolutionComparisonExpressionImportTest, ilAssQuestionSolutionComparisonExpressionListTest, ilAssQuestionSolutionComparisonExpressionTest, ilAssQuestionTypeListTest, ilAssQuestionTypeOrdererTest, ilAssQuestionTypeTest, ilAssQuestionUserSolutionAdopterTest, ilAssSelfAssessmentQuestionFormatterTest, ilAssSingleChoiceCorrectionsInputGUITest, ilAssSingleChoiceFeedbackTest, ilAssSingleOptionQuestionFeedbackTest, ilAssSpecFeedbackPageConfigTest, ilAssSpecFeedbackPageGUITest, ilAssSpecFeedbackPageTest, ilAssSpecificFeedbackIdentifierListTest, ilAssSpecificFeedbackIdentifierTest, ilAssTextQuestionFeedbackTest, ilAssTextSubsetFeedbackTest, ilClozeGapInputBuilderGUITest, ilErrorTextWizardInputGUITest, ilEssayKeywordWizardInputGUITest, ilGlobalUnitCategoryTableGUITest, ilGlobalUnitConfigurationGUITest, ilHtmlImageMapFileInputGUITest, ilIdentifiedMultiFilesJsPositionIndexRemoverTest, ilIdentifiedMultiValuesInputGUITest, ilIdentifiedMultiValuesJsPositionIndexRemoverTest, ilImagemapCorrectionsInputGUITest, ilImagemapFileInputGUITest, ilImagemapPreviewTest, ilKprimChoiceAnswerFreqStatTableGUITest, ilKprimChoiceCorrectionsInputGUITest, ilKprimChoiceWizardInputGUITest, ilLocalUnitCategoryTableGUITest, ilLocalUnitConfigurationGUITest, ilLogicalAnswerComparisonExpressionInputGUITest, ilMatchingPairWizardInputGUITest, ilMatchingQuestionAnswerFreqStatTableGUITest, ilMatchingWizardInputGUITest, ilMultiFilesSubmitRecursiveSlashesStripperTest, ilMultipleChoiceWizardInputGUITest, ilMultipleImagesAdditionalIndexLevelRemoverTest, ilMultipleImagesFileSubmissionDataCompletionTest, ilMultipleImagesInputGUITest, ilMultipleNestedOrderingElementsAdditionalIndexLevelRemoverTest, ilMultipleTextsInputGUITest, ilObjQuestionPoolAccessTest, ilObjQuestionPoolGUITest, ilObjQuestionPoolListGUITest, ilObjQuestionPoolSettingsGeneralGUITest, ilObjQuestionPoolTaxonomyEditingCommandForwarderTest, ilObjQuestionPoolTest, ilObjQuestionPoolXMLParserTest, ilOperatorsExpressionMappingTest, ilQuestionBrowserTableGUITest, ilQuestionCumulatedStatisticsTableGUITest, ilQuestionEditGUITest, ilQuestionInternalLinkSelectionTableGUITest, ilQuestionPageParserTest, ilQuestionPoolDuplicatedTaxonomiesKeysMapTest, ilQuestionpoolExportTest, ilQuestionPoolFactoryTest, ilQuestionPoolPrintViewTableGUITest, ilQuestionPoolSkillAdministrationGUITest, ilQuestionPoolTaxonomiesDuplicatorTest, ilQuestionsPluginTest, ilQuestionUsagesTableGUITest, ilSingleChoiceWizardInputGUITest, ilSolutionExplorerTest, ilSolutionTitleInputGUITest, ilSuggestedSolutionInputGUITest, ilSuggestedSolutionSelectorGUITest, ilTagInputGUITest, ilTestQuestionConfigTest, ilTestQuestionPool9DBUpdateStepsTest, ilTestQuestionPoolAppEventListenerTest, ilTestQuestionPoolExceptionTest, ilTestQuestionPoolExporterTest, ilTestQuestionPoolFileUploadQuestionMigrationTest, ilTestQuestionPoolImporterTest, ilTestQuestionPoolInvalidArgumentExceptionTest, ilTestQuestionPoolSetupAgentTest, ilUnitCategoryTableGUITest, ilUnitConfigurationGUITest, ilUnitConfigurationRepositoryTest, ilUnitTableGUITest, ilUserQuestionResultTest, OrderingQuestionDatabaseRepositoryTest, QuestionPoolDICTest, QuestionTableTest, RequestValidationHelperTest, SuggestedSolutionFileTest, SuggestedSolutionLinkTest, SuggestedSolutionsDatabaseRepositoryTest, and TestQuestionPoolSkillDBRepositoryTest.

Definition at line 35 of file assBaseTestCase.php.

35 : void
36 {
37 global $DIC;
38
39 $this->dic = is_object($DIC) ? clone $DIC : $DIC;
40
41 $DIC = new Container();
42
43 $this->addGlobal_tpl();
44 $this->addGlobal_lng();
48 $this->addGlobal_ilAccess();
49 $this->addGlobal_ilHelp();
50 $this->addGlobal_ilUser();
51 $this->addGlobal_ilTabs();
52 $this->addGlobal_rbacsystem();
53 $this->addGlobal_rbacreview();
54 $this->addGlobal_refinery();
55 $this->addGlobal_ilDB();
56 $this->addGlobal_tree();
59 $this->addGlobal_http();
60 $this->addGlobal_upload();
61 $this->addGlobal_ilCtrl();
63 $this->addGlobal_filesystem();
64 $this->addGlobal_static_url();
66 $this->addGlobal_ilSetting();
67 $this->addGlobal_uiFactory();
68 $this->addGlobal_uiRenderer();
69
70 $this->defineGlobalConstants();
71
72 parent::setUp();
73 }
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:36
addGlobal_static_url()
addGlobal_filesystem()
addGlobal_ilIliasIniFile()
addGlobal_ilComponentFactory()
addGlobal_objectMetadata()
addGlobal_ilObjDataCache()
addGlobal_resourceStorage()
addGlobal_ilComponentRepository()
defineGlobalConstants()
addGlobal_uiRenderer()
addGlobal_rbacsystem()
addGlobal_rbacreview()
addGlobal_objectService()
global $DIC
Definition: shib_login.php:26

References $DIC, addGlobal_filesystem(), addGlobal_http(), addGlobal_ilAccess(), addGlobal_ilComponentFactory(), addGlobal_ilComponentRepository(), addGlobal_ilCtrl(), addGlobal_ilDB(), addGlobal_ilHelp(), addGlobal_ilIliasIniFile(), addGlobal_ilObjDataCache(), addGlobal_ilSetting(), addGlobal_ilTabs(), addGlobal_ilUser(), addGlobal_lng(), addGlobal_objectMetadata(), addGlobal_objectService(), addGlobal_rbacreview(), addGlobal_rbacsystem(), addGlobal_refinery(), addGlobal_resourceStorage(), addGlobal_static_url(), addGlobal_tpl(), addGlobal_tree(), addGlobal_uiFactory(), addGlobal_uiRenderer(), addGlobal_upload(), and defineGlobalConstants().

+ Here is the call graph for this function:

◆ tearDown()

assBaseTestCase::tearDown ( )
protected

Definition at line 75 of file assBaseTestCase.php.

75 : void
76 {
77 global $DIC;
78
80
81 parent::tearDown();
82 }

References $DIC, and $dic.

Field Documentation

◆ $dic

Container assBaseTestCase::$dic = null
protected

Definition at line 30 of file assBaseTestCase.php.

Referenced by tearDown().


The documentation for this class was generated from the following file: