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 240 of file DesignerTest.php.

testSetMetadataFromLayoutWithOutPanels (  ) 

testGetModelAttributesAdapter

Definition at line 260 of file DesignerTest.php.

testSetMetadataFromLayoutWithOutRequiredField (  ) 

testGetModelAttributesAdapter

Definition at line 287 of file DesignerTest.php.

testSetMetadataFromLayoutWithAndWithOutRequiredDerivedField (  ) 

testGetModelAttributesAdapter

Definition at line 327 of file DesignerTest.php.

testSetMetadataFromLayoutWithAndWithOutOnlyUniqueFields (  ) 

testSetMetadataFromLayoutWithAndWithOutRequiredDerivedField

Definition at line 384 of file DesignerTest.php.

testMakeLayoutAttributes (  ) 

testSetMetadataFromLayoutWithAndWithOutOnlyUniqueFields

Definition at line 457 of file DesignerTest.php.

testFormatEditableMetadataForLayoutParsing (  ) 

testGetModelAttributesAdapter

Definition at line 514 of file DesignerTest.php.

testGetStandardAttributes (  ) 

testGetModelAttributesAdapter

Definition at line 530 of file DesignerTest.php.

testGetCustomAttributesWhenThereArentAny (  ) 

testGetStandardAttributes

Definition at line 555 of file DesignerTest.php.

testMakeAttributeFormByAttributeName (  ) 

testGetModelAttributesAdapter

Definition at line 568 of file DesignerTest.php.

testSetNewAttributeFromAttributeForm (  ) 

testMakeAttributeFormByAttributeName

Definition at line 607 of file DesignerTest.php.

testSetStandardDropDownAttributeFromAttributeForm (  ) 

testMakeAttributeFormByAttributeName

Definition at line 668 of file DesignerTest.php.

testSetAndGetCustomAttributes (  ) 

testSetNewAttributeFromAttributeForm

Definition at line 699 of file DesignerTest.php.

testRemoveAttributeByName (  ) 

testSetAndGetCustomAttributes

Definition at line 745 of file DesignerTest.php.

testModelAttributesAdapterIsStandardAttribute (  ) 

testRemoveAttributeByName

Definition at line 795 of file DesignerTest.php.

testAttributePropertyFormAdapterCanUpdateProperty (  ) 

testModelAttributesAdapterIsStandardAttribute

Definition at line 832 of file DesignerTest.php.

testGetRequiredDerivedLayoutAttributeTypes (  ) 

testAttributePropertyFormAdapterCanUpdateProperty

Definition at line 846 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 873 of file DesignerTest.php.

testStandardAttributeThatBecomesRequiredCanStillBeChangedToBeUnrequired (  ) 

testExistingModelsShowCustomFieldDataCorrectlyWhenAttributeIsAddedAsDatabaseColumn

Definition at line 923 of file DesignerTest.php.

testIsStandardAttributeRequiredByDefault (  ) 

testStandardAttributeThatBecomesRequiredCanStillBeChangedToBeUnrequired

Definition at line 967 of file DesignerTest.php.

testSetMetadataFormLayoutWithAndWithOutRequiredCustomFieldForDropDownDependencyAttribute (  ) 

testIsStandardAttributeRequiredByDefault

Definition at line 979 of file DesignerTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jul 27 07:10:24 2017