|
Tripal
|


Public Member Functions | |
| testStorePkeyAction ($top_level_key, $field_name) | |
Static Public Member Functions | |
| static | provideFieldNames () |
Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase | |
| prepareEnvironment (array $functionality) | |
Protected Attributes | |
| $fields = [] | |
| $yaml_file = __DIR__ . "/ChadoStorageActions-FieldDefinitions.yml" | |
Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase | |
| $messenger = NULL | |
| $logger = NULL | |
| $fileretriever = NULL | |
| $publish_manager = NULL | |
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 |
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'] |
Tests that specific ChadoStorage actions perform as expected.
@group Tripal @group Tripal Chado @group ChadoStorage @group ChadoStorage Actions
|
static |
DATA PROVIDER: Provide field names.
We essentially want to run the exact same test both when an alias is supplied and when it's not. Thus we are using a data provider to do that without duplicating code.
|
protected |
{{{}}}
Reimplemented from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase.
| Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoStorageActions_StorePkeyTest::testStorePkeyAction | ( | $top_level_key, | |
| $field_name | |||
| ) |
Test the store_pkey action.
@dataProvider provideFieldNames
Chado Table: db Columns: db_id*, name*
Specifically, ensure that a property with the store_pkey action