KlusterKite  0.0.0
A framework to create scalable and redundant services based on awesome Akka.Net project.
KlusterKite.NodeManager.Tests.ApiIntegrationTests Class Reference

Integration tests of NodeManager API More...

Inheritance diagram for KlusterKite.NodeManager.Tests.ApiIntegrationTests:
KlusterKite.Core.TestKit.BaseActorTest< ApiIntegrationTests.Configuration >

Classes

class  Configuration
 The test environment configuration More...
 
class  Installer
 The test installer More...
 

Public Member Functions

 ApiIntegrationTests (ITestOutputHelper output)
 Initializes a new instance of the ApiIntegrationTests class. More...
 
async Task StartUpTest ()
 System start check More...
 
async Task RoleUpdate ()
 System start check More...
 
- Public Member Functions inherited from KlusterKite.Core.TestKit.BaseActorTest< ApiIntegrationTests.Configuration >
new TestActorRef< TActor > ActorOfAsTestActorRef< TActor > (Expression< Func< TActor >> factory, string name=null)
 Create a new actor as child of ActorSystem and returns it as TestActorRef<TActor> to enable access to the underlying actor instance via TestActorRefBase<TActor>.UnderlyingActor. Uses an expression that calls the constructor of TActor . More...
 
new TestActorRef< TActor > ActorOfAsTestActorRef< TActor > (Props props, string name=null)
 Create a new actor as child of ActorSystem and returns it as TestActorRef<TActor> to enable access to the underlying actor instance via TestActorRefBase<TActor>.UnderlyingActor. Uses an expression that calls the constructor of TActor . More...
 
virtual void Cleanup ()
 Cleanup after test run More...
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from KlusterKite.Core.TestKit.BaseActorTest< ApiIntegrationTests.Configuration >
 BaseActorTest (ITestOutputHelper output)
 Initializes a new instance of the BaseActorTest<TConfigurator> class. More...
 
override void Dispose (bool disposing)
 
ExpectMsg< T > (string path)
 Waiting for message

See also
TestActorForwarder

that was sent to the specified address More...

 
ExpectMsg< T > (string path, TimeSpan timeout)
 Waiting for message

See also
TestActorForwarder

that was sent to the specified address on specified time More...

 
void ExpectNoTestMsg ()
 Expecting that there is no new messages More...
 
TestMessage< T > ExpectTestMsg< T > ()
 Expects test message

See also
TestActorForwarder
More...
 
TestMessage< T > ExpectTestMsg< T > (TimeSpan timeout)
 Waiting for message

See also
TestActorForwarder

that was sent on specified time More...

 

Detailed Description

Integration tests of NodeManager API

Definition at line 48 of file ApiIntegrationTests.cs.

Constructor & Destructor Documentation

◆ ApiIntegrationTests()

KlusterKite.NodeManager.Tests.ApiIntegrationTests.ApiIntegrationTests ( ITestOutputHelper  output)

Initializes a new instance of the ApiIntegrationTests class.

Parameters
outputThe output.

Definition at line 56 of file ApiIntegrationTests.cs.

Member Function Documentation

◆ Dispose()

override void KlusterKite.NodeManager.Tests.ApiIntegrationTests.Dispose ( bool  disposing)
protected

Definition at line 185 of file ApiIntegrationTests.cs.

◆ RoleUpdate()

async Task KlusterKite.NodeManager.Tests.ApiIntegrationTests.RoleUpdate ( )

System start check

Returns
The async task

Definition at line 115 of file ApiIntegrationTests.cs.

◆ StartUpTest()

async Task KlusterKite.NodeManager.Tests.ApiIntegrationTests.StartUpTest ( )

System start check

Returns
The async task

Definition at line 73 of file ApiIntegrationTests.cs.


The documentation for this class was generated from the following file: