|
Tripal
|


Public Member Functions | |
| testCreateViaCombinedAddFieldForm ($field_type_name, $valid_options) | |
Static Public Member Functions | |
| static | provideFieldsToTest () |
Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| $defaultTheme = 'stark' | |
| $type = 'gene' | |
| $connection | |
Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase | |
| $defaultTheme = 'stark' | |
Static Protected Attributes | |
| static | $modules = ['system', 'user', 'path', 'path_alias', 'field', 'field_ui', 'tripal', 'tripal_chado'] |
| static array | $field_types |
Static Protected Attributes inherited from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase | |
| static | $modules = ['tripal', 'tripal_biodb', 'tripal_chado'] |
Static Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase | |
| static | $modules = ['tripal'] |
Additional Inherited Members | |
Public Attributes inherited from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase | |
| 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 the configuration for where a basic chado field is added to an existing content type. Specific field types tested are below in the $field_types property –these are fields that act on individual columns in the base table and require their column to be set in the field storage settings.
@group ChadoField
|
static |
Data Provider: provides a list of the basic fields to test.
|
protected |
{{{}}}
Reimplemented from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase.
| Drupal\Tests\tripal_chado\Functional\Plugin\Fields\CreateEditFieldForms\BasicDataTypeChadoFieldTest::testCreateViaCombinedAddFieldForm | ( | $field_type_name, | |
| $valid_options | |||
| ) |
Tests adding a basic field type via the combined add field form. @dataProvider provideFieldsToTest
This specifically refers to the form used in Drupal 10.2+ and thus will only be run on systems of the right Drupal version.
NOTE: Debugging pages use the following
|
staticprotected |
Provides a list of the field types we are testing with this class.
|
protected |
The machine name of the Tripal Content Type used by tests in this class.