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
Afficher le fichier Open project: gabordemooij/redbean

Méthodes publiques

Méthode 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 '')

Méthodes protégées

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

Method Details

setGetSpatial() protected méthode

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

testFunctionFilters() public méthode

Test for MySQL WKT spatial format.
public testFunctionFilters ( )

testScanningAndCoding() public méthode

Test scanning and coding of values.
public testScanningAndCoding ( ) : void
Résultat void

testTypes() public méthode

Test special data types.
public testTypes ( ) : void
Résultat void

testTypesDateTimes() public méthode

Date-time
public testTypesDateTimes ( ) : void
Résultat void

testTypesDates() public méthode

Test date types.
public testTypesDates ( ) : void
Résultat void

testTypesMon() public méthode

Test money types.
public testTypesMon ( ) : void
Résultat void

testZeroIssue() public méthode

(FALSE should be stored as 0 not as '')
public testZeroIssue ( ) : voids
Résultat voids