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

Testing the ApiHandlerActor More...

Inheritance diagram for KlusterKite.API.Tests.ApiHandlerActorTests:
KlusterKite.Core.TestKit.BaseActorTest< ApiPublisherActorTests.Configurator >

Classes

class  Configurator
 Configures current test system More...
 

Public Member Functions

 ApiHandlerActorTests (ITestOutputHelper output)
 Initializes a new instance of the ApiHandlerActorTests class. More...
 
async Task QueryHandleTest ()
 Checking the discovery request More...
 
async Task MutationHandleTest ()
 Checking the discovery request More...
 
- Public Member Functions inherited from KlusterKite.Core.TestKit.BaseActorTest< ApiPublisherActorTests.Configurator >
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...
 

Additional Inherited Members

- Protected Member Functions inherited from KlusterKite.Core.TestKit.BaseActorTest< ApiPublisherActorTests.Configurator >
 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

Testing the ApiHandlerActor

Definition at line 35 of file ApiHandlerActorTests.cs.

Constructor & Destructor Documentation

◆ ApiHandlerActorTests()

KlusterKite.API.Tests.ApiHandlerActorTests.ApiHandlerActorTests ( ITestOutputHelper  output)

Initializes a new instance of the ApiHandlerActorTests class.

Parameters
outputThe output.

Definition at line 43 of file ApiHandlerActorTests.cs.

Member Function Documentation

◆ MutationHandleTest()

async Task KlusterKite.API.Tests.ApiHandlerActorTests.MutationHandleTest ( )

Checking the discovery request

Returns
The async task

Definition at line 74 of file ApiHandlerActorTests.cs.

◆ QueryHandleTest()

async Task KlusterKite.API.Tests.ApiHandlerActorTests.QueryHandleTest ( )

Checking the discovery request

Returns
The async task

Definition at line 53 of file ApiHandlerActorTests.cs.


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