|
Tripal
|


Public Member Functions | |
| retrieveCurrentScenario (int $current_scenario_key, string $current_scenario_label) | |
Static Public Member Functions | |
| static | provideScenarios () |
Protected Member Functions | |
| setUp () | |
| populateMviewSql () | |
Protected Member Functions inherited from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase | |
| prepareEnvironment (array $functionality) | |
Protected Attributes | |
| string | $yaml_info_file = __DIR__ . '/OboImporter-TestInfo.yml' |
| object | $drupal_connection |
| object | $chado_connection |
| array | $mock_messages = [] |
| $user | |
| array | $system_under_test |
| array | $scenarios |
Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| $messenger = NULL | |
| $logger = NULL | |
| $fileretriever = NULL | |
| $publish_manager = NULL | |
Static Protected Attributes | |
| static | $modules = ['user', 'tripal', 'tripal_chado', 'tripal_biodb'] |
Static Protected Attributes inherited from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase | |
| static | $modules = ['tripal', 'tripal_biodb', 'tripal_chado'] |
Static Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| static | $modules = ['tripal'] |
Additional Inherited Members | |
Public Attributes inherited from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase | |
| 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 |
Tests for the OBO ontology importer.
@group TripalImporter @group ChadoImporter @group OntologyImporter
|
protected |
Sets up the two materialized views needed for the importer.
The mviews are populated when the importer postRun() is called.
|
static |
Data Provider: works with the YAML to provide scenarios for testing.
| Drupal\Tests\tripal_chado\Functional\OboImporterTest::retrieveCurrentScenario | ( | int | $current_scenario_key, |
| string | $current_scenario_label | ||
| ) |
Retrieves the current scenario based on the data provider.
NOTE: Also ensures the type_ids match what is currently in the database.
| int | $current_scenario_key | The key of the scenario in the YAML. |
| string | $current_scenario_label | The label of the scenario in the YAML. |
|
protected |
{{{}}}
Reimplemented from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase.
|
staticprotected |
{}