TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest:
TYPO3\CMS\Core\Tests\FunctionalTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

 emptyWorkspaceReturnsEmptyArray ()
 
 versionsFromSpecificWorkspaceCanBeFound ()
 
 versionsFromAllWorkspaceCanBeFound ()
 
 versionsCanBeFoundRecursive ()
 
 versionsCanBeFilteredToSpecificStage ()
 
 versionsCanBeFilteredToSpecificLifecycleStep ()
 
 movedElementsCanNotBeFoundAtTheirOrigin ()
 
 movedElementsCanBeFoundAtTheirDestination ()
 
 movedElementsCanBeFoundUsingTheirLiveUid ()
 
- Public Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 importCSVDataSet ($path)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 getInstanceIdentifier ()
 
 getInstancePath ()
 
 setUp ()
 
 getDatabaseConnection ()
 
 assertCSVDataSet ($path)
 
 assertInRecords (array $expectedRecord, array $actualRecords)
 
 getAllRecords ($tableName, $hasUidField=false)
 
 arrayToString (array $array)
 
 renderRecords (array $assertion, array $record)
 
 getDifferentFields (array $assertion, array $record)
 
 setUpFrontendRootPage ($pageId, array $typoScriptFiles=[])
 
 addTypoScriptToTemplateRecord ($pageId, $typoScript)
 
 getFrontendResponse ($pageId, $languageId=0, $backendUserId=0, $workspaceId=0, $failOnFailure=true, $frontendUserId=0)
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, $methods=[], array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=[], $mockClassName='', $callOriginalConstructor=true, $callOriginalClone=true, $callAutoload=true, $mockedMethods=[])
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Protected Attributes

 $coreExtensionsToLoad = ['version', 'workspaces']
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 $coreExtensionsToLoad = []
 
 $testExtensionsToLoad = []
 
 $pathsToLinkInTestInstance = []
 
 $configurationToUseInTestInstance = []
 
 $additionalFoldersToCreate = []
 
 $backendUserFixture = 'typo3/sysext/core/Tests/Functional/Fixtures/be_users.xml'
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Workspace service test

Definition at line 20 of file WorkspaceServiceTest.php.

Member Function Documentation

◆ emptyWorkspaceReturnsEmptyArray()

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

Definition at line 38 of file WorkspaceServiceTest.php.

◆ movedElementsCanBeFoundAtTheirDestination()

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

Definition at line 150 of file WorkspaceServiceTest.php.

◆ movedElementsCanBeFoundUsingTheirLiveUid()

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

Definition at line 169 of file WorkspaceServiceTest.php.

◆ movedElementsCanNotBeFoundAtTheirOrigin()

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

The only change which we could find here actually moved away from this branch of the tree - therefore we're not supposed to find anything here

Test:

Definition at line 136 of file WorkspaceServiceTest.php.

◆ setUp()

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

Set up

Definition at line 27 of file WorkspaceServiceTest.php.

References TYPO3\CMS\Core\Core\Bootstrap\getInstance().

◆ versionsCanBeFilteredToSpecificLifecycleStep()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::versionsCanBeFilteredToSpecificLifecycleStep ( )
Test:

Definition at line 113 of file WorkspaceServiceTest.php.

◆ versionsCanBeFilteredToSpecificStage()

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

Definition at line 91 of file WorkspaceServiceTest.php.

◆ versionsCanBeFoundRecursive()

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

Definition at line 78 of file WorkspaceServiceTest.php.

◆ versionsFromAllWorkspaceCanBeFound()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspaceServiceTest::versionsFromAllWorkspaceCanBeFound ( )
Test:

Definition at line 65 of file WorkspaceServiceTest.php.

◆ versionsFromSpecificWorkspaceCanBeFound()

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

Definition at line 50 of file WorkspaceServiceTest.php.

Member Data Documentation

◆ $coreExtensionsToLoad

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

Definition at line 22 of file WorkspaceServiceTest.php.