TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
EnableFieldsTest Class Reference
Inheritance diagram for EnableFieldsTest:
AbstractDataHandlerActionTestCase FunctionalTestCase BaseTestCase

Public Member Functions

 protectedRecordsNotFoundIfNoUserLoggedIn ()
 
 onlyReturnProtectedRecordsForTheFirstUserGroup ()
 
 onlyReturnProtectedRecordsForTheSecondUserGroup ()
 
 onlyOwnProtectedRecordsWithQueryCacheInvolvedAreReturned ()
 

Public Attributes

const TABLE_Blog = 'tx_blogexample_domain_model_blog'
 
- Public Attributes inherited from AbstractDataHandlerActionTestCase
const VALUE_BackendUserId = 1
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from AbstractDataHandlerActionTestCase
 setUp ()
 
 tearDown ()
 
 getActionService ()
 
 importScenarioDataSet ($dataSetName)
 
 assertAssertionDataSet ($dataSetName)
 
 assertInRecords (array $assertion, array $records)
 
 assertErrorLogEntries ()
 
 getAllRecords ($tableName, $hasUidField=false)
 
 arrayToString (array $array)
 
 renderRecords (array $assertion, array $record)
 
 getDifferentFields (array $assertion, array $record)
 
 getRequestSectionHasRecordConstraint ()
 
 getRequestSectionDoesNotHaveRecordConstraint ()
 
 getRequestSectionStructureHasRecordConstraint ()
 
 getRequestSectionStructureDoesNotHaveRecordConstraint ()
 
- Protected Member Functions inherited from FunctionalTestCase
 setUp ()
 
 getDatabaseConnection ()
 
 getConnectionPool ()
 
 importDataSet ($path)
 
 setUpFrontendRootPage ($pageId, array $typoScriptFiles=[])
 
 getFrontendResponse ($pageId, $languageId=0, $backendUserId=0, $workspaceId=0, $failOnFailure=true, $frontendUserId=0)
 
- Protected Member Functions inherited from 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,...$arguments)
 
 inject ($target, $name, $dependency)
 
 getUniqueId ($prefix= '')
 

Protected Attributes

 $testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']
 
 $coreExtensionsToLoad = ['sv', 'extbase', 'fluid']
 
- Protected Attributes inherited from AbstractDataHandlerActionTestCase
 $scenarioDataSetDirectory
 
 $assertionDataSetDirectory
 
 $expectedErrorLogEntries = 0
 
 $testExtensionsToLoad
 
 $pathsToLinkInTestInstance
 
 $recordIds = []
 
 $actionService
 
 $backendUser
 
- Protected Attributes inherited from FunctionalTestCase
 $identifier
 
 $instancePath
 
 $coreExtensionsToLoad = []
 
 $testExtensionsToLoad = []
 
 $pathsToLinkInTestInstance = []
 
 $configurationToUseInTestInstance = []
 
 $additionalFoldersToCreate = []
 
 $backendUserFixture = 'typo3/sysext/core/Tests/Functional/Fixtures/be_users.xml'
 
- Protected Attributes inherited from BaseTestCase
 $backupGlobals = true
 
 $backupStaticAttributes = false
 

Detailed Description

Enable fields test

Definition at line 22 of file EnableFieldsTest.php.

Member Function Documentation

onlyOwnProtectedRecordsWithQueryCacheInvolvedAreReturned ( )
onlyReturnProtectedRecordsForTheFirstUserGroup ( )
onlyReturnProtectedRecordsForTheSecondUserGroup ( )
protectedRecordsNotFoundIfNoUserLoggedIn ( )
setUp ( )
protected

Sets up this test suite.

Definition at line 39 of file EnableFieldsTest.php.

References FunctionalTestCase\importDataSet(), and FunctionalTestCase\setUpFrontendRootPage().

Member Data Documentation

$coreExtensionsToLoad = ['sv', 'extbase', 'fluid']
protected

Definition at line 34 of file EnableFieldsTest.php.

$testExtensionsToLoad = ['typo3/sysext/extbase/Tests/Functional/Fixtures/Extensions/blog_example']
protected

Definition at line 29 of file EnableFieldsTest.php.

const TABLE_Blog = 'tx_blogexample_domain_model_blog'

Definition at line 24 of file EnableFieldsTest.php.