EngineTest.h
1/* Distributed under the Apache License, Version 2.0.
2 See accompanying NOTICE file for details.*/
3
4#pragma once
5#include "cdm/utils/testing/SETestManager.h"
6#include "engine/human_adult/ventilation_mechanics/Engine.h"
7
8namespace pulse { namespace human_adult_ventilation_mechanics
9{
10 class ENGINE_TEST_DECL EngineTest : public SETestManager
11 {
12 public:
13 EngineTest(Logger* logger = nullptr);
14 virtual ~EngineTest();
15
16 virtual bool RunTest(const std::string& testName, const std::string& sOutputDirectory) override;
17
18 protected:
19 virtual void FillFunctionMap() override;
20 typedef void(EngineTest::* testFunction)(const std::string&);
21 std::map<std::string, testFunction> testMap;
22 std::stringstream m_ss;
23
24 public:
25 void SmokeTest(const std::string& sTestDirectory);
26 void GenerateScenarios();
27 };
28END_NAMESPACE_EX
Definition: Logger.h:71
Definition: SETestManager.h:8
Definition: Logger.h:14

Distributed under the Apache License, Version 2.0.

See accompanying NOTICE file for details.