Drupal 8  8.0.2
StyleMappingTest Class Reference
Inheritance diagram for StyleMappingTest:

Public Member Functions

 testMappedOutput ()
 
- Public Member Functions inherited from StyleTestBase
 storeViewPreview ($output)
 

Static Public Attributes

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

Protected Member Functions

 mappedOutputHelper ($view)
 
- 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 ()
 

Additional Inherited Members

- Protected Attributes inherited from StyleTestBase
 $elements
 

Detailed Description

Tests mapping style functionality.

views

Member Function Documentation

mappedOutputHelper (   $view)
protected

Tests the mapping of fields.

Parameters
\Drupal\views\ViewExecutable$viewThe view to test.
Returns
string The view rendered as HTML.

References ViewKernelTestBase\dataSet(), format_string(), Drupal\service(), and StyleTestBase\storeViewPreview().

Referenced by StyleMappingTest\testMappedOutput().

Here is the call graph for this function:

Here is the caller graph for this function:

testMappedOutput ( )

Verifies that the fields were mapped correctly.

References Views\getView(), and StyleMappingTest\mappedOutputHelper().

Here is the call graph for this function:


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