ILIAS
trunk Revision v11.0_alpha-1811-gd2d5443e411
|
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 245 of file ilDAVContainerTest.php.
References getDAVContainerWithExpectationForFunctions().
Referenced by testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayOfObjects(), and testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayWithProblemInfoFile().
|
protected |
Definition at line 486 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 72 of file ilDAVContainerTest.php.
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileReturnsTrue | ( | ) |
Definition at line 279 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileWhenOtherObjectOfSameNameExistsReturnsTrue | ( | ) |
Definition at line 301 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfFolderOrFileWithoutAccessReturnsFalse | ( | ) |
Definition at line 331 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNameOfOtherObjectTypeReturnsFalse | ( | ) |
Definition at line 366 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithExistingNonDavableNameReturnsFalse | ( | ) |
Definition at line 316 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testChildExistsWithNonExistentNameOfFolderOrFileReturnsFalse | ( | ) |
Definition at line 353 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateDirectoryWithNonDavableNameThrowsForbiddenError | ( | ) |
disabled
Definition at line 453 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateDirectoryWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 435 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testCreateFileWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 421 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testDeleteWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 472 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildrenFromFolderWithOnlyNonDavableNamedContentReturnsEmptyArray | ( | ) |
Definition at line 266 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfFolderOrFileReturnsIlObject | ( | ) |
Definition at line 96 of file ilDAVContainerTest.php.
References $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfFolderOrFileWithoutAccessThrowsNotFoundError | ( | ) |
Definition at line 143 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNameOfOtherObjectTypeThrowsNotFoundError | ( | ) |
Definition at line 187 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithExistingNonDavableNameThrowsNotFoundError | ( | ) |
Definition at line 122 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChildWithNonExistentNameOfFolderOrFileThrowsNotFoundError | ( | ) |
Definition at line 170 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayOfObjects | ( | ) |
Definition at line 214 of file ilDAVContainerTest.php.
References $ref_id, and getChildrenTest().
ilDAVContainerTest::testGetChilrendWithExistingNameOfFolderOrFileReturnsArrayWithProblemInfoFile | ( | ) |
Definition at line 228 of file ilDAVContainerTest.php.
References $ref_id, and getChildrenTest().
ilDAVContainerTest::testGetNameGetsObjectTitle | ( | ) |
Definition at line 81 of file ilDAVContainerTest.php.
ilDAVContainerTest::testSetNameWithNonDavableNameThrowsForbiddenError | ( | ) |
Definition at line 403 of file ilDAVContainerTest.php.
References Vendor\Package\$e, $ref_id, and getDAVContainerWithExpectationForFunctions().
ilDAVContainerTest::testSetNameWithoutPermissionsThrowsForbiddenError | ( | ) |
Definition at line 389 of file ilDAVContainerTest.php.
References Vendor\Package\$e, and getDAVContainerWithExpectationForFunctions().
Definition at line 40 of file ilDAVContainerTest.php.
Referenced by tearDown().