PHP Класс RedUNIT\Sqlite\Writer

Tests for SQLite 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.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Sqlite
Показать файл Открыть проект

Открытые методы

Метод Описание
testIssue9and10 ( ) : void Various.
testScanningAndCoding ( ) : void Test scanning and coding.
testSpecialDataTypes ( ) : void Test special data types.
testVaria2 ( ) : void Test various.
testZeroIssue ( ) : void (FALSE should be stored as 0 not as '')

Описание методов

testIssue9and10() публичный Метод

Tests whether writer correctly handles keyword 'group' and SQL state 23000 issue. These tests remain here to make sure issues 9 and 10 never happen again. However this bug will probably never re-appear due to changed architecture.
public testIssue9and10 ( ) : void
Результат void

testScanningAndCoding() публичный Метод

Test scanning and coding.
public testScanningAndCoding ( ) : void
Результат void

testSpecialDataTypes() публичный Метод

Test special data types.
public testSpecialDataTypes ( ) : void
Результат void

testVaria2() публичный Метод

Test various somewhat uncommon trash/unassociate scenarios. (i.e. unassociate unrelated beans, trash non-persistant beans etc). Should be handled gracefully - no output checking.
public testVaria2 ( ) : void
Результат void

testZeroIssue() публичный Метод

(FALSE should be stored as 0 not as '')
public testZeroIssue ( ) : void
Результат void