Drupal 8  8.0.2
FormCacheTest Class Reference
Inheritance diagram for FormCacheTest:

Public Member Functions

 testGetCacheValidToken ()
 
 testGetCacheInvalidToken ()
 
 testGetCacheAnonUser ()
 
 testGetCacheAuthUser ()
 
 testGetCacheNoForm ()
 
 testGetCacheImmutableForm ()
 
 testLoadCachedFormState ()
 
 testLoadCachedFormStateWithFiles ()
 
 testSetCacheWithForm ()
 
 testSetCacheWithoutForm ()
 
 testSetCacheAuthUser ()
 
 testSetCacheBuildIdMismatch ()
 
 testDeleteCache ()
 
- Public Member Functions inherited from UnitTestCase
 randomMachineName ($length=8)
 
 getConfigFactoryStub (array $configs=array())
 
 getConfigStorageStub (array $configs)
 
 getStringTranslationStub ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from UnitTestCase
 setUp ()
 
 getRandomGenerator ()
 
 assertArrayEquals (array $expected, array $actual, $message=NULL)
 
 getBlockMockWithMachineName ($machine_name)
 
 getContainerWithCacheTagsInvalidator (CacheTagsInvalidatorInterface $cache_tags_validator)
 
 getClassResolverStub ()
 

Protected Attributes

 $formCache
 
 $keyValueExpirableFactory
 
 $account
 
 $csrfToken
 
 $moduleHandler
 
 $formCacheStore
 
 $formStateCacheStore
 
 $logger
 
 $requestStack
 
 $requestPolicy
 
 $runTestInSeparateProcess = TRUE
 
 $preserveGlobalState = FALSE
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

Form

Member Function Documentation

setUp ( )
protected

{}

References Drupal\csrfToken(), Drupal\logger(), Drupal\moduleHandler(), Drupal\requestStack(), and Drupal\root().

Here is the call graph for this function:

testDeleteCache ( )

::deleteCache

testGetCacheAnonUser ( )

::getCache

References Drupal\csrfToken().

Here is the call graph for this function:

testGetCacheAuthUser ( )

::getCache

testGetCacheImmutableForm ( )

::getCache

testGetCacheInvalidToken ( )

::getCache

References Drupal\csrfToken().

Here is the call graph for this function:

testGetCacheNoForm ( )

::getCache

testGetCacheValidToken ( )

::getCache

References Drupal\csrfToken().

Here is the call graph for this function:

testLoadCachedFormState ( )

::loadCachedFormState

testLoadCachedFormStateWithFiles ( )

::loadCachedFormState

References Drupal\moduleHandler().

Here is the call graph for this function:

testSetCacheAuthUser ( )

::setCache

References Drupal\csrfToken().

Here is the call graph for this function:

testSetCacheBuildIdMismatch ( )

::setCache

References Drupal\logger().

Here is the call graph for this function:

testSetCacheWithForm ( )

::setCache

testSetCacheWithoutForm ( )

::setCache

Field Documentation

$preserveGlobalState = FALSE
protected

{}

$runTestInSeparateProcess = TRUE
protected

{}


The documentation for this class was generated from the following file: