‪TYPO3CMS  ‪main
TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest:

Public Member Functions

 emptyWorkspaceReturnsEmptyArray ()
 
 versionsFromSpecificWorkspaceCanBeFound ()
 
 versionsCanBeFoundRecursive ()
 
 versionsCanBeFilteredToSpecificStage ()
 
 movedElementsCanBeFoundAtTheirDestination ()
 
 movedElementsCanBeFoundUsingTheirLiveUid ()
 
 getPagesWithVersionsInTableReturnsPagesWithVersionsInTable ()
 
 hasPageRecordVersionsReturnsTrueForPageWithVersions ()
 
 hasPageRecordVersionsReturnsFalseForPageWithoutVersions ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

array $coreExtensionsToLoad = ['workspaces']
 

Detailed Description

Workspace service test

Definition at line 28 of file WorkspaceServiceTest.php.

Member Function Documentation

◆ emptyWorkspaceReturnsEmptyArray()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::emptyWorkspaceReturnsEmptyArray ( )

Definition at line 42 of file WorkspaceServiceTest.php.

◆ getPagesWithVersionsInTableReturnsPagesWithVersionsInTable()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::getPagesWithVersionsInTableReturnsPagesWithVersionsInTable ( )

Definition at line 137 of file WorkspaceServiceTest.php.

◆ hasPageRecordVersionsReturnsFalseForPageWithoutVersions()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::hasPageRecordVersionsReturnsFalseForPageWithoutVersions ( )

Definition at line 166 of file WorkspaceServiceTest.php.

◆ hasPageRecordVersionsReturnsTrueForPageWithVersions()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::hasPageRecordVersionsReturnsTrueForPageWithVersions ( )

Definition at line 157 of file WorkspaceServiceTest.php.

◆ movedElementsCanBeFoundAtTheirDestination()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::movedElementsCanBeFoundAtTheirDestination ( )

Definition at line 108 of file WorkspaceServiceTest.php.

◆ movedElementsCanBeFoundUsingTheirLiveUid()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::movedElementsCanBeFoundUsingTheirLiveUid ( )

Definition at line 125 of file WorkspaceServiceTest.php.

◆ setUp()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::setUp ( )
protected

Definition at line 32 of file WorkspaceServiceTest.php.

References $GLOBALS.

◆ versionsCanBeFilteredToSpecificStage()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::versionsCanBeFilteredToSpecificStage ( )

Definition at line 81 of file WorkspaceServiceTest.php.

◆ versionsCanBeFoundRecursive()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::versionsCanBeFoundRecursive ( )

Definition at line 67 of file WorkspaceServiceTest.php.

◆ versionsFromSpecificWorkspaceCanBeFound()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::versionsFromSpecificWorkspaceCanBeFound ( )

Definition at line 51 of file WorkspaceServiceTest.php.

Member Data Documentation

◆ $coreExtensionsToLoad

array TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::$coreExtensionsToLoad = ['workspaces']
protected

Definition at line 30 of file WorkspaceServiceTest.php.