Tripal
Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
Drupal\Tests\tripal_chado\Functional\Task\ChadoPreparerTest Class Reference
Inheritance diagram for Drupal\Tests\tripal_chado\Functional\Task\ChadoPreparerTest:
Inheritance graph
[legend]
Collaboration diagram for Drupal\Tests\tripal_chado\Functional\Task\ChadoPreparerTest:
Collaboration graph
[legend]

Public Member Functions

 testChadoPreparer ()
 
 testPrepareTestChadoSimulation ()
 
- Public Member Functions inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase
 createTripalTerm ($values, $idspace_plugin_id, $vocab_plugin_id)
 
 createTripalContent ($values=[])
 
 createTripalContentType ($values=[])
 

Protected Member Functions

 runPrepareStepAssertions ($chadoSchema2check)
 
- Protected Member Functions inherited from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase
 setUp ()
 

Static Protected Attributes

static $modules = ['tripal', 'tripal_chado', 'tripal_biodb', 'field_ui']
 
- Static Protected Attributes inherited from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase
static $modules = ['tripal', 'tripal_biodb', 'tripal_chado']
 
- Static Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase
static $modules = ['tripal']
 

Additional Inherited Members

- Public Attributes inherited from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase
const SCHEMA_NAME_ONLY = 0
 
const CREATE_SCHEMA = 1
 
const INIT_DUMMY = 2
 
const INIT_CHADO_EMPTY = 3
 
const INIT_CHADO_DUMMY = 4
 
const PREPARE_TEST_CHADO = 5
 
- Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase
 $defaultTheme = 'stark'
 

Detailed Description

Tests for Chado preparer task.

@coversDefaultClass \Drupal\tripal_chado\Task\ChadoPreparer

@group Tripal @group Tripal Chado @group Tripal Chado Task @group Tripal Chado Preparer

Member Function Documentation

◆ runPrepareStepAssertions()

Drupal\Tests\tripal_chado\Functional\Task\ChadoPreparerTest::runPrepareStepAssertions (   $chadoSchema2check)
protected

Helper Method: Check that the prepare step created what we expected it to.

◆ testChadoPreparer()

Drupal\Tests\tripal_chado\Functional\Task\ChadoPreparerTest::testChadoPreparer ( )

Tests the official Chado prepare task.

◆ testPrepareTestChadoSimulation()

Drupal\Tests\tripal_chado\Functional\Task\ChadoPreparerTest::testPrepareTestChadoSimulation ( )

Tests ChadoBrowserTestBase->prepareTestChado().

This is added to speed up automated tests which require the prepare step. This automated test ensures this simulated prepare (using SQL dumps) produces an accurate representation of the official Prepare Task.

Member Data Documentation

◆ $modules

Drupal\Tests\tripal_chado\Functional\Task\ChadoPreparerTest::$modules = ['tripal', 'tripal_chado', 'tripal_biodb', 'field_ui']
staticprotected

{}


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