Drupal 8  8.0.2
CacheTest Class Reference
Inheritance diagram for CacheTest:

Public Member Functions

 testTimeResultCaching ()
 
 testTimeResultCachingWithFilter ()
 
 testTimeResultCachingWithPager ()
 
 testNoneResultCaching ()
 
 testSubqueryStringCache ()
 
 testCacheData ()
 
 testCacheContextIntegration ()
 

Static Public Attributes

static $testViews = array('test_view', 'test_cache', 'test_groupwise_term_ui', 'test_display', 'test_filter')
 
static $modules = array('taxonomy', 'text', 'user', 'node')
 
- Static Public Attributes inherited from ViewKernelTestBase
static $modules = array('system', 'views', 'views_test_config', 'views_test_data', 'user')
 

Protected Member Functions

 setUp ($import_test_views=TRUE)
 
 viewsData ()
 
- 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 ()
 

Detailed Description

Tests pluggable caching for views.

views

See Also
views_plugin_cache

Member Function Documentation

setUp (   $import_test_views = TRUE)
protected

{}

References Drupal\request().

Here is the call graph for this function:

testCacheContextIntegration ( )

Tests the cache context integration for views result cache.

References Drupal\database(), ViewKernelTestBase\executeView(), Views\getView(), and Drupal\state().

Here is the call graph for this function:

testCacheData ( )

Tests the data contained in cached items.

References Drupal\cache(), Entity\create(), ViewKernelTestBase\executeView(), and Views\getView().

Here is the call graph for this function:

testNoneResultCaching ( )

Tests no caching.

See Also
views_plugin_cache_time

References db_insert(), ViewKernelTestBase\executeView(), and Views\getView().

Here is the call graph for this function:

testSubqueryStringCache ( )

Tests that Subqueries are cached as expected.

References Drupal\cache(), ViewKernelTestBase\executeView(), and Views\getView().

Here is the call graph for this function:

testTimeResultCaching ( )

Tests time based caching.

See Also
views_plugin_cache_time

References db_insert(), ViewKernelTestBase\executeView(), and Views\getView().

Here is the call graph for this function:

testTimeResultCachingWithFilter ( )

Tests result caching with filters.

See Also
views_plugin_cache_time

References ViewKernelTestBase\executeView(), and Views\getView().

Here is the call graph for this function:

testTimeResultCachingWithPager ( )

Tests result caching with a pager.

References ViewKernelTestBase\executeView(), and Views\getView().

Here is the call graph for this function:

viewsData ( )
protected

{}


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