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