Tripal
|
Protected Member Functions | |
setUp () | |
setMockManager ($annotation) | |
Protected Attributes | |
$defaultTheme = 'stark' | |
$mock_plugin | |
$definitions | |
$form | |
$analysis_form | |
Static Protected Attributes | |
static | $modules = ['system', 'user', 'file', 'tripal'] |
Tests the base functionality for importers.
Cannot test actually implemented importers as those require database specific implementations.
@group TripalImporter
|
protected |
HELPER: Creates a mock plugin + plugin manager.
|
protected |
{}
Drupal\Tests\tripal\Kernel\TripalImporterFormBuildTest::testTripalImporterForm | ( | ) |
Tests focusing on the Tripal importer form.
Drupal\Tests\tripal\Kernel\TripalImporterFormBuildTest::testTripalImporterFormAnalysis | ( | ) |
Confirm that the file-related form elements are added to the form as expected based on plugin annotation.
Drupal\Tests\tripal\Kernel\TripalImporterFormBuildTest::testTripalImporterFormDisableButtonAnnotation | ( | ) |
Confirm that importers can indicate they want the form submit button disabled via annotation and change it via form state.
Drupal\Tests\tripal\Kernel\TripalImporterFormBuildTest::testTripalImporterFormDisableButtonFormStateOnly | ( | ) |
Confirm that importers can indicate they want the form submit button disabled using a particular key in the form state.
Drupal\Tests\tripal\Kernel\TripalImporterFormBuildTest::testTripalImporterFormFiles | ( | ) |
Confirm that the file-related form elements are added to the form as expected based on plugin annotation.
Drupal\Tests\tripal\Kernel\TripalImporterFormBuildTest::testTripalImporterFormNoButton | ( | ) |
Confirm that importers whose annotation indicates they do not want a submit button, do not get a submit button forced on them.
|
protected |
|
protected |
|
protected |