C# Class Hangfire.Mongo.Tests.MongoConnectionFacts

Afficher le fichier Open project: Trov/Hangfire.Mongo

Méthodes publiques

Méthode Description
MongoConnectionFacts ( ) : System
SampleMethod ( string arg ) : void

Private Methods

Méthode Description
AcquireLock_ReturnsNonNullInstance ( ) : void
AnnounceServer_CreatesOrUpdatesARecord ( ) : void
AnnounceServer_ThrowsAnException_WhenContextIsNull ( ) : void
AnnounceServer_ThrowsAnException_WhenServerIdIsNull ( ) : void
CreateExpiredJob_CreatesAJobInTheStorage_AndSetsItsParameters ( ) : void
CreateExpiredJob_ThrowsAnException_WhenJobIsNull ( ) : void
CreateExpiredJob_ThrowsAnException_WhenParametersCollectionIsNull ( ) : void
CreateWriteTransaction_ReturnsNonNullInstance ( ) : void
Ctor_ThrowsAnException_WhenConnectionIsNull ( ) : void
Ctor_ThrowsAnException_WhenProvidersCollectionIsNull ( ) : void
FetchNextJob_DelegatesItsExecution_ToTheQueue ( ) : void
FetchNextJob_Throws_IfMultipleProvidersResolved ( ) : void
GetAllEntriesFromHash_ReturnsAllKeysAndTheirValues ( ) : void
GetAllEntriesFromHash_ReturnsNull_IfHashDoesNotExist ( ) : void
GetAllEntriesFromHash_ThrowsAnException_WhenKeyIsNull ( ) : void
GetAllItemsFromList_ReturnsAllItems_FromAGivenList ( ) : void
GetAllItemsFromList_ReturnsAnEmptyList_WhenListDoesNotExist ( ) : void
GetAllItemsFromList_ThrowsAnException_WhenKeyIsNull ( ) : void
GetAllItemsFromSet_ReturnsAllItems ( ) : void
GetAllItemsFromSet_ReturnsEmptyCollection_WhenKeyDoesNotExist ( ) : void
GetAllItemsFromSet_ThrowsAnException_WhenKeyIsNull ( ) : void
GetCounter_IncludesValues_FromCounterAggregateTable ( ) : void
GetCounter_ReturnsSumOfValues_InCounterTable ( ) : void
GetCounter_ReturnsZero_WhenKeyDoesNotExist ( ) : void
GetCounter_ThrowsAnException_WhenKeyIsNull ( ) : void
GetFirstByLowestScoreFromSet_ReturnsNull_WhenTheKeyDoesNotExist ( ) : void
GetFirstByLowestScoreFromSet_ReturnsTheValueWithTheLowestScore ( ) : void
GetFirstByLowestScoreFromSet_ThrowsAnException_ToScoreIsLowerThanFromScore ( ) : void
GetFirstByLowestScoreFromSet_ThrowsAnException_WhenKeyIsNull ( ) : void
GetHashCount_ReturnsNumber_OfHashFields ( ) : void
GetHashCount_ReturnsZero_WhenKeyDoesNotExist ( ) : void
GetHashCount_ThrowsAnException_WhenKeyIsNull ( ) : void
GetHashTtl_ReturnsExpirationTimeForHash ( ) : void
GetHashTtl_ReturnsNegativeValue_WhenHashDoesNotExist ( ) : void
GetHashTtl_ThrowsAnException_WhenKeyIsNull ( ) : void
GetJobData_ReturnsJobLoadException_IfThereWasADeserializationException ( ) : void
GetJobData_ReturnsNull_WhenThereIsNoSuchJob ( ) : void
GetJobData_ReturnsResult_WhenJobExists ( ) : void
GetJobData_ThrowsAnException_WhenJobIdIsNull ( ) : void
GetListCount_ReturnsTheNumberOfListElements ( ) : void
GetListCount_ReturnsZero_WhenListDoesNotExist ( ) : void
GetListCount_ThrowsAnException_WhenKeyIsNull ( ) : void
GetListTtl_ReturnsExpirationTimeForList ( ) : void
GetListTtl_ReturnsNegativeValue_WhenListDoesNotExist ( ) : void
GetListTtl_ThrowsAnException_WhenKeyIsNull ( ) : void
GetParameter_ReturnsNull_WhenParameterDoesNotExists ( ) : void
GetParameter_ReturnsParameterValue_WhenJobExists ( ) : void
GetParameter_ThrowsAnException_WhenJobIdIsNull ( ) : void
GetParameter_ThrowsAnException_WhenNameIsNull ( ) : void
GetRangeFromList_ReturnsAllEntries_WithinGivenBounds ( ) : void
GetRangeFromList_ReturnsAnEmptyList_WhenListDoesNotExist ( ) : void
GetRangeFromList_ThrowsAnException_WhenKeyIsNull ( ) : void
GetRangeFromSet_ReturnsPagedElements ( ) : void
GetRangeFromSet_ThrowsAnException_WhenKeyIsNull ( ) : void
GetSetCount_ReturnsNumberOfElements_InASet ( ) : void
GetSetCount_ReturnsZero_WhenSetDoesNotExist ( ) : void
GetSetCount_ThrowsAnException_WhenKeyIsNull ( ) : void
GetSetTtl_ReturnsExpirationTime_OfAGivenSet ( ) : void
GetSetTtl_ReturnsNegativeValue_WhenSetDoesNotExist ( ) : void
GetSetTtl_ThrowsAnException_WhenKeyIsNull ( ) : void
GetStateData_ReturnsCorrectData ( ) : void
GetStateData_ReturnsNull_IfThereIsNoSuchState ( ) : void
GetStateData_ThrowsAnException_WhenJobIdIsNull ( ) : void
GetValueFromHash_ReturnsNull_WhenHashDoesNotExist ( ) : void
GetValueFromHash_ReturnsValue_OfAGivenField ( ) : void
GetValueFromHash_ThrowsAnException_WhenKeyIsNull ( ) : void
GetValueFromHash_ThrowsAnException_WhenNameIsNull ( ) : void
Heartbeat_ThrowsAnException_WhenServerIdIsNull ( ) : void
Heartbeat_UpdatesLastHeartbeat_OfTheServerWithGivenId ( ) : void
RemoveServer_RemovesAServerRecord ( ) : void
RemoveServer_ThrowsAnException_WhenServerIdIsNull ( ) : void
RemoveTimedOutServers_DoItsWorkPerfectly ( ) : void
RemoveTimedOutServers_ThrowsAnException_WhenTimeOutIsNegative ( ) : void
SetParameter_CanAcceptNulls_AsValues ( ) : void
SetParameter_ThrowsAnException_WhenJobIdIsNull ( ) : void
SetParameter_ThrowsAnException_WhenNameIsNull ( ) : void
SetParameter_UpdatesValue_WhenParameterWithTheGivenName_AlreadyExists ( ) : void
SetParameters_CreatesNewParameter_WhenParameterWithTheGivenNameDoesNotExists ( ) : void
SetRangeInHash_MergesAllRecords ( ) : void
SetRangeInHash_ThrowsAnException_WhenKeyIsNull ( ) : void
SetRangeInHash_ThrowsAnException_WhenKeyValuePairsArgumentIsNull ( ) : void
UseConnection ( MongoConnection>.Action action ) : void

Method Details

MongoConnectionFacts() public méthode

public MongoConnectionFacts ( ) : System
Résultat System

SampleMethod() public static méthode

public static SampleMethod ( string arg ) : void
arg string
Résultat void