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
파일 보기 프로젝트 열기: gabordemooij/redbean

공개 메소드들

메소드 설명
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.

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