PHP 클래스 RedUNIT\Base\Dup

Tests duplication. Like the 'copy' test suite but focuses on more complex scenarios.
저자: Gabor de Mooij and the RedBeanPHP Community
상속: extends RedUNIT\Base
파일 보기 프로젝트 열기: gabordemooij/redbean

공개 메소드들

메소드 설명
DupAndCache ( ) : void Test duplication and caching.
ExportWithFilters ( ) : void Test exporting with filters.
testDupAndExportNonTainting ( ) : void Test duplication and tainting.
testDupPortionOfATree ( ) : void Test whether we can duplicate part of a tree without infinite loops.
testExportAllAndCache ( ) : void Test exportAll and caching.
testExportCamelCase ( ) : void Test export camelCase.
testKeepOldID ( ) Tests whether the original ID is stored in meta data (quite handy for ID mappings).

비공개 메소드들

메소드 설명
compare ( type $object, type $array ) Compares object with export
getCache ( ) : array Helper function getCache().
runOnce ( $n = TRUE ) Run tests

메소드 상세

DupAndCache() 공개 메소드

Test duplication and caching.
public DupAndCache ( ) : void
리턴 void

ExportWithFilters() 공개 메소드

Test exporting with filters.
public ExportWithFilters ( ) : void
리턴 void

testDupAndExportNonTainting() 공개 메소드

Test duplication and tainting.
public testDupAndExportNonTainting ( ) : void
리턴 void

testDupPortionOfATree() 공개 메소드

Test whether we can duplicate part of a tree without infinite loops.
public testDupPortionOfATree ( ) : void
리턴 void

testExportAllAndCache() 공개 메소드

Test exportAll and caching.
public testExportAllAndCache ( ) : void
리턴 void

testExportCamelCase() 공개 메소드

Test export camelCase.
public testExportCamelCase ( ) : void
리턴 void

testKeepOldID() 공개 메소드

Tests whether the original ID is stored in meta data (quite handy for ID mappings).
public testKeepOldID ( )