PHP Класс RedUNIT\Blackhole\Misc

This test suite contains tests for a various functionalities and scenarios. For more details please consult the document section attached to each individual test method listed here.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Blackhole
Показать файл Открыть проект

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

Метод Описание
getTargetDrivers ( ) * What drivers should be loaded for this test pack?
testAddingTwice ( ) Adding a database twice no longer allowed, causes confusion and possible damage.
testBatch0 ( ) : void Test whether batch still works if no IDs have been passed.
testBeansToArray ( ) : void Tests beansToArray().
testCamel2Snake ( ) : void Test camelCase to snake_case conversions.
testConnect ( ) : void Test whether connection failure does not reveal credentials.
testConv2Beans ( )
testDebugCustomLogger ( ) : void Test debugging with custom logger.
testGetIDShouldNeverPrintNotice ( ) : void Tests whether getID never produces a notice.
testIntegerBindingMax ( ) : void Tests max parameter binding.
testInvalidDebugModeException ( ) Should not be able to pass invalid mode (must be 0 or 1).
testInvalidType ( ) : void Test the most important invalid bean combinations.
testJSONSerialize ( ) : void Test whether we can use the JSONSerializable interface and whether old-style JSON is still the same (backwards compatibility).
testSetProperty ( ) : void Tests setProperty.
testSetup ( ) : void Test whether we can create an instant database using R::setup().
testTransactionInFacade ( ) : void Test Facade transactions.

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

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

* What drivers should be loaded for this test pack?
public getTargetDrivers ( )

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

Adding a database twice no longer allowed, causes confusion and possible damage.
public testAddingTwice ( )

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

Test whether batch still works if no IDs have been passed.
public testBatch0 ( ) : void
Результат void

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

Tests beansToArray().
public testBeansToArray ( ) : void
Результат void

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

Test camelCase to snake_case conversions.
public testCamel2Snake ( ) : void
Результат void

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

Test whether connection failure does not reveal credentials.
public testConnect ( ) : void
Результат void

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

public testConv2Beans ( )

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

Test debugging with custom logger.
public testDebugCustomLogger ( ) : void
Результат void

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

Tests whether getID never produces a notice.
public testGetIDShouldNeverPrintNotice ( ) : void
Результат void

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

Tests max parameter binding.
public testIntegerBindingMax ( ) : void
Результат void

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

Should not be able to pass invalid mode (must be 0 or 1).

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

Test the most important invalid bean combinations.
public testInvalidType ( ) : void
Результат void

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

Test whether we can use the JSONSerializable interface and whether old-style JSON is still the same (backwards compatibility).
public testJSONSerialize ( ) : void
Результат void

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

Tests setProperty.
public testSetProperty ( ) : void
Результат void

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

Probably only works on *NIX systems.
public testSetup ( ) : void
Результат void

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

Test Facade transactions.
public testTransactionInFacade ( ) : void
Результат void