OTest2
A C++ testing framework
Public Member Functions | Public Attributes | List of all members
OTest2::Context Class Reference

OTest2 runtime context. More...

#include <context.h>

Collaboration diagram for OTest2::Context:
Collaboration graph
[legend]

Public Member Functions

 Context (const Context &)=delete
 
Contextoperator= (const Context &)=delete
 
 Context (CommandStack *command_stack_, SemanticStack *semantic_stack_, ObjectPath *object_path_, TimeSource *time_source_, ExcCatcher *exception_catcher_, Reporter *reporter_, TestMarkFactory *test_mark_factory_, TestMarkStorage *test_mark_storage_, UserData *user_data_)
 Ctor. More...
 
 ~Context ()
 Dtor. More...
 

Public Attributes

CommandStack *const command_stack
 
SemanticStack *const semantic_stack
 
ObjectPath *const object_path
 
TimeSource *const time_source
 
ExcCatcher *const exception_catcher
 
Reporter *const reporter
 
TestMarkFactory *const test_mark_factory
 
TestMarkStorage *const test_mark_storage
 
UserData *const user_data
 

Detailed Description

OTest2 runtime context.

Definition at line 38 of file context.h.

Constructor & Destructor Documentation

◆ Context() [1/2]

OTest2::Context::Context ( const Context )
delete

◆ Context() [2/2]

OTest2::Context::Context ( CommandStack command_stack_,
SemanticStack semantic_stack_,
ObjectPath object_path_,
TimeSource time_source_,
ExcCatcher exception_catcher_,
Reporter reporter_,
TestMarkFactory test_mark_factory_,
TestMarkStorage test_mark_storage_,
UserData user_data_ 
)
explicit

Ctor.

Definition at line 24 of file context.cpp.

◆ ~Context()

OTest2::Context::~Context ( )

Dtor.

Definition at line 46 of file context.cpp.

Member Function Documentation

◆ operator=()

Context& OTest2::Context::operator= ( const Context )
delete

Member Data Documentation

◆ command_stack

CommandStack* const OTest2::Context::command_stack

Definition at line 40 of file context.h.

◆ exception_catcher

ExcCatcher* const OTest2::Context::exception_catcher

Definition at line 44 of file context.h.

◆ object_path

ObjectPath* const OTest2::Context::object_path

Definition at line 42 of file context.h.

◆ reporter

Reporter* const OTest2::Context::reporter

Definition at line 45 of file context.h.

◆ semantic_stack

SemanticStack* const OTest2::Context::semantic_stack

Definition at line 41 of file context.h.

◆ test_mark_factory

TestMarkFactory* const OTest2::Context::test_mark_factory

Definition at line 46 of file context.h.

◆ test_mark_storage

TestMarkStorage* const OTest2::Context::test_mark_storage

Definition at line 47 of file context.h.

◆ time_source

TimeSource* const OTest2::Context::time_source

Definition at line 43 of file context.h.

◆ user_data

UserData* const OTest2::Context::user_data

Definition at line 48 of file context.h.


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