‪TYPO3CMS  ‪main
TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest Class Reference
Inheritance diagram for TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest:
TYPO3\CMS\Install\Tests\Unit\FolderStructure\AbstractFolderStructureTestCase

Public Member Functions

 constructorThrowsExceptionIfParentIsNull ()
 
 constructorThrowsExceptionIfNameContainsForwardSlash ()
 
 constructorCallsCreateChildrenIfChildrenAreSet ()
 
 constructorSetsParent ()
 
 constructorSetsTargetPermission ()
 
 constructorSetsName ()
 
 getStatusReturnsArray ()
 
 getStatusReturnsArrayWithWarningStatusIfDirectoryNotExists ()
 
 getStatusReturnsArrayWithErrorStatusIfNodeIsNotADirectory ()
 
 getStatusReturnsArrayWithErrorStatusIfDirectoryExistsButIsNotWritable ()
 
 getStatusReturnsArrayWithNoticeStatusIfDirectoryExistsButPermissionAreNotCorrect ()
 
 getStatusReturnsArrayWithOkStatusIfDirectoryExistsAndPermissionAreCorrect ()
 
 getStatusCallsGetStatusOnChildren ()
 
 getStatusReturnsArrayWithOwnStatusAndStatusOfChild ()
 
 fixCallsFixSelfAndReturnsItsResult ()
 
 fixCallsFixOnChildrenAndReturnsMergedResult ()
 
 fixSelfCallsCreateDirectoryIfDirectoryDoesNotExistAndReturnsResult ()
 
 fixSelfReturnsErrorStatusIfNodeExistsButIsNotADirectoryAndReturnsResult ()
 
 fixSelfCallsFixPermissionIfDirectoryExistsButIsNotWritable ()
 
 createDirectoryThrowsExceptionIfNodeExists ()
 
 createDirectoryCreatesDirectory ()
 
 createDirectoryReturnsOkStatusIfDirectoryWasCreated ()
 
 createChildrenThrowsExceptionIfAChildTypeIsNotSet ()
 
 createChildrenThrowsExceptionIfAChildNameIsNotSet ()
 
 createChildrenThrowsExceptionForMultipleChildrenWithSameName ()
 
 getChildrenReturnsCreatedChild ()
 
 isWritableReturnsFalseIfNodeDoesNotExist ()
 
 isWritableReturnsTrueIfNodeExistsAndFileCanBeCreated ()
 
 isDirectoryReturnsTrueIfNameIsADirectory ()
 
 isDirectoryReturnsFalseIfNameIsALinkToADirectory ()
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Install\Tests\Unit\FolderStructure\AbstractFolderStructureTestCase
 getTestDirectory ($prefix='root_')
 
non empty string getTestFilePath ($prefix='file_')
 

Detailed Description

Definition at line 32 of file DirectoryNodeTest.php.

Member Function Documentation

◆ constructorCallsCreateChildrenIfChildrenAreSet()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::constructorCallsCreateChildrenIfChildrenAreSet ( )

Definition at line 55 of file DirectoryNodeTest.php.

◆ constructorSetsName()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::constructorSetsName ( )

◆ constructorSetsParent()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::constructorSetsParent ( )

Definition at line 74 of file DirectoryNodeTest.php.

◆ constructorSetsTargetPermission()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::constructorSetsTargetPermission ( )

Definition at line 86 of file DirectoryNodeTest.php.

◆ constructorThrowsExceptionIfNameContainsForwardSlash()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::constructorThrowsExceptionIfNameContainsForwardSlash ( )

Definition at line 43 of file DirectoryNodeTest.php.

◆ constructorThrowsExceptionIfParentIsNull()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::constructorThrowsExceptionIfParentIsNull ( )

Definition at line 35 of file DirectoryNodeTest.php.

◆ createChildrenThrowsExceptionForMultipleChildrenWithSameName()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::createChildrenThrowsExceptionForMultipleChildrenWithSameName ( )

Definition at line 432 of file DirectoryNodeTest.php.

◆ createChildrenThrowsExceptionIfAChildNameIsNotSet()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::createChildrenThrowsExceptionIfAChildNameIsNotSet ( )

