|
Tripal
|


Public Member Functions | |
| testStudyBaseTableFieldCRUD () | |
| testArrayDesignBaseTableFieldCRUD () | |
Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| $fields = [] | |
| $yaml_file = __DIR__ . "/ChadoContactDefault-FieldDefinitions.yml" | |
| array | $contact_id |
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'] |
Tests that ChadoStorage can handle property fields as we expect. The array of fields/properties used for these tests are designed to match those in the ChadoContactDefault field with values filled based on two base tables: study and arraydesign.
Note that the arraydesign table is a bit unusal, since the relevant column is 'manufacturer_id' which corresponds to 'contact_id' in the contact table.
Specific test cases:
@group Tripal @group Tripal Chado @group ChadoStorage @group ChadoStorage Fields
|
protected |
{{}}
Reimplemented from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase.
| Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoContactDefaultTest::testArrayDesignBaseTableFieldCRUD | ( | ) |
Testing ChadoStorage with the ChadoContactDefault field on an arraydesign content type.
Test Cases:
| Drupal\Tests\tripal_chado\Kernel\Plugin\ChadoStorage\ChadoContactDefaultTest::testStudyBaseTableFieldCRUD | ( | ) |
Testing ChadoStorage with the ChadoContactDefault field on a study content type.
Test Cases: