PHP 클래스 RedUNIT\Base\Fuse

Tests whether we can associate model logic on-the-fly by defining models extending from SimpleModel. Tests whether the calls to facade trigger the corresponding methods on the model.
저자: Gabor de Mooij and the RedBeanPHP Community
상속: extends RedUNIT\Base
파일 보기 프로젝트 열기: gabordemooij/redbean

공개 메소드들

메소드 설명
testBeutificationOfLinkModel ( ) Make sure that beans of type book_page can be fused with models like BookPage (beautified) as well as Book_Page (non-beautified).
testCustomBeanHelper ( ) : void Test whether we can override the getModelForBean() method of the BeanHelper and use a custom BeanHelper to attach a model based on type.
testFUSE ( ) : void Test FUSE and model formatting.
testFactory ( ) : void Tests the SimpleFacadeBeanHelper factory setter.
testGetExtractedToolBox ( ) : void Test extraction of toolbox.
testHooks ( ) : void Test FUSE hooks (i.e. open, update, update_after etc.
testModelErrorHandling ( ) Test error handling options FUSE.
testTheoreticalBeautifications ( ) : void Only theoretical.

메소드 상세

testBeutificationOfLinkModel() 공개 메소드

Make sure that beans of type book_page can be fused with models like BookPage (beautified) as well as Book_Page (non-beautified).

testCustomBeanHelper() 공개 메소드

Test whether we can override the getModelForBean() method of the BeanHelper and use a custom BeanHelper to attach a model based on type.
public testCustomBeanHelper ( ) : void
리턴 void

testFUSE() 공개 메소드

Test FUSE and model formatting.
public testFUSE ( ) : void
리턴 void

testFactory() 공개 메소드

Tests the SimpleFacadeBeanHelper factory setter.
public testFactory ( ) : void
리턴 void

testGetExtractedToolBox() 공개 메소드

Test extraction of toolbox.
public testGetExtractedToolBox ( ) : void
리턴 void

testHooks() 공개 메소드

.)
public testHooks ( ) : void
리턴 void

testModelErrorHandling() 공개 메소드

Test error handling options FUSE.

testTheoreticalBeautifications() 공개 메소드

Only theoretical.