Tripal
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest Class Reference
Inheritance diagram for Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest:
Inheritance graph
[legend]
Collaboration diagram for Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest:
Collaboration graph
[legend]

Public Member Functions

 testTripalStorageBaseFieldDefn ()
 
 testTripalStorageBasePropTypes ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

object $mock_term
 
object $mock_logger
 

Static Protected Attributes

static $modules = ['tripal']
 

Detailed Description

Tests for Tripal Storage Base class.

@group Tripal @group TripalStorage

Member Function Documentation

◆ setUp()

Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest::setUp ( )
protected

{}

◆ testTripalStorageBaseFieldDefn()

Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest::testTripalStorageBaseFieldDefn ( )

Tests the add/get field definition functionality.

◆ testTripalStorageBasePropTypes()

Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest::testTripalStorageBasePropTypes ( )

Tests the add/get property type functionality.

Member Data Documentation

◆ $mock_logger

object Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest::$mock_logger
protected

A dummy tripal logger. This exists to ensure that nothing is written to the PHP error_log as that causes a PHPUnit exception. Instead this mock will always print the message to the screen.

◆ $modules

Drupal\Tests\tripal\Kernel\TripalStorage\TripalStorageTest::$modules = ['tripal']
staticprotected

{}


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