Show / Hide Table of Contents

    Class SchedulerTests

    Tests for the Scheduler class.

    Inheritance
    System.Object
    SchedulerTests
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Fibula.Scheduling.Tests
    Assembly: Fibula.Scheduling.Tests.dll
    Syntax
    [TestClass]
    public class SchedulerTests

    Methods

    | Improve this Doc View Source

    Cancelling_AllEventsFor()

    Checks that CancelAllFor(UInt32, Type) does what it should.

    Declaration
    [TestMethod]
    public Task Cancelling_AllEventsFor()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous unit test.

    | Improve this Doc View Source

    Cancelling_SingleEvent()

    Checks that CancelEvent(IEvent) does what it should.

    Declaration
    [TestMethod]
    public Task Cancelling_SingleEvent()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous unit test.

    | Improve this Doc View Source

    Event_Expedition_Works()

    Checks that event expedition works as intented.

    Declaration
    [TestMethod]
    public Task Event_Expedition_Works()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous unit test.

    | Improve this Doc View Source

    OnEventFired_IsCalled()

    Checks that EventFired gets fired when an event is scheduled.

    Declaration
    [TestMethod]
    public Task OnEventFired_IsCalled()
    Returns
    Type Description
    System.Threading.Tasks.Task

    A System.Threading.Tasks.Task representing the asynchronous unit test.

    | Improve this Doc View Source

    ScheduleEvent_Throws_WhenBad()

    Checks that ScheduleEvent(IEvent, Nullable<TimeSpan>) throws when needed.

    Declaration
    [TestMethod]
    public void ScheduleEvent_Throws_WhenBad()
    | Improve this Doc View Source

    Scheduler_Initialization()

    Checks Scheduler initialization.

    Declaration
    [TestMethod]
    public void Scheduler_Initialization()

    Extension Methods

    ObjectExtensions.YieldSingleItem<T>(T)
    ObjectExtensions.GetPropertyValue(Object, String)
    Validate.ThrowIfNull(Object, String)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018-2020 | The Fibula Project
    Generated using DocFX | Jose L. Nuñez de Caceres et al.