Drupal 8  8.0.2
BlockStorageUnitTest Class Reference
Inheritance diagram for BlockStorageUnitTest:

Public Member Functions

 testBlockCRUD ()
 
 testDefaultBlocks ()
 

Static Public Attributes

static $modules = array('block', 'block_test')
 

Protected Member Functions

 setUp ()
 
 createTests ()
 
 loadTests ()
 
 deleteTests ()
 

Protected Attributes

 $controller
 

Detailed Description

Tests the storage of blocks.

block

Member Function Documentation

createTests ( )
protected

Tests the creation of blocks.

References BlockInterface\BLOCK_LABEL_VISIBLE, Drupal\config(), and Drupal\languageManager().

Referenced by BlockStorageUnitTest\testBlockCRUD().

Here is the call graph for this function:

Here is the caller graph for this function:

deleteTests ( )
protected

Tests the deleting of blocks.

Referenced by BlockStorageUnitTest\testBlockCRUD().

Here is the caller graph for this function:

loadTests ( )
protected

Tests the loading of blocks.

Referenced by BlockStorageUnitTest\testBlockCRUD().

Here is the caller graph for this function:

testBlockCRUD ( )

Tests CRUD operations.

References BlockStorageUnitTest\createTests(), BlockStorageUnitTest\deleteTests(), and BlockStorageUnitTest\loadTests().

Here is the call graph for this function:

testDefaultBlocks ( )

Tests the installation of default blocks.

References Drupal\service().

Here is the call graph for this function:


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