|
Tripal
|


Public Member Functions | |
| testChadoTableColumnExists () | |
| testChadoSchemaMetdata () | |
| testInitClass () | |
| testGetVersion () | |
| testGetSchemaName () | |
| testGetSchemaDetails () | |
| testGetTableNames ($version, $known_tables) | |
| testGetTableSchema () | |
| testGetBaseTables ($version, $known_tables) | |
| knownCustomTableProvider () | |
Static Public Member Functions | |
| static | knownTableProvider () |
| static | knownBaseTableProvider () |
Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| $defaultTheme = 'stark' | |
| $connection | |
Protected Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase | |
| $defaultTheme = 'stark' | |
Static Protected Attributes | |
| static | $modules = ['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 |
Testing the tripal_chado/api/tripal_chado.schema.api.php functions.
@group Tripal @group Tripal Chado @group Tripal Database @group Tripal API
|
static |
Data Provider: returns known tables specific to a given chado version.
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::knownCustomTableProvider | ( | ) |
Data Provider: returns known custom tables specific to a given chado version.
NOTE: These tables are provided by core Tripal so we should be able to depend on them. Also, for the same reason, chado version doesn't matter.
|
static |
Data Provider: returns known tables specific to a given chado version.
|
protected |
{{{}}}
Reimplemented from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase.
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testChadoSchemaMetdata | ( | ) |
Tests chado_get_schema_name().
@group tripal-chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testChadoTableColumnExists | ( | ) |
Tests chado_table_exists() and chado_column_exists().
@group tripal-chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testGetBaseTables | ( | $version, | |
| $known_tables | |||
| ) |
Tests ChadoSchema->getBaseTables() method.
@dataProvider knownBaseTableProvider
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testGetSchemaDetails | ( | ) |
Tests the ChadoSchema->getSchemaDetails() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testGetSchemaName | ( | ) |
Tests the ChadoSchema->getSchemaName() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testGetTableNames | ( | $version, | |
| $known_tables | |||
| ) |
Tests ChadoSchema->getTableNames() method.
@dataProvider knownTableProvider
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testGetTableSchema | ( | ) |
Tests ChadoSchema->getTableSchema() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testGetVersion | ( | ) |
Tests the ChadoSchema->getVersion() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\Functional\api\SchemaAPITest::testInitClass | ( | ) |
Tests that the class can be initiated with or without a record specified
@group api @group chado @group chado-schema