Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
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

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

Member Function Documentation

◆ run()

virtual void run ( Arg  )
inlineprivatevirtual

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

References SessionServiceAccess_test::access_defaultSession(), SessionServiceAccess_test::invoke_implServices(), and SessionServiceAccess_test::make_newSession().

+ Here is the call graph for this function:

◆ 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.

Referenced by SessionServiceAccess_test::run().

+ Here is the caller graph for this function:

◆ 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.

Referenced by SessionServiceAccess_test::run().

+ Here is the caller graph for this function:

◆ magic()

uint magic ( )
inlineprivate

example of an one-liner, as it might be used internally by implementation code within Steam-Layer

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

Referenced by SessionServiceAccess_test::invoke_implServices().

+ Here is the caller graph for this function:

◆ invoke_implServices()

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

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

References SessionServiceAccess_test::magic().

Referenced by SessionServiceAccess_test::run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:
+ Inheritance diagram for SessionServiceAccess_test:
+ Collaboration diagram for SessionServiceAccess_test:

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