|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceAcceptanceHistoryCriteriaBagTest. More...
Inheritance diagram for ilTermsOfServiceAcceptanceHistoryCriteriaBagTest:
Collaboration diagram for ilTermsOfServiceAcceptanceHistoryCriteriaBagTest:Public Member Functions | |
| testCriteriaCanBePassedAsArray () | |
| testExceptionIsRaisedWhenAtLeastOneNonCriterionIsPassedInArrayOnCreation () | |
| @expectedException \ilTermsOfServiceUnexpectedCriteriaBagContentException More... | |
| testExceptionIsRaisedWhenInvalidJsonDataIsPassedOnImport () | |
| @expectedException \ilTermsOfServiceUnexpectedCriteriaBagContentException More... | |
| testExceptionIsRaisedWhenAtLeastOneInvalidElementIsPassedOnJsonStringImport () | |
| @expectedException \ilTermsOfServiceUnexpectedCriteriaBagContentException More... | |
| testCriteriaImportFromJsonStringWorksAsExpected () | |
Additional Inherited Members | |
Protected Member Functions inherited from ilTermsOfServiceBaseTest | |
| setUp () | |
| getLanguageMock () | |
| setGlobalVariable (string $name, $value) | |
| assertException (string $exceptionClass) | |
| getCriterionConfig ($value=null) | |
Protected Attributes inherited from ilTermsOfServiceBaseTest | |
| $dic | |
Class ilTermsOfServiceAcceptanceHistoryCriteriaBagTest.
Definition at line 8 of file ilTermsOfServiceAcceptanceHistoryCriteriaBagTest.php.
| ilTermsOfServiceAcceptanceHistoryCriteriaBagTest::testCriteriaCanBePassedAsArray | ( | ) |
Definition at line 13 of file ilTermsOfServiceAcceptanceHistoryCriteriaBagTest.php.
References $data.
| ilTermsOfServiceAcceptanceHistoryCriteriaBagTest::testCriteriaImportFromJsonStringWorksAsExpected | ( | ) |
Definition at line 155 of file ilTermsOfServiceAcceptanceHistoryCriteriaBagTest.php.
| ilTermsOfServiceAcceptanceHistoryCriteriaBagTest::testExceptionIsRaisedWhenAtLeastOneInvalidElementIsPassedOnJsonStringImport | ( | ) |
@expectedException \ilTermsOfServiceUnexpectedCriteriaBagContentException
Definition at line 130 of file ilTermsOfServiceAcceptanceHistoryCriteriaBagTest.php.
References ilTermsOfServiceBaseTest\assertException().
Here is the call graph for this function:| ilTermsOfServiceAcceptanceHistoryCriteriaBagTest::testExceptionIsRaisedWhenAtLeastOneNonCriterionIsPassedInArrayOnCreation | ( | ) |
@expectedException \ilTermsOfServiceUnexpectedCriteriaBagContentException
Definition at line 79 of file ilTermsOfServiceAcceptanceHistoryCriteriaBagTest.php.
References ilTermsOfServiceBaseTest\assertException().
Here is the call graph for this function:| ilTermsOfServiceAcceptanceHistoryCriteriaBagTest::testExceptionIsRaisedWhenInvalidJsonDataIsPassedOnImport | ( | ) |
@expectedException \ilTermsOfServiceUnexpectedCriteriaBagContentException
Definition at line 105 of file ilTermsOfServiceAcceptanceHistoryCriteriaBagTest.php.
References ilTermsOfServiceBaseTest\assertException().
Here is the call graph for this function: