Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

AttributesTest Class Reference

Inheritance diagram for AttributesTest:
ZurmoBaseTest BaseTest

Public Member Functions

 setup ()
 testUsingReservedCharactersToMakeAnAttribute ()
 testSetManyTextAreaFields ()
 testSetAndGetCheckBoxAttribute ()
 testSetAndGetCurrencyAttribute ()
 testSetAndGetDateAttribute ()
 testSetAndGetDateTimeAttribute ()
 testChangeDefaultValueCalculationTypeToNullOnDateTimeAttribute ()
 testSetAndGetDecimalAttribute ()
 testSetAndGetDropDownAttribute ()
 testSetAndGetIntegerAttribute ()
 testSetAndGetIntegerAttributeWithNoMinOrMax ()
 testSetAndGetMultiSelectDropDownAttribute ()
 testSetAndGetTagCloudAttribute ()
 testSetAndGetDropDownDependencyAttribute ()
 setAndGetDropDownDependencyAttributeWithTwoLevelDependency ()
 testSetAndGetCalculatedNumberAttribute ()
 testSetAndGetPhoneAttribute ()
 testSetAndGetRadioDropDownAttribute ()
 testSetAndGetTextAttribute ()
 testSetAndGetTextAreaAttribute ()
 testSetAndGetUrlAttribute ()
 testCreateDropDownWithMixedCaseAttributeName ()
 testPopulateCustomAttributes ()
 testPopulateCustomAttributesWithAValueTooLarge ()
 testSetSameAttributeNameOnSameModelClassName ()
 testSetSameAttributeNameOnDifferenteModelClassNames ()

Static Public Member Functions

static setUpBeforeClass ()

Static Public Attributes

static $activateDefaultLanguages = true

Protected Member Functions

 setAndGetCheckBoxAttribute ($attributeName, $withDefaultData)
 setAndGetDateAttribute ($attributeName, $withDefaultData)
 setAndGetDateTimeAttribute ($attributeName, $withDefaultData)
 setAndGetDecimalAttribute ($attributeName, $withDefaultData)
 setAndGetIntegerAttribute ($attributeName, $withDefaultData)
 setAndGetMultiSelectDropDownAttribute ($attributeName, $withDefaultData)
 setAndGetTagCloudAttribute ($attributeName, $withDefaultData)
 setAndGetDropDownDependencyAttributeWithThreeLevelDependency ()
 setAndGetPhoneAttribute ($attributeName, $withDefaultData)
 setAndGetTextAttribute ($attributeName, $withDefaultData)
 setAndGetTextAreaAttribute ($attributeName, $withDefaultData)
 setAndGetUrlAttribute ($attributeName, $withDefaultData)

Detailed Description

Definition at line 37 of file AttributesTest.php.


Member Function Documentation

testSetManyTextAreaFields (  ) 

Test if we don't receive error related to database rowsize limit

Definition at line 87 of file AttributesTest.php.

testSetAndGetCurrencyAttribute (  ) 

testSetAndGetCheckBoxAttribute

Definition at line 186 of file AttributesTest.php.

testSetAndGetDateAttribute (  ) 

testSetAndGetCurrencyAttribute

Definition at line 229 of file AttributesTest.php.

testSetAndGetDateTimeAttribute (  ) 

testSetAndGetDateAttribute

Definition at line 304 of file AttributesTest.php.

testChangeDefaultValueCalculationTypeToNullOnDateTimeAttribute (  ) 

testSetAndGetDateTimeAttribute

Definition at line 382 of file AttributesTest.php.

testSetAndGetDecimalAttribute (  ) 

testChangeDefaultValueCalculationTypeToNullOnDateTimeAttribute

Definition at line 433 of file AttributesTest.php.

testSetAndGetDropDownAttribute (  ) 

testSetAndGetDecimalAttribute

Definition at line 516 of file AttributesTest.php.

testSetAndGetIntegerAttribute (  ) 

testSetAndGetDropDownAttribute

Definition at line 613 of file AttributesTest.php.

testSetAndGetIntegerAttributeWithNoMinOrMax (  ) 

testSetAndGetIntegerAttribute

Definition at line 702 of file AttributesTest.php.

testSetAndGetMultiSelectDropDownAttribute (  ) 

testSetAndGetIntegerAttributeWithNoMinOrMax

Definition at line 763 of file AttributesTest.php.

testSetAndGetTagCloudAttribute (  ) 

testSetAndGetMultiSelectDropDownAttribute

Definition at line 895 of file AttributesTest.php.

testSetAndGetDropDownDependencyAttribute (  ) 

testSetAndGetTagCloudAttribute

Definition at line 1018 of file AttributesTest.php.

testSetAndGetCalculatedNumberAttribute (  ) 

testSetAndGetDropDownDependencyAttribute

Definition at line 1491 of file AttributesTest.php.

testSetAndGetPhoneAttribute (  ) 

testSetAndGetCalculatedNumberAttribute

Definition at line 1534 of file AttributesTest.php.

testSetAndGetRadioDropDownAttribute (  ) 

testSetAndGetPhoneAttribute

Definition at line 1615 of file AttributesTest.php.

testSetAndGetTextAttribute (  ) 

testSetAndGetRadioDropDownAttribute

Definition at line 1675 of file AttributesTest.php.

testSetAndGetTextAreaAttribute (  ) 

testSetAndGetTextAttribute

Definition at line 1744 of file AttributesTest.php.

testSetAndGetUrlAttribute (  ) 

testSetAndGetTextAreaAttribute

Definition at line 1811 of file AttributesTest.php.

testCreateDropDownWithMixedCaseAttributeName (  ) 

testSetAndGetUrlAttribute

Definition at line 1880 of file AttributesTest.php.

testPopulateCustomAttributes (  ) 

testCreateDropDownWithMixedCaseAttributeName

Definition at line 1916 of file AttributesTest.php.

testPopulateCustomAttributesWithAValueTooLarge (  ) 

testPopulateCustomAttributes

Definition at line 2125 of file AttributesTest.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Wed Jan 23 07:10:22 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8