ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
TestCase for the ilObjectDAVTest. More...
Public Member Functions | |
setName_NoWriteAccess_ThrowForbidden () | |
setName_ForbiddenCharacters_ThrowForbidden () | |
setName_EverythingFine_SetTitleForObject () | |
Requirements: More... | |
delete_WithoutPermission_ThrowForbidden () | |
Protected Member Functions | |
setUp () | |
Setup. More... | |
setUpObjectDAV ($mocked_obj, $mocked_repo_helper, $mockes_dav_helper) | |
Setup instance for ilObjectDAV. More... | |
Protected Attributes | |
$ref_id | |
$mocked_obj | |
$mocked_dav_repo_helper | |
$mocked_dav_obj_helper | |
$dav_obj | |
TestCase for the ilObjectDAVTest.
I name the test-methods like this: MethodName_TestedBehavior_Expectation
For example setName_NoWriteAccess_ThrowForbidden means:
needsInstalledILIAS
disabled disabled disabled
Definition at line 27 of file ilObjectDAVTest.php.
ilObjectDAVTest::delete_WithoutPermission_ThrowForbidden | ( | ) |
Definition at line 160 of file ilObjectDAVTest.php.
ilObjectDAVTest::setName_EverythingFine_SetTitleForObject | ( | ) |
Requirements:
Definition at line 137 of file ilObjectDAVTest.php.
References $title.
ilObjectDAVTest::setName_ForbiddenCharacters_ThrowForbidden | ( | ) |
Definition at line 106 of file ilObjectDAVTest.php.
References $title.
ilObjectDAVTest::setName_NoWriteAccess_ThrowForbidden | ( | ) |
Definition at line 80 of file ilObjectDAVTest.php.
References $title.
|
protected |
Setup.
Definition at line 48 of file ilObjectDAVTest.php.
References setUpObjectDAV().
|
protected |
Setup instance for ilObjectDAV.
Definition at line 70 of file ilObjectDAVTest.php.
References $mocked_obj.
Referenced by setUp().
|
protected |
Definition at line 42 of file ilObjectDAVTest.php.
|
protected |
Definition at line 39 of file ilObjectDAVTest.php.
|
protected |
Definition at line 36 of file ilObjectDAVTest.php.
|
protected |
Definition at line 33 of file ilObjectDAVTest.php.
Referenced by setUpObjectDAV().
|
protected |
Definition at line 30 of file ilObjectDAVTest.php.