PHP Класс lithium\tests\cases\data\source\mongo_db\ExporterTest

Наследование: extends lithium\test\Unit
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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