|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilTermsOfServiceUserHasCountryCriterionTest. More...
Inheritance diagram for ilTermsOfServiceUserHasCountryCriterionTest:
Collaboration diagram for ilTermsOfServiceUserHasCountryCriterionTest:Public Member Functions | |
| setUp () | |
| @inheritDoc More... | |
| 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 | |
| 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 | |
| $lng | |
| $expectedInitialValue = 'EN' | |
| $expectedAfterFormSubmitValue = 'DE' | |
| $englishLanguageTranslation = 'English' | |
| $germanLanguageTranslation = 'German' | |
| $countries = [] | |
Protected Attributes inherited from ilTermsOfServiceBaseTest | |
| $dic | |
Class ilTermsOfServiceUserHasCountryCriterionTest.
Definition at line 11 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
| ilTermsOfServiceCriterionTypeGUI | $gui | |
| string | $httpCriterionSelectionBodyParameter |
| ReflectionException |
Definition at line 75 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::countryProvider | ( | ) |
Definition at line 168 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::failingConfigProvider | ( | ) |
Definition at line 210 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 51 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
Referenced by testInstanceCanBeCreated().
Here is the caller graph for this function:| ilTermsOfServiceUserHasCountryCriterionTest::setUp | ( | ) |
@inheritDoc
Reimplemented from ilTermsOfServiceBaseTest.
Definition at line 34 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
References ilTermsOfServiceBaseTest\getLanguageMock().
Here is the call graph for this function:| ilTermsOfServiceUserHasCountryCriterionTest::succeedingConfigProvider | ( | ) |
Definition at line 231 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testEvaluationFailsIfUserCountryDoesNotMatchDefinedLanguage | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilTermsOfServiceUserHasCountryCriterion | $criterion | |
| ilTermsOfServiceCriterionConfig | $config | @dataProvider failingConfigProvider |
| ReflectionException |
Definition at line 247 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testEvaluationSucceedsIfUserCountryDoesMatchDefinedLanguage | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion, |
| ilTermsOfServiceCriterionConfig | $config | ||
| ) |
| ilTermsOfServiceUserHasCountryCriterion | $criterion | |
| ilTermsOfServiceCriterionConfig | $config | @dataProvider succeedingConfigProvider |
| ReflectionException |
Definition at line 267 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testFormUserInterfaceElementsAreProperlyBuilt | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion | ) |
| ilTermsOfServiceUserHasCountryCriterion | $criterion | @depends testInstanceCanBeCreated |
| ReflectionException |
Definition at line 101 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testInstanceCanBeCreated | ( | ) |
Definition at line 59 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 154 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
| ilTermsOfServiceUserHasCountryCriterionTest::testValuesFromFormUserInterfaceElementsCanBeRetrieved | ( | ilTermsOfServiceUserHasCountryCriterion | $criterion | ) |
@depends testFormUserInterfaceElementsAreProperlyBuilt
| ilTermsOfServiceUserHasCountryCriterion | $criterion |
| ReflectionException |
Definition at line 125 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 29 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 23 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 20 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 17 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 26 of file ilTermsOfServiceUserHasCountryCriterionTest.php.
|
protected |
Definition at line 14 of file ilTermsOfServiceUserHasCountryCriterionTest.php.