‪TYPO3CMS  10.4
TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest Class Reference
Inheritance diagram for TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest:

Public Member Functions

 constructorThrowsExceptionIfParentIsNull ()
 
 constructorThrowsExceptionIfNameContainsForwardSlash ()
 
 constructorSetsParent ()
 
 constructorSetsName ()
 
 constructorSetsNameAndTarget ()
 
 getStatusReturnsArray ()
 
 getStatusReturnsArrayWithInformationStatusIfRunningOnWindows ()
 
 getStatusReturnsArrayWithErrorStatusIfLinkNotExists ()
 
 getStatusReturnsArrayWithWarningStatusIfNodeIsNotALink ()
 
 getStatusReturnsErrorStatusIfLinkTargetIsNotCorrect ()
 
 getStatusReturnsOkStatusIfLinkExistsAndTargetIsCorrect ()
 
 fixReturnsEmptyArray ()
 
 isLinkThrowsExceptionIfLinkNotExists ()
 
 isLinkReturnsTrueIfNameIsLink ()
 
 isFileReturnsFalseIfNameIsAFile ()
 
 isTargetCorrectThrowsExceptionIfLinkNotExists ()
 
 isTargetCorrectThrowsExceptionIfNodeIsNotALink ()
 
 isTargetCorrectReturnsTrueIfNoExpectedLinkTargetIsSpecified ()
 
 isTargetCorrectAcceptsATargetWithATrailingSlash ()
 
 isTargetCorrectReturnsTrueIfActualTargetIsIdenticalToSpecifiedTarget ()
 
 isTargetCorrectReturnsFalseIfActualTargetIsNotIdenticalToSpecifiedTarget ()
 

Detailed Description

Test case

Definition at line 33 of file LinkNodeTest.php.

Member Function Documentation

◆ constructorSetsName()

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

◆ constructorSetsNameAndTarget()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::constructorSetsNameAndTarget ( )

◆ constructorSetsParent()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::constructorSetsParent ( )
Test:

Definition at line 66 of file LinkNodeTest.php.

◆ constructorThrowsExceptionIfNameContainsForwardSlash()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::constructorThrowsExceptionIfNameContainsForwardSlash ( )
Test:

Definition at line 50 of file LinkNodeTest.php.

◆ constructorThrowsExceptionIfParentIsNull()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::constructorThrowsExceptionIfParentIsNull ( )
Test:

Definition at line 38 of file LinkNodeTest.php.

◆ fixReturnsEmptyArray()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::fixReturnsEmptyArray ( )
Test:

Definition at line 234 of file LinkNodeTest.php.

◆ getStatusReturnsArray()

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

◆ getStatusReturnsArrayWithErrorStatusIfLinkNotExists()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::getStatusReturnsArrayWithErrorStatusIfLinkNotExists ( )

◆ getStatusReturnsArrayWithInformationStatusIfRunningOnWindows()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::getStatusReturnsArrayWithInformationStatusIfRunningOnWindows ( )

◆ getStatusReturnsArrayWithWarningStatusIfNodeIsNotALink()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::getStatusReturnsArrayWithWarningStatusIfNodeIsNotALink ( )

◆ getStatusReturnsErrorStatusIfLinkTargetIsNotCorrect()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::getStatusReturnsErrorStatusIfLinkTargetIsNotCorrect ( )

◆ getStatusReturnsOkStatusIfLinkExistsAndTargetIsCorrect()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::getStatusReturnsOkStatusIfLinkExistsAndTargetIsCorrect ( )
Test:

Definition at line 212 of file LinkNodeTest.php.

References TYPO3\CMS\Core\Messaging\AbstractMessage\OK.

◆ isFileReturnsFalseIfNameIsAFile()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isFileReturnsFalseIfNameIsAFile ( )

◆ isLinkReturnsTrueIfNameIsLink()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isLinkReturnsTrueIfNameIsLink ( )

◆ isLinkThrowsExceptionIfLinkNotExists()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isLinkThrowsExceptionIfLinkNotExists ( )
Test:

Definition at line 251 of file LinkNodeTest.php.

◆ isTargetCorrectAcceptsATargetWithATrailingSlash()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isTargetCorrectAcceptsATargetWithATrailingSlash ( )
Test:

Definition at line 337 of file LinkNodeTest.php.

◆ isTargetCorrectReturnsFalseIfActualTargetIsNotIdenticalToSpecifiedTarget()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isTargetCorrectReturnsFalseIfActualTargetIsNotIdenticalToSpecifiedTarget ( )

◆ isTargetCorrectReturnsTrueIfActualTargetIsIdenticalToSpecifiedTarget()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isTargetCorrectReturnsTrueIfActualTargetIsIdenticalToSpecifiedTarget ( )

◆ isTargetCorrectReturnsTrueIfNoExpectedLinkTargetIsSpecified()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isTargetCorrectReturnsTrueIfNoExpectedLinkTargetIsSpecified ( )
Test:

Definition at line 324 of file LinkNodeTest.php.

◆ isTargetCorrectThrowsExceptionIfLinkNotExists()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isTargetCorrectThrowsExceptionIfLinkNotExists ( )
Test:

Definition at line 297 of file LinkNodeTest.php.

◆ isTargetCorrectThrowsExceptionIfNodeIsNotALink()

TYPO3\CMS\Install\Tests\Unit\FolderStructure\LinkNodeTest::isTargetCorrectThrowsExceptionIfNodeIsNotALink ( )
Test:

Definition at line 310 of file LinkNodeTest.php.