C# 클래스 Tests.CommonTests

파일 보기 프로젝트 열기: victorarias/PersistentQueue

보호된 프로퍼티들

프로퍼티 타입 설명
factory IPersistentQueueFactory

공개 메소드들

메소드 설명
BuildFactory ( ) : IPersistentQueueFactory

Abstract method used to build the tested Class' factory

CommonTests ( ) : System
Create ( string queueName ) : IPersistentQueue

Shortcut to call Create(string name) on the concrete test class' factory

CreateNew ( ) : IPersistentQueue

Shortcut to call CreateNew() on the concrete test class' factory

CreateNew ( string queueName ) : IPersistentQueue

Shortcut to call CreateNew(string name) on the concrete test class' factory

InstanceTypeCheck ( ) : void

Performs type checks on the Interfaces returned by factory methods

비공개 메소드들

메소드 설명
Init ( ) : void
ShouldBeAbleToDequeueAComplexObjectAfterDisposeAndRecreation ( ) : void
ShouldHideInvisibleItemFromPeek ( ) : void
ShouldHideInvisibleMessages ( ) : void
ShouldHideInvisibleMessagesUntilTimeout ( ) : void
ShouldQueueAndDequeueInt ( ) : void
ShouldQueueAndDequeueString ( ) : void
ShouldQueueAndPeekString ( ) : void
ShouldRemoveInvisibleItemWhenDeleted ( ) : void
ShouldReturnNullWhenQueueIsEmpty ( ) : void
ShouldReturnSameQueueIfTheNameIsEqualToAnother ( ) : void
ShouldThrownExceptionTryingToCreateNewThatAlreadyExists ( ) : void

메소드 상세

BuildFactory() 공개 추상적인 메소드

Abstract method used to build the tested Class' factory
public abstract BuildFactory ( ) : IPersistentQueueFactory
리턴 IPersistentQueueFactory

CommonTests() 공개 메소드

public CommonTests ( ) : System
리턴 System

Create() 공개 메소드

Shortcut to call Create(string name) on the concrete test class' factory
public Create ( string queueName ) : IPersistentQueue
queueName string
리턴 IPersistentQueue

CreateNew() 공개 메소드

Shortcut to call CreateNew() on the concrete test class' factory
public CreateNew ( ) : IPersistentQueue
리턴 IPersistentQueue

CreateNew() 공개 메소드

Shortcut to call CreateNew(string name) on the concrete test class' factory
public CreateNew ( string queueName ) : IPersistentQueue
queueName string
리턴 IPersistentQueue

InstanceTypeCheck() 공개 추상적인 메소드

Performs type checks on the Interfaces returned by factory methods
public abstract InstanceTypeCheck ( ) : void
리턴 void

프로퍼티 상세

factory 보호되어 있는 프로퍼티

A Factory that builds the test class
protected IPersistentQueueFactory factory
리턴 IPersistentQueueFactory