ILIAS
release_8 Revision v8.19
|
Protected Member Functions | |
getChildrenTest (int $ref_id, array $additional_information) | |
getDAVContainerWithExpectationForFunctions (int $object_ref_id, int $expects_object, int $expects_problem_info_file=0, int $expects_child_ref=1, bool $for_create=false) | |
Definition at line 28 of file class.ilDAVContainerTest.php.
|
protected |
mixed[] | $additional_information |
Definition at line 196 of file class.ilDAVContainerTest.php.
References $i, and getDAVContainerWithExpectationForFunctions().
Referenced by testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayOfObjects(), and testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayWithProblemInfoFile().
|
protected |
Definition at line 426 of file class.ilDAVContainerTest.php.
References $ref_id, $type, ilWebDAVNotDavableException\OBJECT_HIDDEN, ilWebDAVNotDavableException\OBJECT_TITLE_NOT_DAVABLE, and ilWebDAVNotDavableException\OBJECT_TYPE_NOT_DAVABLE.
Referenced by getChildrenTest(), testChildExistsWithExistingNameOfFolderOrFileReturnsTrue(), testChildExistsWithExistingNameOfFolderOrFileWhenOtherObjectOfSameNameExistsReturnsTrue(), testChildExistsWithExistingNameOfFolderOrFileWithoutAccessReturnsFalse(), testChildExistsWithExistingNameOfOtherObjectTypeReturnsFalse(), testChildExistsWithExistingNonDavableNameReturnsFalse(), testChildExistsWithNonExistentNameOfFolderOrFileReturnsFalse(), testCreateDirectoryWithNonDavableNameThrowsForbiddenError(), testCreateDirectoryWithoutPermissionsThrowsForbiddenError(), testCreateFileWithoutPermissionsThrowsForbiddenError(), testDeleteWithoutPermissionsThrowsForbiddenError(), testGetChildrenFromFolderWithOnlyNonDavableNamedContentReturnsEmptyArray(), testGetChildWithExistingNameOfFolderOrFileReturnsIlObject(), testGetChildWithExistingNameOfFolderOrFileWithoutAccessThrowsNotFoundError(), testGetChildWithExistingNameOfOtherObjectTypeThrowsNotFoundError(), testGetChildWithExistingNonDavableNameThrowsNotFoundError(), testGetChildWithNonExistentNameOfFolderOrFileThrowsNotFoundError(), testSetNameWithNonDavableNameThrowsForbiddenError(), and testSetNameWithoutPermissionsThrowsForbiddenError().
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileReturnsTrue | ( | ) |
Definition at line 224 of file class.ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileWhenOtherObjectOfSameNameExistsReturnsTrue | ( | ) |
Definition at line 246 of file class.ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileWithoutAccessReturnsFalse | ( | ) |
Definition at line 276 of file class.ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfOtherObjectTypeReturnsFalse | ( | ) |
Definition at line 311 of file class.ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNonDavableNameReturnsFalse | ( | ) |
Definition at line 261 of file class.ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithNonExistentNameOfFolderOrFileReturnsFalse | ( | ) |
Definition at line 298 of file class.ilDAVContainerTest.php.
References $name, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateDirectoryWithNonDavableNameThrowsForbiddenError | ( | ) |
Definition at line 394 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateDirectoryWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 380 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateFileWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 366 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testDeleteWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 412 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildrenFromFolderWithOnlyNonDavableNamedContentReturnsEmptyArray | ( | ) |
Definition at line 211 of file class.ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfFolderOrFileReturnsIlObject | ( | ) |
Definition at line 47 of file class.ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfFolderOrFileWithoutAccessThrowsNotFoundError | ( | ) |
Definition at line 94 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfOtherObjectTypeThrowsNotFoundError | ( | ) |
Definition at line 138 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNonDavableNameThrowsNotFoundError | ( | ) |
Definition at line 73 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithNonExistentNameOfFolderOrFileThrowsNotFoundError | ( | ) |
Definition at line 121 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, $name, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayOfObjects | ( | ) |
Definition at line 165 of file class.ilDAVContainerTest.php.
References $ref_id, and getChildrenTest().
ilDAVContainerTest::testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayWithProblemInfoFile | ( | ) |
Definition at line 179 of file class.ilDAVContainerTest.php.
References $ref_id, and getChildrenTest().
ilDAVContainerTest::testGetNameGetsObjectTitle | ( | ) |
Definition at line 32 of file class.ilDAVContainerTest.php.
ilDAVContainerTest::testSetNameWithNonDavableNameThrowsForbiddenError | ( | ) |
Definition at line 348 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testSetNameWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 334 of file class.ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().