Lumiera  0.pre.03
»edit your freedom«
SessionServiceAccess_test Class Reference

Description

Verify the access mechanism both to the pubic session API and to implementation level APIs used by Steam-Layer internals.

Actually, this test uses a simulated setup of the real session, complete with interfaces, implementation and session manager frontend.

See also
session-impl.hpp the real thing
SessionServices;

Definition at line 281 of file session-service-access-test.cpp.

Private Member Functions

void access_defaultSession ()
 
void invoke_implServices ()
 
uint magic ()
 example of an one-liner, as it might be used internally by implementation code within Steam-Layer
 
void make_newSession ()
 
virtual void run (Arg)
 

Member Function Documentation

◆ access_defaultSession()

void access_defaultSession ( )
inlineprivate
Test:
accessing an non-existing session causes creation of a new TSessionImpl instance.

After that, the public API function gets invoked.

Definition at line 297 of file session-service-access-test.cpp.

◆ make_newSession()

void make_newSession ( )
inlineprivate
Test:
invoking the management API to close the session.

The next public API invocation will create a new TSessionImpl instance.

Definition at line 309 of file session-service-access-test.cpp.

◆ invoke_implServices()

void invoke_implServices ( )
inlineprivate
Test:
accessing implementation-level APIs

Definition at line 322 of file session-service-access-test.cpp.

+ Inheritance diagram for SessionServiceAccess_test:
+ Collaboration diagram for SessionServiceAccess_test:

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