Show / Hide Table of Contents

    Class GameListenerTests

    Tests for the GameListener<TConnectionFactory> class.

    Inheritance
    System.Object
    GameListenerTests
    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.Communications.Listeners.Tests
    Assembly: Fibula.Communications.Tests.dll
    Syntax
    [TestClass]
    public class GameListenerTests

    Methods

    | Improve this Doc View Source

    GameListener_CallsNewConnectionEvent()

    Checks that the GameListener<TConnectionFactory> invokes the NewConnection event.

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

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

    | Improve this Doc View Source

    GameListener_Initialization()

    Checks GameListener<TConnectionFactory> initialization.

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

    GameListener_OptionsValidation()

    Checks the GameListener<TConnectionFactory>'s options validation.

    Declaration
    [TestMethod]
    public void GameListener_OptionsValidation()

    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.