PHP Class RedUNIT\Mysql\Writer

Tests for MySQL and MariaDB Query Writer. This test class contains Query Writer specific tests. Use this class to add tests to test Query Writer specific behaviours, quirks and issues.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Mysql
Show file Open project: gabordemooij/redbean

Public Methods

Method Description
testFunctionFilters ( ) Test Facade bind function method.
testScanningAndCoding ( ) : void Test scanning and coding of values.
testTypes ( ) : void Test special data types.
testTypesDateTimes ( ) : void Date-time
testTypesDates ( ) : void Test date types.
testTypesMon ( ) : void Test money types.
testZeroIssue ( ) : voids (FALSE should be stored as 0 not as '')

Protected Methods

Method Description
setGetSpatial ( $data ) : void Stored and reloads spatial data to see if the value is preserved correctly.

Method Details

setGetSpatial() protected method

Stored and reloads spatial data to see if the value is preserved correctly.
protected setGetSpatial ( $data ) : void
return void

testFunctionFilters() public method

Test for MySQL WKT spatial format.
public testFunctionFilters ( )

testScanningAndCoding() public method

Test scanning and coding of values.
public testScanningAndCoding ( ) : void
return void

testTypes() public method

Test special data types.
public testTypes ( ) : void
return void

testTypesDateTimes() public method

Date-time
public testTypesDateTimes ( ) : void
return void

testTypesDates() public method

Test date types.
public testTypesDates ( ) : void
return void

testTypesMon() public method

Test money types.
public testTypesMon ( ) : void
return void

testZeroIssue() public method

(FALSE should be stored as 0 not as '')
public testZeroIssue ( ) : voids
return voids