|
Tripal
|


Public Member Functions | |
| testChadoTableColumnExists () | |
| testChadoSchemaMetdata () | |
| testInitClass () | |
| testGetVersion () | |
| testGetSchemaName () | |
| testGetSchemaDetails () | |
| testGetTableNames ($version, $known_tables) | |
| testGetTableSchema () | |
| testGetCustomTableSchema ($table_name) | |
| testGetBaseTables ($version, $known_tables) | |
| knownTableProvider () | |
| knownBaseTableProvider () | |
| knownCustomTableProvider () | |
Protected Attributes | |
| $defaultTheme = 'stark' | |
Static Protected Attributes | |
| static | $modules = ['tripal', 'tripal_chado'] |
| static | $schemaName = 'testchado' |
Testing the tripal_chado/api/tripal_chado.schema.api.php functions.
@group Tripal @group Tripal Chado @group Tripal Database @group Tripal API
| Drupal\Tests\tripal_chado\SchemaAPITest::knownBaseTableProvider | ( | ) |
Data Provider: returns known tables specific to a given chado version.
| Drupal\Tests\tripal_chado\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.
| Drupal\Tests\tripal_chado\SchemaAPITest::knownTableProvider | ( | ) |
Data Provider: returns known tables specific to a given chado version.
| Drupal\Tests\tripal_chado\SchemaAPITest::testChadoSchemaMetdata | ( | ) |
Tests chado_get_schema_name().
@group tripal-chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testChadoTableColumnExists | ( | ) |
Tests chado_table_exists() and chado_column_exists().
@group tripal-chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testGetBaseTables | ( | $version, | |
| $known_tables | |||
| ) |
Tests ChadoSchema->getBaseTables() method.
@dataProvider knownBaseTableProvider
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testGetCustomTableSchema | ( | $table_name | ) |
Tests ChadoSchema->getCustomTableSchema() method.
@dataProvider knownCustomTableProvider
@group api @group chado @group chado-schema
NOTE: Currently being skipped because the custom tables functionality is not available yet.
| Drupal\Tests\tripal_chado\SchemaAPITest::testGetSchemaDetails | ( | ) |
Tests the ChadoSchema->getSchemaDetails() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testGetSchemaName | ( | ) |
Tests the ChadoSchema->getSchemaName() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testGetTableNames | ( | $version, | |
| $known_tables | |||
| ) |
Tests ChadoSchema->getTableNames() method.
@dataProvider knownTableProvider
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testGetTableSchema | ( | ) |
Tests ChadoSchema->getTableSchema() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testGetVersion | ( | ) |
Tests the ChadoSchema->getVersion() method.
@group api @group chado @group chado-schema
| Drupal\Tests\tripal_chado\SchemaAPITest::testInitClass | ( | ) |
Tests that the class can be initiated with or without a record specified
@group api @group chado @group chado-schema