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 SourceGameListener_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. |
GameListener_Initialization()
Checks GameListener<TConnectionFactory> initialization.
Declaration
[TestMethod]
public void GameListener_Initialization()
GameListener_OptionsValidation()
Checks the GameListener<TConnectionFactory>'s options validation.
Declaration
[TestMethod]
public void GameListener_OptionsValidation()