ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceBaseTest. More...
Protected Member Functions | |
setUp () | |
getLanguageMock () | |
setGlobalVariable (string $name, $value) | |
assertException (string $exceptionClass) | |
getCriterionConfig ($value=null) | |
Protected Attributes | |
$dic | |
Class ilTermsOfServiceBaseTest.
Definition at line 10 of file ilTermsOfServiceBaseTest.php.
|
protected |
string | $exceptionClass |
Definition at line 69 of file ilTermsOfServiceBaseTest.php.
Referenced by ilTermsOfServiceAcceptanceHistoryGUITest\testAccessDeniedErrorIsRaisedWhenPermissionsAreMissing(), ilTermsOfServiceDocumentGUITest\testAccessDeniedErrorIsRaisedWhenPermissionsAreMissing(), ilTermsOfServiceDocumentEvaluationTest\testExceptionIsRaisedIfADocumentIsRequestedFromEvaluatorAndNoDocumentExistsAtAll(), ilTermsOfServiceCriterionTypeFactoryTest\testExceptionIsRaisedIfUnsupportedCriterionIsRequested(), ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenAcceptanceHistoryProviderIsRequestedWithoutCompleteFactoryConfiguration(), ilTermsOfServiceAcceptanceHistoryCriteriaBagTest\testExceptionIsRaisedWhenAtLeastOneInvalidElementIsPassedOnJsonStringImport(), ilTermsOfServiceAcceptanceHistoryCriteriaBagTest\testExceptionIsRaisedWhenAtLeastOneNonCriterionIsPassedInArrayOnCreation(), ilTermsOfServiceDocumentTest\testExceptionIsRaisedWhenAttachingDuplicateCriteria(), ilTermsOfServiceDocumentTest\testExceptionIsRaisedWhenAttachingDuplicateCriteriaEvenWithDifferentIds(), ilTermsOfServiceDataGatewayFactoryTest\testExceptionIsRaisedWhenGatewayIsRequestedWithMissingDependencies(), ilTermsOfServiceAcceptanceHistoryCriteriaBagTest\testExceptionIsRaisedWhenInvalidJsonDataIsPassedOnImport(), ilTermsOfServiceDocumentTest\testExceptionIsRaisedWhenRemovingUnknownCriterion(), ilTermsOfServiceDataGatewayFactoryTest\testExceptionIsRaisedWhenUnknownDataGatewayIsRequested(), ilTermsOfServiceEntityFactoryTest\testExceptionIsRaisedWhenUnknownEntityIsRequested(), and ilTermsOfServiceTableDataProviderFactoryTest\testExceptionIsRaisedWhenUnsupportedProviderIsRequested().
|
protected |
mixed | $value |
Definition at line 80 of file ilTermsOfServiceBaseTest.php.
Referenced by ilTermsOfServiceNullCriterionTest\buildForm(), ilTermsOfServiceUserHasLanguageCriterionTest\buildForm(), ilTermsOfServiceDocumentTest\criteriaAssignmentProvider(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\criteriaAssignmentProvider(), ilTermsOfServiceUserHasLanguageCriterionTest\failingConfigProvider(), ilTermsOfServiceUserHasGlobalRoleCriterionTest\failingConfigProvider(), ilTermsOfServiceUserHasLanguageCriterionTest\languageProvider(), ilTermsOfServiceUserHasGlobalRoleCriterionTest\objectCacheProvider(), ilTermsOfServiceUserHasLanguageCriterionTest\succeedingConfigProvider(), ilTermsOfServiceNullCriterionTest\testCriterionAlwaysCreateEmptyConfigValue(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testCriterionWithSameNatureIsNotAcceptedWhenAlreadyAssigned(), ilTermsOfServiceDocumentTest\testExceptionIsRaisedWhenAttachingDuplicateCriteria(), ilTermsOfServiceDocumentTest\testExceptionIsRaisedWhenAttachingDuplicateCriteriaEvenWithDifferentIds(), ilTermsOfServiceDocumentTest\testExceptionIsRaisedWhenRemovingUnknownCriterion(), ilTermsOfServiceNullCriterionTest\testTypeIdentPresentatioEqualsANonEmptyString(), ilTermsOfServiceUserHasLanguageCriterionTest\testValuesFromFormUserInterfaceElementsCanBeRetrieved(), and ilTermsOfServiceUserHasGlobalRoleCriterionTest\testValuesFromFormUserInterfaceElementsCanBeRetrieved().
|
protected |
Definition at line 39 of file ilTermsOfServiceBaseTest.php.
References $lng.
Referenced by ilTermsOfServiceUserHasLanguageCriterionTest\languageProvider(), ilTermsOfServiceNullCriterionTest\setUp(), setUp(), ilTermsOfServiceUserHasLanguageCriterionTest\setUp(), ilTermsOfServiceUserHasGlobalRoleCriterionTest\setUp(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testConstraintAcceptanceWorksAsExpected(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testConstraintCheckWorksAsExpected(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testConstraintExposesCorrectErrorMessagesAfterMultiAccept(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testConstraintProblemBuilderWorksAsExpected(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testConstraintProblemDetectionWorksAsExpected(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testConstraintRestrictionWorksAsExpected(), ilTermsOfServiceDocumentCriterionAssignmentConstraintTest\testCriterionWithSameNatureIsNotAcceptedWhenAlreadyAssigned(), ilTermsOfServiceSettingsFormGUITest\testFormCannotBeSavedWithEnabledServiceWhenNoDocumentsExistAndServiceIsCurrentlyDisabled(), ilTermsOfServiceCriterionFormGUITest\testFormForExistingAssignmentCannotBeSavedForInalidInput(), and ilTermsOfServiceDocumentFormGUITest\testUploadIssuesAreHandledWhenDocumentFormIsSaved().
|
protected |
string | $name | |
mixed | $value |
Definition at line 54 of file ilTermsOfServiceBaseTest.php.
References $c, $DIC, $GLOBALS, and $name.
Referenced by setUp(), ilTermsOfServiceSettingsFormGUITest\testFormCannotBeSavedWithEnabledServiceWhenNoDocumentsExistAndServiceIsCurrentlyDisabled(), ilTermsOfServiceCriterionFormGUITest\testFormForExistingAssignmentCannotBeSavedForInalidInput(), ilTermsOfServiceDocumentFormGUITest\testFormForExistingDocumentsCanBeSavedForValidInput(), ilTermsOfServiceDocumentFormGUITest\testFormForNewDocumentsCanBeSavedForValidInput(), ilTermsOfServiceDocumentGUITest\testLastResetDateIsDisplayedInMessageBoxWhenAgreementsHaveBeenResetAtLeastOnce(), ilTermsOfServiceDocumentGUITest\testNoLastResetDateIsDisplayedInMessageBoxWhenAgreementsHaveBeenResetAtLeastOnce(), ilTermsOfServiceAppEventListenerTest\testStaticEventListeningWorksAsExpected(), and ilTermsOfServiceDocumentFormGUITest\testUploadIssuesAreHandledWhenDocumentFormIsSaved().
|
protected |
Definition at line 20 of file ilTermsOfServiceBaseTest.php.
References $dic, $GLOBALS, getLanguageMock(), and setGlobalVariable().
|
protected |
Definition at line 15 of file ilTermsOfServiceBaseTest.php.
Referenced by setUp().