ILIAS
trunk Revision v11.0_alpha-2645-g16283d3b3f8
|
Protected Member Functions | |
tearDown () | |
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) | |
Protected Attributes | |
Container | $dic = null |
Definition at line 36 of file ilDAVContainerTest.php.
|
protected |
mixed[] | $additional_information |
Definition at line 246 of file ilDAVContainerTest.php.
References getDAVContainerWithExpectationForFunctions().
Referenced by testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayOfObjects(), and testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayWithProblemInfoFile().
|
protected |
Definition at line 485 of file ilDAVContainerTest.php.
References $ref_id, 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().
|
protected |
Definition at line 73 of file ilDAVContainerTest.php.
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileReturnsTrue | ( | ) |
Definition at line 280 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileWhenOtherObjectOfSameNameExistsReturnsTrue | ( | ) |
Definition at line 302 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileWithoutAccessReturnsFalse | ( | ) |
Definition at line 332 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfOtherObjectTypeReturnsFalse | ( | ) |
Definition at line 367 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNonDavableNameReturnsFalse | ( | ) |
Definition at line 317 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithNonExistentNameOfFolderOrFileReturnsFalse | ( | ) |
Definition at line 354 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateDirectoryWithNonDavableNameThrowsForbiddenError | ( | ) |
Definition at line 452 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateDirectoryWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 436 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateFileWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 422 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testDeleteWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 471 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildrenFromFolderWithOnlyNonDavableNamedContentReturnsEmptyArray | ( | ) |
Definition at line 267 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfFolderOrFileReturnsIlObject | ( | ) |
Definition at line 97 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfFolderOrFileWithoutAccessThrowsNotFoundError | ( | ) |
Definition at line 144 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfOtherObjectTypeThrowsNotFoundError | ( | ) |
Definition at line 188 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNonDavableNameThrowsNotFoundError | ( | ) |
Definition at line 123 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithNonExistentNameOfFolderOrFileThrowsNotFoundError | ( | ) |
Definition at line 171 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayOfObjects | ( | ) |
Definition at line 215 of file ilDAVContainerTest.php.
References $ref_id, and getChildrenTest().
ilDAVContainerTest::testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayWithProblemInfoFile | ( | ) |
Definition at line 229 of file ilDAVContainerTest.php.
References $ref_id, and getChildrenTest().
ilDAVContainerTest::testGetNameGetsObjectTitle | ( | ) |
Definition at line 82 of file ilDAVContainerTest.php.
ilDAVContainerTest::testSetNameWithNonDavableNameThrowsForbiddenError | ( | ) |
Definition at line 404 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testSetNameWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 390 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
Definition at line 40 of file ilDAVContainerTest.php.
Referenced by tearDown().