PHP Class RedUNIT\Sqlite\Setget

This class has been designed to test set/get operations for a specific Query Writer / Adapter. Since RedBeanPHP creates columns based on values it's essential that you get back the 'same' value as you put in - or - if that's not the case, that there are at least very clear rules about what to expect. Examples of possible issues tested in this class include: - Test whether booleans are returned correctly (they will become integers) - Test whether large numbers are preserved - Test whether floating point numbers are preserved - Test whether date/time values are preserved and so on...
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Sqlite
Show file Open project: gabordemooij/redbean

Public Methods

Method Description
testBool ( ) : void Test booleans.
testDates ( ) : void Test dates.
testNull ( ) : void Test NULL.
testNumbers ( ) : void Test numbers.
testStrings ( ) : void Test strings.

Method Details

testBool() public method

Test booleans.
public testBool ( ) : void
return void

testDates() public method

Test dates.
public testDates ( ) : void
return void

testNull() public method

Test NULL.
public testNull ( ) : void
return void

testNumbers() public method

Test numbers.
public testNumbers ( ) : void
return void

testStrings() public method

Test strings.
public testStrings ( ) : void
return void