Drupal 8  8.0.2
ViewStorageTest Class Reference
Inheritance diagram for ViewStorageTest:

Public Member Functions

 testConfigurationEntityCRUD ()
 
 testCreateDuplicate ()
 

Static Public Attributes

static $testViews = array('test_view_storage')
 
- Static Public Attributes inherited from ViewKernelTestBase
static $modules = array('system', 'views', 'views_test_config', 'views_test_data', 'user')
 

Protected Member Functions

 loadTests ()
 
 createTests ()
 
 displayTests ()
 
 displayMethodTests ()
 
- Protected Member Functions inherited from ViewKernelTestBase
 setUp ($import_test_views=TRUE)
 
 setUpFixtures ()
 
 orderResultSet ($result_set, $column, $reverse=FALSE)
 
 executeView ($view, array $args=array())
 
 schemaDefinition ()
 
 viewsData ()
 
 dataSet ()
 

Protected Attributes

 $configProperties
 
 $entityType
 
 $controller
 

Detailed Description

Tests the CRUD functionality for a view.

views

See Also

Member Function Documentation

createTests ( )
protected

Tests creating configuration entities.

References Drupal\config(), and format_string().

Referenced by ViewStorageTest\testConfigurationEntityCRUD().

Here is the call graph for this function:

Here is the caller graph for this function:

displayMethodTests ( )
protected

Tests the display related functions like getDisplaysList().

References format_string().

Referenced by ViewStorageTest\testConfigurationEntityCRUD().

Here is the call graph for this function:

Here is the caller graph for this function:

displayTests ( )
protected

Tests adding, saving, and loading displays on configuration entities.

References Drupal\config().

Referenced by ViewStorageTest\testConfigurationEntityCRUD().

Here is the call graph for this function:

Here is the caller graph for this function:

loadTests ( )
protected

Tests loading configuration entities.

References Drupal\config(), format_string(), and Views\getView().

Referenced by ViewStorageTest\testConfigurationEntityCRUD().

Here is the call graph for this function:

Here is the caller graph for this function:

testConfigurationEntityCRUD ( )

Tests CRUD operations.

References ViewStorageTest\createTests(), ViewStorageTest\displayMethodTests(), ViewStorageTest\displayTests(), Drupal\entityManager(), and ViewStorageTest\loadTests().

Here is the call graph for this function:

testCreateDuplicate ( )

Tests the createDuplicate() View method.

References format_string(), and Views\getView().

Here is the call graph for this function:

Field Documentation

$configProperties
protected
Initial value:
= array(
'status',
'module',
'id',
'description',
'tag',
'base_table',
'label',
'core',
'display',
)

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