Definition at line 418 of file DirectoryNodeTest.php.

◆ createChildrenThrowsExceptionIfAChildTypeIsNotSet()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::createChildrenThrowsExceptionIfAChildTypeIsNotSet ( )

Definition at line 404 of file DirectoryNodeTest.php.

◆ createDirectoryCreatesDirectory()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::createDirectoryCreatesDirectory ( )

◆ createDirectoryReturnsOkStatusIfDirectoryWasCreated()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::createDirectoryReturnsOkStatusIfDirectoryWasCreated ( )

◆ createDirectoryThrowsExceptionIfNodeExists()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::createDirectoryThrowsExceptionIfNodeExists ( )

Definition at line 370 of file DirectoryNodeTest.php.

◆ fixCallsFixOnChildrenAndReturnsMergedResult()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::fixCallsFixOnChildrenAndReturnsMergedResult ( )

◆ fixCallsFixSelfAndReturnsItsResult()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::fixCallsFixSelfAndReturnsItsResult ( )

◆ fixSelfCallsCreateDirectoryIfDirectoryDoesNotExistAndReturnsResult()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::fixSelfCallsCreateDirectoryIfDirectoryDoesNotExistAndReturnsResult ( )

Definition at line 317 of file DirectoryNodeTest.php.

◆ fixSelfCallsFixPermissionIfDirectoryExistsButIsNotWritable()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::fixSelfCallsFixPermissionIfDirectoryExistsButIsNotWritable ( )

Definition at line 353 of file DirectoryNodeTest.php.

◆ fixSelfReturnsErrorStatusIfNodeExistsButIsNotADirectoryAndReturnsResult()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::fixSelfReturnsErrorStatusIfNodeExistsButIsNotADirectoryAndReturnsResult ( )

Definition at line 334 of file DirectoryNodeTest.php.

◆ getChildrenReturnsCreatedChild()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getChildrenReturnsCreatedChild ( )

◆ getStatusCallsGetStatusOnChildren()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusCallsGetStatusOnChildren ( )

Definition at line 238 of file DirectoryNodeTest.php.

◆ getStatusReturnsArray()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusReturnsArray ( )

◆ getStatusReturnsArrayWithErrorStatusIfDirectoryExistsButIsNotWritable()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusReturnsArrayWithErrorStatusIfDirectoryExistsButIsNotWritable ( )

◆ getStatusReturnsArrayWithErrorStatusIfNodeIsNotADirectory()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusReturnsArrayWithErrorStatusIfNodeIsNotADirectory ( )

◆ getStatusReturnsArrayWithNoticeStatusIfDirectoryExistsButPermissionAreNotCorrect()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusReturnsArrayWithNoticeStatusIfDirectoryExistsButPermissionAreNotCorrect ( )

◆ getStatusReturnsArrayWithOkStatusIfDirectoryExistsAndPermissionAreCorrect()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusReturnsArrayWithOkStatusIfDirectoryExistsAndPermissionAreCorrect ( )

◆ getStatusReturnsArrayWithOwnStatusAndStatusOfChild()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusReturnsArrayWithOwnStatusAndStatusOfChild ( )

Definition at line 260 of file DirectoryNodeTest.php.

◆ getStatusReturnsArrayWithWarningStatusIfDirectoryNotExists()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::getStatusReturnsArrayWithWarningStatusIfDirectoryNotExists ( )

◆ isDirectoryReturnsFalseIfNameIsALinkToADirectory()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::isDirectoryReturnsFalseIfNameIsALinkToADirectory ( )

◆ isDirectoryReturnsTrueIfNameIsADirectory()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::isDirectoryReturnsTrueIfNameIsADirectory ( )

◆ isWritableReturnsFalseIfNodeDoesNotExist()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::isWritableReturnsFalseIfNodeDoesNotExist ( )

◆ isWritableReturnsTrueIfNodeExistsAndFileCanBeCreated()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\DirectoryNodeTest::isWritableReturnsTrueIfNodeExistsAndFileCanBeCreated ( )