ImportDataAnalyzerTest Class Reference

Inheritance diagram for ImportDataAnalyzerTest:
ImportBaseTest ZurmoBaseTest BaseTest

Public Member Functions

 testBooleanAcceptableValuesMappingAndSqlOneOfString ()
 testImportDataAnalysisResultsForMultiSelectWithNothingWrong ()
 testImportDataAnalysisResultsForMultiSelectMissingMappingRuleForm ()
 testImportDataAnalysisResults ()
 testMinimumLengthsUsingBatchAnalyzers ()

Static Public Member Functions

static setUpBeforeClass ()
static getDependentTestModelClassNames ()

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 (  ) 


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 (  ) 


Definition at line 192 of file ImportDataAnalyzerTest.php.

testMinimumLengthsUsingBatchAnalyzers (  ) 


Definition at line 695 of file ImportDataAnalyzerTest.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Aug 20 07:10:26 2017