Tripal
|
Public Member Functions | |
provideEntities () | |
testWidgetClassInitialization () | |
testWidgetForm () | |
testWidgetValidate_existing () | |
testWidgetValidate_create () | |
testWidgetValidate_nosubject () | |
testWidgetValidate_noobject () | |
testWidgetValidate_notype () | |
Tests\tripal_chado\fields\sbo__relationship_widgetTest::provideEntities | ( | ) |
Data Provider: provides entities matching important test cases.
Specifically, we will cover three relationship tables, which represent the diversity in the chado schema v1.3: organism_relationship: subject_id, type_id, object_id, stock_relationship: subject_id, type_id, object_id, value, rank, project_relationship: subject_project_id, type_id, object_project_id, rank.
Tests\tripal_chado\fields\sbo__relationship_widgetTest::testWidgetClassInitialization | ( | ) |
Test that we can initialize the widget properly.
@group widget @group sbo__relationship
Tests\tripal_chado\fields\sbo__relationship_widgetTest::testWidgetForm | ( | ) |
Test the widget Form.
@group widget @group sbo__relationship
Tests\tripal_chado\fields\sbo__relationship_widgetTest::testWidgetValidate_create | ( | ) |
Case: WidgetValidate on new relationship filled out properly.
@group widget @group sbo__relationship
Tests\tripal_chado\fields\sbo__relationship_widgetTest::testWidgetValidate_existing | ( | ) |
Case: WidgetValidate on existing relationship.
@group widget @group sbo__relationship
Tests\tripal_chado\fields\sbo__relationship_widgetTest::testWidgetValidate_noobject | ( | ) |
Case: WidgetValidate on new relationship missing object. Missing defaults to current record.
@group widget @group sbo__relationship
Tests\tripal_chado\fields\sbo__relationship_widgetTest::testWidgetValidate_nosubject | ( | ) |
Case: WidgetValidate on new relationship missing subject. Missing defaults to current record.
@group widget @group sbo__relationship
Tests\tripal_chado\fields\sbo__relationship_widgetTest::testWidgetValidate_notype | ( | ) |
Case: WidgetValidate on new relationship missing type.
@group widget @group sbo__relationship