Tripal
|
Public Attributes | |
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 Member Functions | |
setUp () | |
Static Protected Attributes | |
static | $modules = ['tripal', 'tripal_biodb', 'tripal_chado'] |
This is a base class for Chado tests.
It enables Chado tests schemas and helper functions to efficiently perform tests.
Example:
@group Tripal @group Tripal Chado
|
protected |
{}
Reimplemented in Drupal\Tests\tripal_chado\Kernel\Plugin\TripalImporter\TaxonomyImporterFormTest, Drupal\Tests\tripal_chado\Kernel\Plugin\TripalImporter\OBOImporterFormTest, Drupal\Tests\tripal_chado\Kernel\Plugin\TripalImporter\GFF3ImporterFormTest, Drupal\Tests\tripal_chado\Kernel\Plugin\TripalImporter\FASTAImporterFormTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageLinkerFieldTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageFindValuesTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageActions_StoreTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageActions_StorePkeyTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageActions_StoreLinkTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageActions_StoreIdTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageActions_ReadValueTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoLinkerPropertyDefaultTest, Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoContactDefaultTest, and Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoAnalysisDefaultTest.
const Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase::CREATE_SCHEMA = 1 |
Create an empty schema.
const Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase::INIT_CHADO_DUMMY = 4 |
Create a Chado schema and initialize it with dummy data.
const Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase::INIT_CHADO_EMPTY = 3 |
Create a Chado schema with default data.
const Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase::INIT_DUMMY = 2 |
Create a schema and initialize it with dummy data.
const Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase::PREPARE_TEST_CHADO = 5 |
Create a Chado schema and prepare both it and the associated drupal schema.
const Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase::SCHEMA_NAME_ONLY = 0 |
{} Just get a free test schema name.