Loading...
Searching...
No Matches
MockApplication.hpp
1#pragma once
2#include <core/application/ApplicationInterface.hpp>
3
4namespace score
5{
6namespace testing
7{
8
16{
17public:
18 static inline score::ApplicationComponentsData d0;
19 MockApplication() { m_instance = this; }
20
21 const score::ApplicationContext& context() const override { throw; }
22
23 const score::ApplicationComponents& components() const override
24 {
25 static score::ApplicationComponents d1{d0};
26 return d1;
27 }
28};
29}
30}
Definition ApplicationComponents.hpp:68
The ApplicationInterface class.
Definition ApplicationInterface.hpp:23
Base toolkit upon which the software is built.
Definition Application.cpp:90
Definition ApplicationComponents.hpp:46
Used to access all the application-wide state and structures.
Definition ApplicationContext.hpp:24
Application class for tests.
Definition MockApplication.hpp:16