ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Class ilTermsOfServiceDocumentTest. More...
Additional Inherited Members | |
Protected Member Functions inherited from ilTermsOfServiceCriterionBaseTest | |
getRbacReviewMock () | |
getObjectDataCacheMock () | |
getRadioGroupMock () | |
getFormMock () | |
getUserMock () | |
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 ilTermsOfServiceDocumentTest.
Definition at line 8 of file ilTermsOfServiceDocumentTest.php.
ilTermsOfServiceDocumentTest::criteriaAssignmentProvider | ( | ) |
Definition at line 13 of file ilTermsOfServiceDocumentTest.php.
References ilTermsOfServiceBaseTest\getCriterionConfig().
ilTermsOfServiceDocumentTest::testCriteriaCanBeAttachedToAndDetachedFromDocumentPersistently | ( | \ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1, |
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2, | ||
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 | ||
) |
criteriaAssignmentProvider
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 |
Definition at line 242 of file ilTermsOfServiceDocumentTest.php.
References Sabre\Event\once(), arConnectorMap\register(), and ActiveRecord\store().
ilTermsOfServiceDocumentTest::testCriteriaCanBeAttachedToDocument | ( | \ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1, |
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2, | ||
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 | ||
) |
criteriaAssignmentProvider
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 |
Definition at line 200 of file ilTermsOfServiceDocumentTest.php.
ilTermsOfServiceDocumentTest::testCriteriaCanBeDetachedFromDocument | ( | \ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1, |
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2, | ||
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 | ||
) |
criteriaAssignmentProvider
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 |
Definition at line 219 of file ilTermsOfServiceDocumentTest.php.
ilTermsOfServiceDocumentTest::testDocumentModelCanBeBuiltFromArrayWithAttachedCriteriaBeingRead | ( | \ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1, |
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2, | ||
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 | ||
) |
criteriaAssignmentProvider
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 |
Definition at line 89 of file ilTermsOfServiceDocumentTest.php.
References ilTermsOfServiceDocumentCriterionAssignment\getCriterionId(), ilTermsOfServiceDocumentCriterionAssignment\getCriterionValue(), Sabre\Event\once(), and arConnectorMap\register().
ilTermsOfServiceDocumentTest::testDocumentModelCanCreatedByIdWithAttachedCriteriaBeingRead | ( | \ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1, |
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2, | ||
\ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 | ||
) |
criteriaAssignmentProvider
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment1 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment2 | |
ilTermsOfServiceDocumentCriterionAssignment | $criterionAssignment3 |
Definition at line 138 of file ilTermsOfServiceDocumentTest.php.
References ilTermsOfServiceDocumentCriterionAssignment\getCriterionId(), ilTermsOfServiceDocumentCriterionAssignment\getCriterionValue(), Sabre\Event\once(), and arConnectorMap\register().
ilTermsOfServiceDocumentTest::testExceptionIsRaisedWhenAttachingDuplicateCriteria | ( | ) |
Definition at line 316 of file ilTermsOfServiceDocumentTest.php.
References ilTermsOfServiceBaseTest\assertException(), and ilTermsOfServiceBaseTest\getCriterionConfig().
ilTermsOfServiceDocumentTest::testExceptionIsRaisedWhenAttachingDuplicateCriteriaEvenWithDifferentIds | ( | ) |
Definition at line 371 of file ilTermsOfServiceDocumentTest.php.
References ilTermsOfServiceBaseTest\assertException(), and ilTermsOfServiceBaseTest\getCriterionConfig().
ilTermsOfServiceDocumentTest::testExceptionIsRaisedWhenRemovingUnknownCriterion | ( | ) |
Definition at line 426 of file ilTermsOfServiceDocumentTest.php.
References ilTermsOfServiceBaseTest\assertException(), and ilTermsOfServiceBaseTest\getCriterionConfig().