Line |
Branch |
Decision |
Exec |
Source |
1 |
|
|
|
// |
2 |
|
|
|
// Created by kifir on 6/12/24. |
3 |
|
|
|
// |
4 |
|
|
|
|
5 |
|
|
|
#pragma once |
6 |
|
|
|
|
7 |
|
|
|
#include "util/test_base.h" |
8 |
|
|
|
|
9 |
|
|
|
class LaunchTestConfig : public EngineConfig { |
10 |
|
|
|
public: |
11 |
|
|
18 |
bool getSatisfyActivationSwitchSpeedAndTpsConditions() const { |
12 |
|
|
18 |
return m_satisfyActivationSwitchSpeedAndTpsConditions; |
13 |
|
|
|
} |
14 |
|
|
|
protected: |
15 |
|
|
18 |
void setSatisfyActivationSwitchSpeedAndTpsConditions(const bool value) { |
16 |
|
|
18 |
m_satisfyActivationSwitchSpeedAndTpsConditions = value; |
17 |
|
|
18 |
} |
18 |
|
|
|
private: |
19 |
|
|
|
bool m_satisfyActivationSwitchSpeedAndTpsConditions { false }; |
20 |
|
|
|
}; |
21 |
|
|
|
|
22 |
|
|
|
class LaunchTestBase : public TestBase<> { |
23 |
|
|
|
protected: |
24 |
|
|
|
void setUpTestConfig(const LaunchTestConfig& config); |
25 |
|
|
|
|
26 |
|
|
|
private: |
27 |
|
|
|
void configureSatisfiedActivationSwitchSpeedAndTpsConditions(); |
28 |
|
|
|
}; |
29 |
|
|
|
|