Drupal 8  8.0.2
SharedTempStoreTest Class Reference
Inheritance diagram for SharedTempStoreTest:

Public Member Functions

 testGet ()
 
 testGetIfOwner ()
 
 testSetWithNoLockAvailable ()
 
 testSet ()
 
 testSetIfNotExists ()
 
 testSetIfOwnerWhenNotExists ()
 
 testSetIfOwnerNoObject ()
 
 testSetIfOwner ()
 
 testGetMetadata ()
 
 testDelete ()
 
 testDeleteWithNoLockAvailable ()
 
 testDeleteIfOwner ()
 
- 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
 
 $owner = 1
 
 $requestStack
 
 $ownObject
 
 $otherObject
 
- Protected Attributes inherited from UnitTestCase
 $randomGenerator
 
 $root
 

Detailed Description

user

Member Function Documentation

setUp ( )
protected

{}

References 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:

testDeleteIfOwner ( )

Tests the deleteIfOwner() method.

::deleteIfOwner

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 ( )

::get

References Drupal\keyValue().

Here is the call graph for this function:

testGetIfOwner ( )

Tests the getIfOwner() method.

::getIfOwner

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:

testSetIfNotExists ( )

Tests the setIfNotExists() methods.

::setIfNotExists

References Drupal\keyValue().

Here is the call graph for this function:

testSetIfOwner ( )

Tests the setIfOwner() method with matching and non matching owners.

::setIfOwner

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

Here is the call graph for this function:

testSetIfOwnerNoObject ( )

Tests the setIfOwner() method when a key already exists but no object.

::setIfOwner

References Drupal\keyValue().

Here is the call graph for this function:

testSetIfOwnerWhenNotExists ( )

Tests the setIfOwner() method when no key exists.

::setIfOwner

References Drupal\keyValue().

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: