All Data Structures Functions Variables Pages
Public Member Functions | Static Public Member Functions
ImportDataAnalyzerTest Class Reference
Inheritance diagram for ImportDataAnalyzerTest:
ImportBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testBooleanAcceptableValuesMappingAndSqlOneOfString ()
 
 testImportDataAnalysisResultsForMultiSelectWithNothingWrong ()
 
 testImportDataAnalysisResultsForMultiSelectMissingMappingRuleForm ()
 
 testImportDataAnalysisResults ()
 
 testMinimumLengthsUsingBatchAnalyzers ()
 
- Public Member Functions inherited from ZurmoBaseTest
 setUp ()
 
- Public Member Functions inherited from BaseTest
 setup ()
 
 teardown ()
 

Static Public Member Functions

static setUpBeforeClass ()
 
static getDependentTestModelClassNames ()
 
- Static Public Member Functions inherited from ImportBaseTest
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from ZurmoBaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
- Static Public Member Functions inherited from BaseTest
static setUpBeforeClass ()
 
static tearDownAfterClass ()
 
static resetAndPopulateFilesArrayByFilePathAndName ($arrayName, $filePath, $fileName)
 
static getDependentTestModelClassNames ()
 
static getReflectedPropertyValue ($object, $propertyName)
 

Additional Inherited Members

- Static Public Attributes inherited from ZurmoBaseTest
static $activateDefaultLanguages = false
 
- Static Public Attributes inherited from BaseTest
static $activateDefaultLanguages = false
 
- Protected Member Functions inherited from ZurmoBaseTest
 endPrintOutputBufferAndFail ()
 
- Protected Member Functions inherited from BaseTest
 assertWithinTolerance ($expected, $actual, $plusMinus)
 
 assertWithinPercentage ($expected, $actual, $percentage)
 
 isDebug ()
 
- Static Protected Member Functions inherited from ImportBaseTest
static getStringByLength ($length)
 
- Static Protected Member Functions inherited from ZurmoBaseTest
static startOutputBuffer ()
 
static endAndGetOutputBuffer ()
 
- Static Protected Member Functions inherited from BaseTest
static getProtectedMethod ($className, $methodName)
 
- Static Protected Attributes inherited from ZurmoBaseTest
static $activitiesObserver
 
static $conversationsObserver
 
static $emailMessagesObserver
 
static $contactLatestActivityDateTimeObserver
 
static $accountLatestActivityDateTimeObserver
 
static $accountContactAffiliationObserver
 

Detailed Description

Definition at line 37 of file ImportDataAnalyzerTest.php.

Member Function Documentation

testBooleanAcceptableValuesMappingAndSqlOneOfString ( )

This test was needed because of the wierd type casting issues with 0 and 1 and '1' and '0' as keys in an array. '0' and '1' turn into integers which they shouldn't and this messes up the oneOf sql query builder. Additionally on some versions of MySQL, 0,1 in a NOT IN, will evaluate true to 'abc' which it shouldn't. As a result the 0/1 boolean values have been removed from the BooleanSanitizerUtil::getAcceptableValues().

Definition at line 103 of file ImportDataAnalyzerTest.php.

testImportDataAnalysisResultsForMultiSelectWithNothingWrong ( )

testBooleanAcceptableValuesMappingAndSqlOneOfString

Definition at line 114 of file ImportDataAnalyzerTest.php.

testImportDataAnalysisResultsForMultiSelectMissingMappingRuleForm ( )

It should not throw an exception even though the mappingRuleForm is missing. This could happen if the multi-select default value is unselected entirely testImportDataAnalysisResultsForMultiSelectWithNothingWrong

Definition at line 155 of file ImportDataAnalyzerTest.php.

testImportDataAnalysisResults ( )

testImportDataAnalysisResultsForMultiSelectMissingMappingRuleForm

Definition at line 192 of file ImportDataAnalyzerTest.php.

testMinimumLengthsUsingBatchAnalyzers ( )

testImportDataAnalysisResults

Definition at line 695 of file ImportDataAnalyzerTest.php.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 2020 07:10:39