C# Class Hangfire.Mongo.Tests.MongoWriteOnlyTransactionFacts

Afficher le fichier Open project: Trov/Hangfire.Mongo

Méthodes publiques

Méthode Description
MongoWriteOnlyTransactionFacts ( ) : System

Private Methods

Méthode Description
AddJobState_JustAddsANewRecordInATable ( ) : void
AddRangeToSet_AddToExistingSetData ( ) : void
AddToQueue_CallsEnqueue_OnTargetPersistentQueue ( ) : void
AddToSet_AddsARecord_IfThereIsNo_SuchKeyAndValue ( ) : void
AddToSet_AddsARecord_WhenKeyIsExists_ButValuesAreDifferent ( ) : void
AddToSet_DoesNotAddARecord_WhenBothKeyAndValueAreExist ( ) : void
AddToSet_WithScore_AddsARecordWithScore_WhenBothKeyAndValueAreNotExist ( ) : void
AddToSet_WithScore_UpdatesAScore_WhenBothKeyAndValueAreExist ( ) : void
Commit ( HangfireDbContext connection, Action action ) : void
Ctor_ThrowsAnException_IfConnectionIsNull ( ) : void
Ctor_ThrowsAnException_IfProvidersCollectionIsNull ( ) : void
DecrementCounter_AddsRecordToCounterTable_WithNegativeValue ( ) : void
DecrementCounter_WithExistingKey_AddsAnotherRecord ( ) : void
DecrementCounter_WithExpiry_AddsARecord_WithExpirationTimeSet ( ) : void
ExpireHash_SetsHashExpirationData ( ) : void
ExpireJob_SetsJobExpirationData ( ) : void
ExpireList_SetsListExpirationData ( ) : void
ExpireSet_SetsSetExpirationData ( ) : void
GetTestHash ( HangfireDbContext database, string key ) : dynamic
GetTestJob ( HangfireDbContext database, int jobId ) : dynamic
GetTestList ( HangfireDbContext database, string key ) : dynamic
GetTestSet ( HangfireDbContext database, string key ) : IList
IncrementCounter_AddsRecordToCounterTable_WithPositiveValue ( ) : void
IncrementCounter_WithExistingKey_AddsAnotherRecord ( ) : void
IncrementCounter_WithExpiry_AddsARecord_WithExpirationTimeSet ( ) : void
InsertToList_AddsARecord_WithGivenValues ( ) : void
InsertToList_AddsAnotherRecord_WhenBothKeyAndValueAreExist ( ) : void
PersistHash_ClearsTheHashExpirationData ( ) : void
PersistJob_ClearsTheJobExpirationData ( ) : void
PersistList_ClearsTheListExpirationData ( ) : void
PersistSet_ClearsTheSetExpirationData ( ) : void
RemoveFromList_DoesNotRemoveRecords_WithSameKey_ButDifferentValue ( ) : void
RemoveFromList_DoesNotRemoveRecords_WithSameValue_ButDifferentKey ( ) : void
RemoveFromList_RemovesAllRecords_WithGivenKeyAndValue ( ) : void
RemoveFromSet_DoesNotRemoveRecord_WithSameKey_AndDifferentValue ( ) : void
RemoveFromSet_DoesNotRemoveRecord_WithSameValue_AndDifferentKey ( ) : void
RemoveFromSet_RemovesARecord_WithGivenKeyAndValue ( ) : void
RemoveHash_RemovesAllHashRecords ( ) : void
RemoveHash_ThrowsAnException_WhenKeyIsNull ( ) : void
RemoveSet_ClearsTheSetData ( ) : void
SetJobState_AppendsAStateAndSetItToTheJob ( ) : void
SetRangeInHash_MergesAllRecords ( ) : void
SetRangeInHash_ThrowsAnException_WhenKeyIsNull ( ) : void
SetRangeInHash_ThrowsAnException_WhenKeyValuePairsArgumentIsNull ( ) : void
TrimList_RemovesAllRecords_IfStartFromGreaterThanEndingAt ( ) : void
TrimList_RemovesAllRecords_WhenStartingFromValue_GreaterThanMaxElementIndex ( ) : void
TrimList_RemovesRecordsToEnd_IfKeepAndingAt_GreaterThanMaxElementIndex ( ) : void
TrimList_RemovesRecords_OnlyOfAGivenKey ( ) : void
TrimList_TrimsAList_ToASpecifiedRange ( ) : void
UseConnection ( Action action ) : void

Method Details

MongoWriteOnlyTransactionFacts() public méthode

public MongoWriteOnlyTransactionFacts ( ) : System
Résultat System