C# Class WebApplications.Utilities.Scheduling.Test.SchedulerTester

Afficher le fichier Open project: webappsuk/CoreLibraries Class Usage Examples

Méthodes publiques

Méthode Description
AddTest ( [ schedule, [ expectedResults, ScheduledFunction function = null ) : ScheduledFunction
AddTest ( [ scheduledFunction, [ expectedResults ) : ScheduledFunction
CheckResults ( ) : void
Completed ( ) : bool
OutputResult ( ScheduledFunctionResult result ) : void
OutputResult ( ScheduledFunctionResult result, DateTime startTime, TimeSpan expectedTimeSpan, bool failed = false ) : void
Run ( ) : void
SchedulerTester ( )
SetStartTime ( ) : void
Start ( ) : void
Stop ( ) : void
WaitForStartOfSecond ( bool requireEven = false ) : void

Method Details

AddTest() public méthode

public AddTest ( [ schedule, [ expectedResults, ScheduledFunction function = null ) : ScheduledFunction
schedule [
expectedResults [
function ScheduledFunction
Résultat ScheduledFunction

AddTest() public méthode

public AddTest ( [ scheduledFunction, [ expectedResults ) : ScheduledFunction
scheduledFunction [
expectedResults [
Résultat ScheduledFunction

CheckResults() public méthode

public CheckResults ( ) : void
Résultat void

Completed() public méthode

public Completed ( ) : bool
Résultat bool

OutputResult() public static méthode

public static OutputResult ( ScheduledFunctionResult result ) : void
result ScheduledFunctionResult
Résultat void

OutputResult() public static méthode

public static OutputResult ( ScheduledFunctionResult result, DateTime startTime, TimeSpan expectedTimeSpan, bool failed = false ) : void
result ScheduledFunctionResult
startTime DateTime
expectedTimeSpan TimeSpan
failed bool
Résultat void

Run() public méthode

public Run ( ) : void
Résultat void

SchedulerTester() public méthode

public SchedulerTester ( )

SetStartTime() public méthode

public SetStartTime ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

WaitForStartOfSecond() public static méthode

public static WaitForStartOfSecond ( bool requireEven = false ) : void
requireEven bool
Résultat void