|
Tripal
|


Public Member Functions | |
| testTripalChadoEntitySaveUrlAlias (int $current_scenario_key, string $current_scenario_label) | |
Static Public Member Functions | |
| static | provideScenarios () |
Protected Member Functions | |
| setUp () | |
Protected Member Functions inherited from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase | |
| prepareEnvironment (array $functionality) | |
Protected Attributes | |
| object | $chado_connection |
| object | $drupal_connection |
| string | $yaml_info_file = __DIR__ . '/TripalEntityChadoFieldTest-TestInfo.yml' |
| array | $system_under_test |
| string | $bundle_name |
| 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 = ['system', 'user', 'path', 'path_alias', 'field', 'datetime', 'tripal', 'tripal_chado'] |
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 the TripalEntity Class with Chado Fields attached.
@group TripalEntity @group ChadoFields @group TripalTokenParser
|
static |
Data Provider: works with the YAML to provide scenarios for testing.
|
protected |
{{{}}}
Reimplemented from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase.
| Drupal\Tests\tripal_chado\Kernel\Entity\TripalEntityChadoFieldTest::testTripalChadoEntitySaveUrlAlias | ( | int | $current_scenario_key, |
| string | $current_scenario_label | ||
| ) |
Tests that TripalEntity::save() handles URL alias' with substitutions.
| int | $current_scenario_key | The key of the scenario in the YAML. |
| string | $current_scenario_label | The label of the scenario in the YAML. |
@dataProvider provideScenarios
|
staticprotected |
{}