Tripal
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Attributes | List of all members
Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest Class Reference
Inheritance diagram for Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest:
Inheritance graph
[legend]
Collaboration diagram for Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest:
Collaboration graph
[legend]

Public Member Functions

 testConnectionGettersSetters (string $version)
 
 testConnectionExtraSchemas (string $version)
 
 testConnectionExtraSchemasExceptions (string $version)
 

Static Public Member Functions

static provideChadoSchemaVersions ()
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from Drupal\Tests\tripal_chado\Kernel\ChadoTestKernelBase
 prepareEnvironment (array $functionality)
 

Static Protected Attributes

static $modules = ['system', 'user', 'views', 'path', 'tripal', 'tripal_chado']
 
static array $supported_chado_versions
 
- 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
 
- Protected Attributes inherited from Drupal\Tests\tripal\Kernel\TripalTestKernelBase
 $messenger = NULL
 
 $logger = NULL
 
 $fileretriever = NULL
 
 $publish_manager = NULL
 

Detailed Description

Tests for ChadoConnection.

@group Tripal Chado @group TripalDBX @group ChadoDBX @group ChadoConnection

Member Function Documentation

◆ provideChadoSchemaVersions()

static Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest::provideChadoSchemaVersions ( )
static

Provides each supported version of chado to the tests.

Returns
array Each scenario is just a version of chado as a string.

◆ setUp()

Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest::setUp ( )
protected

◆ testConnectionExtraSchemas()

Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest::testConnectionExtraSchemas ( string  $version)

Tests TripalDbxConnection extraSchema methods across chado versions.

@dataProvider provideChadoSchemaVersions

Parameters
string$versionThe version of chado to test against.

◆ testConnectionExtraSchemasExceptions()

Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest::testConnectionExtraSchemasExceptions ( string  $version)

Tests TripalDbxConnection extraSchema methods across chado versions.

@dataProvider provideChadoSchemaVersions

Parameters
string$versionThe version of chado to test against.

◆ testConnectionGettersSetters()

Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest::testConnectionGettersSetters ( string  $version)

Tests TripalDbxConnection getters across different chado versions.

@dataProvider provideChadoSchemaVersions

Parameters
string$versionThe version of chado to test against.

Member Data Documentation

◆ $modules

Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest::$modules = ['system', 'user', 'views', 'path', 'tripal', 'tripal_chado']
staticprotected

{}

◆ $supported_chado_versions

array Drupal\Tests\tripal\Kernel\TripalDBX\ChadoConnectionInheritedTest::$supported_chado_versions
staticprotected
Initial value:
= [
'1.3',
'1.3.3.001',
'1.3.3.002',
'1.3.3.003',
'1.3.3.004',
'1.3.3.005',
'1.3.3.006',
'1.3.3.007',
'1.3.3.008',
'1.3.3.009',
'1.3.3.011',
'1.3.3.013',
]

The documentation for this class was generated from the following file: