Tripal
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest Class Reference
Inheritance diagram for Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest:
Inheritance graph
[legend]
Collaboration diagram for Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest:
Collaboration graph
[legend]

Public Member Functions

 getMock ()
 
 testBioTaskBaseConstructor ()
 
 testBioTaskBaseParameters ()
 

Protected Member Functions

 setUp ()
 

Protected Attributes

 $proConfigFactory
 
 $configFactory
 
 $proConfig
 
 $config
 

Detailed Description

Tests for tasks.

@coversDefaultClass \Drupal\tripal_biodb\Task\BioTaskBase

@group Tripal @group Tripal BioDb @group Tripal BioDb Task

Member Function Documentation

◆ getMock()

Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest::getMock ( )

Setup a mock version of the abstract Bi9oTaskBase for testing.

◆ setUp()

Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest::setUp ( )
protected

{}

◆ testBioTaskBaseConstructor()

Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest::testBioTaskBaseConstructor ( )

Tests constructor: check constructor calls.

@cover ::__construct @cover ::initId @cover ::getId @cover ::getLogger

◆ testBioTaskBaseParameters()

Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest::testBioTaskBaseParameters ( )

Tests setting + preparing input/output schema.

@cover ::setParameters @cover ::prepareSchemas

Member Data Documentation

◆ $proConfigFactory

Drupal\Tests\tripal_biodb\Kernel\Task\BioTaskBaseTest::$proConfigFactory
protected

Test members.

"pro*" members are prophesize objects while their "non-pro*" equivqlent are the revealed objects.


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