DesignerTest Class Reference

Inheritance diagram for DesignerTest:
ZurmoBaseTest BaseTest

Public Member Functions

 testExistingAttributeWillAlwaysSaveAsValidLength ()
 testResolveMetadataFromSelectedListAttributes ()
 testSetMetadataFromLayout ()
 testGetModelAttributesAdapter ()
 testSetMetadataFromLayoutWithOutPanels ()
 testSetMetadataFromLayoutWithOutRequiredField ()
 testSetMetadataFromLayoutWithAndWithOutRequiredDerivedField ()
 testSetMetadataFromLayoutWithAndWithOutOnlyUniqueFields ()
 testMakeLayoutAttributes ()
 testFormatEditableMetadataForLayoutParsing ()
 testGetStandardAttributes ()
 testGetCustomAttributesWhenThereArentAny ()
 testMakeAttributeFormByAttributeName ()
 testSetNewAttributeFromAttributeForm ()
 testSetStandardDropDownAttributeFromAttributeForm ()
 testSetAndGetCustomAttributes ()
 testRemoveAttributeByName ()
 testModelAttributesAdapterIsStandardAttribute ()
 testAttributePropertyFormAdapterCanUpdateProperty ()
 testGetRequiredDerivedLayoutAttributeTypes ()
 testExistingModelsShowCustomFieldDataCorrectlyWhenAttributeIsAddedAsDatabaseColumn ()
 testStandardAttributeThatBecomesRequiredCanStillBeChangedToBeUnrequired ()
 testIsStandardAttributeRequiredByDefault ()
 testSetMetadataFormLayoutWithAndWithOutRequiredCustomFieldForDropDownDependencyAttribute ()

Static Public Member Functions

static setUpBeforeClass ()

Static Public Attributes

static $activateDefaultLanguages = true

Detailed Description

Definition at line 37 of file DesignerTest.php.


Member Function Documentation

testExistingAttributeWillAlwaysSaveAsValidLength (  ) 

completedDateTime is too large if you created this as a new attribute. There was a bug that would not allow a user to complete a 'save' of the attribute in designer. This is an existing attribute so it should always be savable.

Definition at line 52 of file DesignerTest.php.

testResolveMetadataFromSelectedListAttributes (  ) 

testExistingAttributeWillAlwaysSaveAsValidLength

Definition at line 66 of file DesignerTest.php.

testSetMetadataFromLayout (  ) 

testResolveMetadataFromSelectedListAttributes

Definition at line 120 of file DesignerTest.php.

testGetModelAttributesAdapter (  ) 

testSetMetadataFromLayout

Definition at line 273 of file DesignerTest.php.

testSetMetadataFromLayoutWithOutPanels (  ) 

testGetModelAttributesAdapter

Definition at line 293 of file DesignerTest.php.

testSetMetadataFromLayoutWithOutRequiredField (  ) 

testGetModelAttributesAdapter

Definition at line 320 of file DesignerTest.php.

testSetMetadataFromLayoutWithAndWithOutRequiredDerivedField (  ) 

testGetModelAttributesAdapter

Definition at line 360 of file DesignerTest.php.

testSetMetadataFromLayoutWithAndWithOutOnlyUniqueFields (  ) 

testSetMetadataFromLayoutWithAndWithOutRequiredDerivedField

Definition at line 417 of file DesignerTest.php.

testMakeLayoutAttributes (  ) 

testSetMetadataFromLayoutWithAndWithOutOnlyUniqueFields

Definition at line 490 of file DesignerTest.php.

testFormatEditableMetadataForLayoutParsing (  ) 

testGetModelAttributesAdapter

Definition at line 547 of file DesignerTest.php.

testGetStandardAttributes (  ) 

testGetModelAttributesAdapter

Definition at line 563 of file DesignerTest.php.

testGetCustomAttributesWhenThereArentAny (  ) 

testGetStandardAttributes

Definition at line 588 of file DesignerTest.php.

testMakeAttributeFormByAttributeName (  ) 

testGetModelAttributesAdapter

Definition at line 601 of file DesignerTest.php.

testSetNewAttributeFromAttributeForm (  ) 

testMakeAttributeFormByAttributeName

Definition at line 640 of file DesignerTest.php.

testSetStandardDropDownAttributeFromAttributeForm (  ) 

testMakeAttributeFormByAttributeName

Definition at line 702 of file DesignerTest.php.

testSetAndGetCustomAttributes (  ) 

testSetNewAttributeFromAttributeForm

Definition at line 733 of file DesignerTest.php.

testRemoveAttributeByName (  ) 

testSetAndGetCustomAttributes

Definition at line 779 of file DesignerTest.php.

testModelAttributesAdapterIsStandardAttribute (  ) 

testRemoveAttributeByName

Definition at line 829 of file DesignerTest.php.

testAttributePropertyFormAdapterCanUpdateProperty (  ) 

testModelAttributesAdapterIsStandardAttribute

Definition at line 866 of file DesignerTest.php.

testGetRequiredDerivedLayoutAttributeTypes (  ) 

testAttributePropertyFormAdapterCanUpdateProperty

Definition at line 880 of file DesignerTest.php.

testExistingModelsShowCustomFieldDataCorrectlyWhenAttributeIsAddedAsDatabaseColumn (  ) 

There was a bug if you had an existing model, then created a custom drop down, it would not show any values. This was resolved by making sure cached models constructDerived. This test should pass now that the fix is implemented. testGetRequiredDerivedLayoutAttributeTypes

Definition at line 907 of file DesignerTest.php.

testStandardAttributeThatBecomesRequiredCanStillBeChangedToBeUnrequired (  ) 

testExistingModelsShowCustomFieldDataCorrectlyWhenAttributeIsAddedAsDatabaseColumn

Definition at line 957 of file DesignerTest.php.

testIsStandardAttributeRequiredByDefault (  ) 

testStandardAttributeThatBecomesRequiredCanStillBeChangedToBeUnrequired

Definition at line 1001 of file DesignerTest.php.

testSetMetadataFormLayoutWithAndWithOutRequiredCustomFieldForDropDownDependencyAttribute (  ) 

testIsStandardAttributeRequiredByDefault

Definition at line 1013 of file DesignerTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri Nov 22 07:11:08 2019