|
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'] |
Static Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase | |
| static | $modules = ['tripal'] |
Additional Inherited Members | |
Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase | |
| $defaultTheme = 'stark' | |
This is a base class for Chado tests that need a full Drupal install.
It enables Chado tests schemas and helper functions to efficiently perform tests.
Example:
@group Tripal Chado
|
protected |
{{}}
Reimplemented from Drupal\Tests\tripal\Functional\TripalTestBrowserBase.
Reimplemented in Drupal\Tests\tripal_chado\Functional\api\ChadoComplianceTest, Drupal\Tests\tripal_chado\Functional\api\ChadoCvAPITest, Drupal\Tests\tripal_chado\Functional\api\ChadoDbAPITest, Drupal\Tests\tripal_chado\Functional\api\ChadoQueryAPITest, Drupal\Tests\tripal_chado\Functional\api\ChadoVariablesAPITest, Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest, Drupal\Tests\tripal_chado\Functional\Drush\ChadoCheckTermsAgainstYamlTest, Drupal\Tests\tripal_chado\Functional\Plugin\Fields\CreateEditFieldForms\BasicDataTypeChadoFieldTest, Drupal\Tests\tripal_chado\Functional\PubSearchQueryImporterTest, and Drupal\Tests\tripal_chado\Functional\TaxonomyImporterTest.
|
staticprotected |
{}
| const Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase::CREATE_SCHEMA = 1 |
Create an empty schema.
| const Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase::INIT_CHADO_DUMMY = 4 |
Create a Chado schema and initialize it with dummy data.
| const Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase::INIT_CHADO_EMPTY = 3 |
Create a Chado schema with default data.
| const Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase::INIT_DUMMY = 2 |
Create a schema and initialize it with dummy data.
| const Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase::PREPARE_TEST_CHADO = 5 |
Create a Chado schema and prepare both it and the associated drupal schema.
| const Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase::SCHEMA_NAME_ONLY = 0 |
Just get a free test schema name.