C# Class Hangfire.Mongo.Tests.MongoMonitoringApiFacts

显示文件 Open project: Trov/Hangfire.Mongo

Public Methods

Method Description
MongoMonitoringApiFacts ( ) : System
SampleMethod ( string arg ) : void

Private Methods

Method 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 method

public MongoMonitoringApiFacts ( ) : System
return System

SampleMethod() public static method

public static SampleMethod ( string arg ) : void
arg string
return void