PHP 클래스 lithium\tests\cases\data\source\mongo_db\ExporterTest

상속: extends lithium\test\Unit
파일 보기 프로젝트 열기: unionofrad/lithium

보호된 프로퍼티들

프로퍼티 타입 설명
$_handlers
$_model
$_schema

공개 메소드들

메소드 설명
setUp ( )
skip ( )
tearDown ( )
testAppendExistingObjects ( ) Tests that when an existing object is attached as a value of another existing object, the whole sub-object is re-written to the new value.
testAppendingNestedObjectArray ( ) Tests that arrays of nested objects can be appended to and will be updated using the proper MongoDB operators.
testArrayConversion ( )
testArrayFieldChange ( ) Allow basic type field to be replaced by a Document / DocumentSet type.
testCreateWithChangedData ( )
testCreateWithFixedData ( )
testCreateWithWhitelist ( )
testEmptyArrayAsDocument ( )
testExistingNestedKeyOverwrite ( ) Tests that a nested key on a previously saved document gets updated properly.
testFieldRemoval ( )
testIndexesOnExportingDocument ( )
testIndexesOnExportingDocumentSet ( )
testInvalid ( )
testNestedArrayMongoIdCasting ( ) Tests the casting of MongoIds in nested arrays.
testNestedObjectCasting ( )
testSubObjectCastingOnSave ( ) Test that sub-objects are properly casted on creating a new Document.
testToDataOnDocument ( )
testToDataOnDocumentSet ( )
testTypeCasting ( ) Tests handling type values based on specified schema settings.
testTypeCastingSubObjectArrays ( ) Tests handling type values of subdocument arrays based on specified schema settings.
testUpdateFromResourceLoading ( )
testUpdateWithNoChanges ( )
testUpdateWithSubObjects ( )
testUpdatingArraysAndExporting ( )
testUpdatingMongoIdArray ( ) Tests that updating arrays of MongoIds correctly preserves their type.
testWithArraySchema ( )

메소드 상세

setUp() 공개 메소드

public setUp ( )

skip() 공개 메소드

public skip ( )

tearDown() 공개 메소드

public tearDown ( )

testAppendExistingObjects() 공개 메소드

Tests that when an existing object is attached as a value of another existing object, the whole sub-object is re-written to the new value.

testAppendingNestedObjectArray() 공개 메소드

Tests that arrays of nested objects can be appended to and will be updated using the proper MongoDB operators.

testArrayConversion() 공개 메소드

public testArrayConversion ( )

testArrayFieldChange() 공개 메소드

Allow basic type field to be replaced by a Document / DocumentSet type.

testCreateWithChangedData() 공개 메소드

testCreateWithFixedData() 공개 메소드

testCreateWithWhitelist() 공개 메소드

testEmptyArrayAsDocument() 공개 메소드

testExistingNestedKeyOverwrite() 공개 메소드

Tests that a nested key on a previously saved document gets updated properly.

testFieldRemoval() 공개 메소드

public testFieldRemoval ( )

testIndexesOnExportingDocument() 공개 메소드

testIndexesOnExportingDocumentSet() 공개 메소드

testInvalid() 공개 메소드

public testInvalid ( )

testNestedArrayMongoIdCasting() 공개 메소드

Tests the casting of MongoIds in nested arrays.

testNestedObjectCasting() 공개 메소드

testSubObjectCastingOnSave() 공개 메소드

Test that sub-objects are properly casted on creating a new Document.

testToDataOnDocument() 공개 메소드

testToDataOnDocumentSet() 공개 메소드

testTypeCasting() 공개 메소드

Tests handling type values based on specified schema settings.
public testTypeCasting ( )

testTypeCastingSubObjectArrays() 공개 메소드

Tests handling type values of subdocument arrays based on specified schema settings.

testUpdateFromResourceLoading() 공개 메소드

testUpdateWithNoChanges() 공개 메소드

testUpdateWithSubObjects() 공개 메소드

testUpdatingArraysAndExporting() 공개 메소드

testUpdatingMongoIdArray() 공개 메소드

Tests that updating arrays of MongoIds correctly preserves their type.

testWithArraySchema() 공개 메소드

public testWithArraySchema ( )

프로퍼티 상세

$_handlers 보호되어 있는 프로퍼티

protected $_handlers

$_model 보호되어 있는 프로퍼티

protected $_model

$_schema 보호되어 있는 프로퍼티

protected $_schema