TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspacesServiceTest Class Reference
Inheritance diagram for TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspacesServiceTest:
TYPO3\CMS\Core\Tests\FunctionalTestCase TYPO3\CMS\Core\Tests\BaseTestCase

Public Member Functions

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

Protected Attributes

 $coreExtensionsToLoad = array('version', 'workspaces')
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 $coreExtensionsToLoad = array()
 
 $testExtensionsToLoad = array()
 
 $pathsToLinkInTestInstance = array()
 
 $configurationToUseInTestInstance = array()
 
 $additionalFoldersToCreate = array()
 
- Protected Attributes inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 $backupGlobals = TRUE
 
 $backupStaticAttributes = FALSE
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\FunctionalTestCase
 getInstanceIdentifier ()
 
 getInstancePath ()
 
 getDatabaseConnection ()
 
 setUpFrontendRootPage ($pageId, array $typoScriptFiles=array())
 
 getFrontendResponse ($pageId, $languageId=0, $backendUserId=0, $workspaceId=0, $failOnFailure=TRUE)
 
- Protected Member Functions inherited from TYPO3\CMS\Core\Tests\BaseTestCase
 getAccessibleMock ( $originalClassName, array $methods=array(), array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 getAccessibleMockForAbstractClass ( $originalClassName, array $arguments=array(), $mockClassName='', $callOriginalConstructor=TRUE, $callOriginalClone=TRUE, $callAutoload=TRUE)
 
 buildAccessibleProxy ($className)
 
 callInaccessibleMethod ($object, $name)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix='')
 

Detailed Description

Workspace service test

Author
Workspaces Team (http://forge.typo3.org/projects/show/typo3v4-workspaces)

Definition at line 24 of file WorkspaceServiceTest.php.

Member Function Documentation

◆ emptyWorkspaceReturnsEmptyArray()

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

Definition at line 41 of file WorkspaceServiceTest.php.

References $result.

◆ movedElementsCanBeFoundAtTheirDestination()

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

Definition at line 146 of file WorkspaceServiceTest.php.

References $result.

◆ movedElementsCanBeFoundUsingTheirLiveUid()

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

Definition at line 164 of file WorkspaceServiceTest.php.

References $result.

◆ movedElementsCanNotBeFoundAtTheirOrigin()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspacesServiceTest::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 133 of file WorkspaceServiceTest.php.

References $result.

◆ setUp()

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspacesServiceTest::setUp ( )

Set up

Definition at line 31 of file WorkspaceServiceTest.php.

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

◆ versionsCanBeFilteredToSpecificLifecycleStep()

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

Definition at line 111 of file WorkspaceServiceTest.php.

References $result.

◆ versionsCanBeFilteredToSpecificStage()

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

Definition at line 90 of file WorkspaceServiceTest.php.

References $result.

◆ versionsCanBeFoundRecursive()

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

Definition at line 78 of file WorkspaceServiceTest.php.

References $result.

◆ versionsFromAllWorkspaceCanBeFound()

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

Definition at line 66 of file WorkspaceServiceTest.php.

References $result.

◆ versionsFromSpecificWorkspaceCanBeFound()

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

Definition at line 52 of file WorkspaceServiceTest.php.

References $result.

Member Data Documentation

◆ $coreExtensionsToLoad

TYPO3\CMS\Workspaces\Tests\Functional\Service\WorkspacesServiceTest::$coreExtensionsToLoad = array('version', 'workspaces')
protected

Definition at line 26 of file WorkspaceServiceTest.php.