|
ILIAS
release_8 Revision v8.25-1-g13de6a5eca6
|
Class ilTermsOfServiceUserHasCountryCriterionTest. More...
Inheritance diagram for ilTermsOfServiceUserHasCountryCriterionTest:
Collaboration diagram for ilTermsOfServiceUserHasCountryCriterionTest:Public Member Functions | |
| testInstanceCanBeCreated () | |
| testFormUserInterfaceElementsAreProperlyBuilt (ilTermsOfServiceUserHasCountryCriterion $criterion) | |
| testValuesFromFormUserInterfaceElementsCanBeRetrieved (ilTermsOfServiceUserHasCountryCriterion $criterion) | |
| @depends testFormUserInterfaceElementsAreProperlyBuilt More... | |
| testTypeIdentPresentationIsANonEmptyString (ilTermsOfServiceUserHasCountryCriterion $criterion) | |
| @depends testFormUserInterfaceElementsAreProperlyBuilt More... | |
| countryProvider () | |
| failingConfigProvider () | |
| succeedingConfigProvider () | |
| testEvaluationFailsIfUserCountryDoesNotMatchDefinedLanguage (ilTermsOfServiceUserHasCountryCriterion $criterion, ilTermsOfServiceCriterionConfig $config) | |
| testEvaluationSucceedsIfUserCountryDoesMatchDefinedLanguage (ilTermsOfServiceUserHasCountryCriterion $criterion, ilTermsOfServiceCriterionConfig $config) | |
Protected Member Functions | |
| setUp () | |
| getInstance () | |
| buildForm (ilTermsOfServiceCriterionTypeGUI $gui, string $httpCriterionSelectionBodyParameter) | |
Protected Member Functions inherited from ilTermsOfServiceCriterionBaseTest | |
| getRbacReviewMock () | |
| getObjectDataCacheMock () | |
| getRadioGroupMock () | |
| getFormMock () | |
| getUserMock () | |
Protected Member Functions inherited from ilTermsOfServiceBaseTest | |
| setUp () | |
| getLanguageMock () | |
| getUiFactoryMock () | |
| setGlobalVariable (string $name, $value) | |
| getCriterionConfig ($value=null) | |
Protected Attributes | |
| ilLanguage | $lng |
| string | $expectedInitialValue = 'EN' |
| string | $expectedAfterFormSubmitValue = 'DE' |
| string | $englishLanguageTranslation = 'English' |
| string | $germanLanguageTranslation = 'German' |
| array | $countries = [] |
Protected Attributes inherited from ilTermsOfServiceBaseTest | |
| Container | $dic |
Class ilTermsOfServiceUserHasCountryCriterionTest.
Definition at line 29 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
| ilTermsOfServiceCriterionTypeGUI | $gui | |
| string | $httpCriterionSelectionBodyParameter |
Definition at line 73 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::countryProvider | ( | ) |
Definition at line 163 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::failingConfigProvider | ( | ) |
Definition at line 200 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 53 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
Referenced by testInstanceCanBeCreated().
Here is the caller graph for this function:
|
protected |
Reimplemented from ilTermsOfServiceBaseTest.
Definition at line 40 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
References ilTermsOfServiceBaseTest\getLanguageMock(), and ILIAS\Repository\lng().
Here is the call graph for this function:| ilTermsOfServiceUserHasCountryCriterionTest::succeedingConfigProvider | ( | ) |
Definition at line 218 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testEvaluationFailsIfUserCountryDoesNotMatchDefinedLanguage | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilTermsOfServiceUserHasCountryCriterion | $criterion | |
| ilTermsOfServiceCriterionConfig | $config | @dataProvider failingConfigProvider |
Definition at line 233 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testEvaluationSucceedsIfUserCountryDoesMatchDefinedLanguage | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilTermsOfServiceUserHasCountryCriterion | $criterion | |
| ilTermsOfServiceCriterionConfig | $config | @dataProvider succeedingConfigProvider |
Definition at line 251 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testFormUserInterfaceElementsAreProperlyBuilt | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion | ) |
| ilTermsOfServiceUserHasCountryCriterion | $criterion | @depends testInstanceCanBeCreated |
Definition at line 97 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testInstanceCanBeCreated | ( | ) |
Definition at line 58 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
References getInstance().
Here is the call graph for this function:| ilTermsOfServiceUserHasCountryCriterionTest::testTypeIdentPresentationIsANonEmptyString | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion | ) |
@depends testFormUserInterfaceElementsAreProperlyBuilt
| ilTermsOfServiceUserHasCountryCriterion | $criterion |
Definition at line 149 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testValuesFromFormUserInterfaceElementsCanBeRetrieved | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion | ) |
@depends testFormUserInterfaceElementsAreProperlyBuilt
| ilTermsOfServiceUserHasCountryCriterion | $criterion |
Definition at line 120 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 38 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 35 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 34 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 33 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 36 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 32 of file ilTermsOfServiceUserHasCountryCriterionTest.php.