C# Class Hangfire.Mongo.Tests.MongoMonitoringApiFacts

Afficher le fichier Open project: Trov/Hangfire.Mongo

Méthodes publiques

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

Private Methods

Méthode Description
CreateJobInState ( HangfireDbContext database, int jobId, string stateName ) : JobDto
EnqueuedJobs_ReturnsEmpty_WhenOneJobExistsThatIsFetched ( ) : void
EnqueuedJobs_ReturnsEmpty_WhenThereIsNoJobs ( ) : void
EnqueuedJobs_ReturnsSingleJob_WhenOneJobExistsThatIsNotFetched ( ) : void
EnqueuedJobs_ReturnsUnfetchedJobsOnly_WhenMultipleJobsExistsInFetchedAndUnfetchedStates ( ) : void
FetchedJobs_ReturnsEmpty_WhenOneJobExistsThatIsNotFetched ( ) : void
FetchedJobs_ReturnsEmpty_WhenThereIsNoJobs ( ) : void
FetchedJobs_ReturnsFetchedJobsOnly_WhenMultipleJobsExistsInFetchedAndUnfetchedStates ( ) : void
FetchedJobs_ReturnsSingleJob_WhenOneJobExistsThatIsFetched ( ) : void
GetStatistics_ReturnsExpectedCounts_WhenJobsExist ( ) : void
GetStatistics_ReturnsZero_WhenNoJobsExist ( ) : void
JobDetails_ReturnsNull_WhenThereIsNoSuchJob ( ) : void
JobDetails_ReturnsResult_WhenJobExists ( ) : void
UseMonitoringApi ( MongoMonitoringApi>.Action action ) : void

Method Details

MongoMonitoringApiFacts() public méthode

public MongoMonitoringApiFacts ( ) : System
Résultat System

SampleMethod() public static méthode

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