Drupal 8  8.0.2
DatabaseTestBase Class Reference
Inheritance diagram for DatabaseTestBase:

Public Member Functions

 ensureSampleDataNull ()
 

Static Public Member Functions

static addSampleData ()
 

Static Public Attributes

static $modules = array('database_test')
 

Protected Member Functions

 setUp ()
 

Detailed Description

Base class for databases database tests.

Because all database tests share the same test data, we can centralize that here.

Member Function Documentation

static addSampleData ( )
static

Sets up our sample data.

References db_insert().

Here is the call graph for this function:

ensureSampleDataNull ( )

Sets up tables for NULL handling.

References db_insert().

Referenced by SelectTest\testIsNotNullCondition(), SelectTest\testIsNullCondition(), SelectTest\testNullCondition(), and UpdateTest\testSimpleNullUpdate().

Here is the call graph for this function:

Here is the caller graph for this function:


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