PHP Класс ImboUnitTest\Database\MongoDBTest

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

Открытые методы

Метод Описание
setUp ( ) Set up the mongo and collection mocks and the driver that we want to test
tearDown ( ) Teardown the instances
testGetStatusWhenMongoIsConnectable ( )
testGetStatusWhenMongoIsNotConnectable ( )
testThrowsExceptionWhenMongoFailsDuringDeleteImage ( )
testThrowsExceptionWhenMongoFailsDuringDeleteMetadata ( )
testThrowsExceptionWhenMongoFailsDuringGetImageMimeType ( )
testThrowsExceptionWhenMongoFailsDuringGetImages ( )
testThrowsExceptionWhenMongoFailsDuringGetLastModified ( )
testThrowsExceptionWhenMongoFailsDuringGetMetadata ( )
testThrowsExceptionWhenMongoFailsDuringGetNumImages ( )
testThrowsExceptionWhenMongoFailsDuringInsertImage ( )
testThrowsExceptionWhenMongoFailsDuringInsertImageAndImageAlreadyExists ( )
testThrowsExceptionWhenMongoFailsDuringLoad ( )
testThrowsExceptionWhenMongoFailsDuringUpdateMetadata ( )
testThrowsExceptionWhenNotAbleToGetCollection ( )

Описание методов

setUp() публичный Метод

Set up the mongo and collection mocks and the driver that we want to test
public setUp ( )

tearDown() публичный Метод

Teardown the instances
public tearDown ( )

testGetStatusWhenMongoIsConnectable() публичный Метод

testGetStatusWhenMongoIsNotConnectable() публичный Метод

testThrowsExceptionWhenMongoFailsDuringDeleteImage() публичный Метод

testThrowsExceptionWhenMongoFailsDuringDeleteMetadata() публичный Метод

testThrowsExceptionWhenMongoFailsDuringGetImageMimeType() публичный Метод

testThrowsExceptionWhenMongoFailsDuringGetImages() публичный Метод

testThrowsExceptionWhenMongoFailsDuringGetLastModified() публичный Метод

testThrowsExceptionWhenMongoFailsDuringGetMetadata() публичный Метод

testThrowsExceptionWhenMongoFailsDuringGetNumImages() публичный Метод

testThrowsExceptionWhenMongoFailsDuringInsertImage() публичный Метод

testThrowsExceptionWhenMongoFailsDuringInsertImageAndImageAlreadyExists() публичный Метод

testThrowsExceptionWhenMongoFailsDuringLoad() публичный Метод

testThrowsExceptionWhenMongoFailsDuringUpdateMetadata() публичный Метод

testThrowsExceptionWhenNotAbleToGetCollection() публичный Метод