|
Tripal
|


Public Member Functions | |
| addChadoOrganism ($chado, $details) | |
| addChadoProject ($chado, $details) | |
| addChadoContact ($chado, $details) | |
| addChadoProjectContact ($chado, $details) | |
| addChadoStock ($chado, $details) | |
| addChadoProjectStock ($chado, $details) | |
| addChadoArrayDesign ($chado, $details) | |
| addProperty ($chado, $base_table, $details) | |
| checkFieldItem ($bundle, $field_name, $num_expected, $match, $check) | |
Static Protected Attributes | |
| static | $modules = ['user', 'path', 'tripal', 'tripal_chado'] |
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 |
Protected Member Functions inherited from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase | |
| setUp () | |
Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase | |
| $defaultTheme = 'stark' | |
Tests the TripalPublish service in the context of the Chado content types.
@group Tripal @group Tripal Content
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addChadoArrayDesign | ( | $chado, | |
| $details | |||
| ) |
A helper function for adding an array design record to Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| array | $details | The key/value pairs of entries for the array design. The keys correspond to the columns of the arraydesign table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addChadoContact | ( | $chado, | |
| $details | |||
| ) |
A helper function for adding a contact record to Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| array | $details | The key/value pairs of entries for the contact. The keys correspond to the columns of the contact table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addChadoOrganism | ( | $chado, | |
| $details | |||
| ) |
A helper function for adding an organism record to Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| array | $details | The key/value pairs of entries for the organism. The keys correspond to the columns of the organism table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addChadoProject | ( | $chado, | |
| $details | |||
| ) |
A helper function for adding a project record to Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| array | $details | The key/value pairs of entries for the project. The keys correspond to the columns of the project table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addChadoProjectContact | ( | $chado, | |
| $details | |||
| ) |
A helper function for adding a project_contact record to Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| array | $details | The key/value pairs of entries for the project_contact. The keys correspond to the columns of the project_contact table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addChadoProjectStock | ( | $chado, | |
| $details | |||
| ) |
A helper function for adding a project_stock record to Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| array | $details | The key/value pairs of entries for the project_stock. The keys correspond to the columns of the project_stock table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addChadoStock | ( | $chado, | |
| $details | |||
| ) |
A helper function for adding a stock record to Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| array | $details | The key/value pairs of entries for the stock. The keys correspond to the columns of the stock table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::addProperty | ( | $chado, | |
| $base_table, | |||
| $details | |||
| ) |
A helper function for adding a property to a record in Chado.
| \Drupal\tripal\TripalDBX\TripalDbxConnection | $chado | A chado database object. |
| string | $base_table | The base table to which the property should be added. |
| array | $details | The key/value pairs of entries for the property. The keys correspond to the columns of the property table. |
| Drupal\Tests\tripal_chado\Functional\Service\ChadoTripalPublishTest::checkFieldItem | ( | $bundle, | |
| $field_name, | |||
| $num_expected, | |||
| $match, | |||
| $check | |||
| ) |
A helper function to test if the elements of a field item are present.
| string | $bundle | The content type bundle name (e.g. 'organism'). |
| string | $field_name | The name of the field that should be queried. |
| int | $num_expected | The number of items that are expected to be found when applying the conditions specified in the $match argument. |
| array | $match | An array of key/value pairs where the keys are the column names of field table in Drupal and the values are those to match in a select condition. All fields other than the 'entity_id', 'bundle', 'delta' 'deleted', 'langcode', and 'revision' have the field name as a prefix. But the keys need not include the prefix, just the field property key. The field name prefix will be added automatically. |
| array | $check | An array of key/value pairs where the keys are the column names of the field table in Drupal and the values are checked that they match what is in the table. The same rules apply for the key naming as in the $match argument. |
|
staticprotected |
{}