Tripal
Public Member Functions | Protected Member Functions | List of all members
Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest Class Reference
Inheritance diagram for Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest:
Inheritance graph
[legend]
Collaboration diagram for Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest:
Collaboration graph
[legend]

Public Member Functions

 testTripalVocabularyClasses ()
 
- Public Member Functions inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase
 createTripalTerm ($values, $idspace_plugin_id, $vocab_plugin_id)
 
 createTripalContent ($values=[])
 
 createTripalContentType ($values=[])
 

Protected Member Functions

 getCV ($cvname)
 
 getDB ($dbname)
 
 getCVterm ($cvname, $cvterm_name)
 
 updateRecord ($table, $name, $field, $value)
 
 cleanDB ($dbname)
 
 cleanCV ($cvname)
 
- Protected Member Functions inherited from Drupal\Tests\tripal_chado\Functional\ChadoTestBrowserBase
 setUp ()
 

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 Attributes inherited from Drupal\Tests\tripal\Functional\TripalTestBrowserBase
 $defaultTheme = 'stark'
 
- 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']
 

Detailed Description

Tests for the ChadoCVTerm classes

@group Tripal @group Tripal Chado @group Tripal Chado ChadoVocabTerms

Member Function Documentation

◆ cleanCV()

Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest::cleanCV (   $cvname)
protected

A helper function to delete a Chado cv record.

Parameters
$dbnameThe name of the database to lookup.
Returns
The number of records deleted.

◆ cleanDB()

Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest::cleanDB (   $dbname)
protected

A helper function to delete a Chado db record.

Parameters
$dbnameThe name of the database to lookup.
Returns
The number of records deleted.

◆ getCV()

Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest::getCV (   $cvname)
protected

A helper function to retrieve a Chado cv record.

Parameters
$dbnameThe name of the database to lookup.
Returns
A database query result.

◆ getCVterm()

Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest::getCVterm (   $cvname,
  $cvterm_name 
)
protected

A helper function to retrieve a Chado cvterm record.

Parameters
string$cvname
string$cvterm_name

◆ getDB()

Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest::getDB (   $dbname)
protected

A helper function to retrieve a Chado db record.

Parameters
string$dbnameThe name of the database to lookup.
Returns
A database query result.

◆ testTripalVocabularyClasses()

Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest::testTripalVocabularyClasses ( )

Tests the ChadoIdSpace Class

@Depends Drupal\tripal_chado\Task\ChadoInstallerTest::testPerformTaskInstaller

◆ updateRecord()

Drupal\Tests\tripal_chado\Functional\ChadoVocabTermsTest::updateRecord (   $table,
  $name,
  $field,
  $value 
)
protected

A helper function to update a Chado db record.

Parameters
$dbnameThe name of the database to lookup.
Returns
A database query result.

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