Drupal 8  8.0.2
FieldFieldTest Class Reference
Inheritance diagram for FieldFieldTest:

Public Member Functions

 testSimpleExecute ()
 
 testSimpleRender ()
 
 testAttachedRender ()
 
 testFieldAlias ()
 
 testFieldAliasRender ()
 
 testComplexExecute ()
 
 testComplexRender ()
 
 testRevisionExecute ()
 
 testRevisionRender ()
 
 testRevisionComplexExecute ()
 
 testRevisionComplexRender ()
 
 testMissingBundleFieldRender ()
 

Static Public Attributes

static $modules = ['field', 'entity_test', 'user', 'views_test_formatter']
 
static $testViews = ['test_field_field_test', 'test_field_alias_test', 'test_field_field_complex_test', 'test_field_field_attachment_test', 'test_field_field_revision_test', 'test_field_field_revision_complex_test']
 
- Static Public Attributes inherited from ViewKernelTestBase
static $modules = array('system', 'views', 'views_test_config', 'views_test_data', 'user')
 

Protected Member Functions

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

 $entities
 
 $entityRevision
 
 $testUsers
 
 $adminUser
 

Detailed Description

Provides some integration tests for the Field handler.

See Also
views

Member Function Documentation

setUp ( )
protected

{}

References FieldStorageDefinitionInterface\CARDINALITY_UNLIMITED, Entity\create(), User\getAllowedTimezones(), Drupal\state(), and Views\viewsData().

Here is the call graph for this function:

testAttachedRender ( )

Tests that formatter's #attached assets are correctly preserved.

See Also
::viewElements()

References Views\getView().

Here is the call graph for this function:

testComplexExecute ( )

Tests the result of a view with complex field configuration.

A complex field configuration contains multiple times the same field, with different delta limit / offset.

References Views\getView().

Here is the call graph for this function:

testComplexRender ( )

Tests the output of a view with complex field configuration.

References Views\getView(), and Drupal\service().

Here is the call graph for this function:

testFieldAlias ( )

Tests the result of a view with complex field configuration.

A complex field configuration contains multiple times the same field, with different delta limit / offset.

References Views\getView().

Here is the call graph for this function:

testFieldAliasRender ( )

Tests the result of a view with complex field configuration.

A complex field configuration contains multiple times the same field, with different delta limit / offset.

References Views\getView(), and Entity\load().

Here is the call graph for this function:

testMissingBundleFieldRender ( )

Tests that a field not available for every bundle is rendered as empty.

References Entity\create(), and Views\getView().

Here is the call graph for this function:

testRevisionComplexExecute ( )

Tests the result set of a complex revision view.

References Views\getView().

Here is the call graph for this function:

testRevisionComplexRender ( )

Tests the output of a revision view with base fields and configurable fields.

References Views\getView().

Here is the call graph for this function:

testRevisionExecute ( )

Tests the revision result.

References Views\getView().

Here is the call graph for this function:

testRevisionRender ( )

Tests the output of a revision view with base and configurable fields.

References Views\getView().

Here is the call graph for this function:

testSimpleExecute ( )

Tests the result of a view with base fields and configurable fields.

References Views\getView().

Here is the call graph for this function:

testSimpleRender ( )

Tests the output of a view with base fields and configurable fields.

References Views\getView().

Here is the call graph for this function:

Field Documentation

$modules = ['field', 'entity_test', 'user', 'views_test_formatter']
static

{}

$testViews = ['test_field_field_test', 'test_field_alias_test', 'test_field_field_complex_test', 'test_field_field_attachment_test', 'test_field_field_revision_test', 'test_field_field_revision_complex_test']
static

{}


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