Drupal 8  8.0.2
PrivateTempStoreTest Class Reference
Inheritance diagram for PrivateTempStoreTest:

Public Member Functions

 testGet ()
 
 testSetWithNoLockAvailable ()
 
 testSet ()
 
 testGetMetadata ()
 
 testDeleteLocking ()
 
 testDeleteWithNoLockAvailable ()
 
 testDelete ()
 
- 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

 $keyValue
 
 $lock
 
 $tempStore
 
 $currentUser
 
 $requestStack
 
 $ownObject
 
 $otherObject
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

user

Member Function Documentation

setUp ( )
protected

{}

References Drupal\currentUser(), Drupal\keyValue(), Drupal\lock(), and Drupal\requestStack().

Here is the call graph for this function:

testDelete ( )

Tests the delete() method.

::delete

References Drupal\keyValue(), and Drupal\lock().

Here is the call graph for this function:

testDeleteLocking ( )

Tests the locking in the delete() method.

::delete

References Drupal\keyValue(), and Drupal\lock().

Here is the call graph for this function:

testDeleteWithNoLockAvailable ( )

Tests the delete() method with no lock available.

::delete

References Drupal\keyValue(), and Drupal\lock().

Here is the call graph for this function:

testGet ( )

Tests the get() method.

::get

References Drupal\keyValue().

Here is the call graph for this function:

testGetMetadata ( )

Tests the getMetadata() method.

::getMetadata

References Drupal\keyValue().

Here is the call graph for this function:

testSet ( )

Tests a successful set() call.

::set

References Drupal\keyValue(), and Drupal\lock().

Here is the call graph for this function:

testSetWithNoLockAvailable ( )

Tests the set() method with no lock available.

::set

References Drupal\keyValue(), and Drupal\lock().

Here is the call graph for this function:


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