Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
SystemManagerTest Class Reference

Class to test the integration between the SystemManager and the BatteryController, SystemInfoProvider, and SystemCommandExecutor. More...

Protected Member Functions

void SetUp () override
 
void TearDown () override
 
void SetUp () override
 
void TearDown () override
 

Static Protected Member Functions

static void SetUpTestSuite ()
 
static void TearDownTestSuite ()
 

Protected Attributes

SystemManagersystemManager
 
IBatteryControllerbatteryController
 
ISystemInfoProvidersystemInfoProvider
 
ISystemCommandExecutorsystemCommandExecutor
 
NiceMock< MockSystemInfoProvidermockInfoProvider
 
NiceMock< MockBatteryControllermockBatteryController
 

Static Protected Attributes

static QCoreApplication * app = nullptr
 Initialize static member.
 

Detailed Description

Class to test the integration between the SystemManager and the BatteryController, SystemInfoProvider, and SystemCommandExecutor.

Test fixture for testing the SystemManager class.

This class sets up the necessary objects and provides setup and teardown methods for each test.

Definition at line 28 of file test_int_SystemManager.cpp.

Member Function Documentation

◆ SetUp() [1/2]

void SystemManagerTest::SetUp ( )
inlineoverrideprotected

Definition at line 46 of file test_int_SystemManager.cpp.

◆ SetUp() [2/2]

void SystemManagerTest::SetUp ( )
inlineoverrideprotected

Definition at line 42 of file test_SystemManager.cpp.

◆ SetUpTestSuite()

static void SystemManagerTest::SetUpTestSuite ( )
inlinestaticprotected

Definition at line 37 of file test_int_SystemManager.cpp.

◆ TearDown() [1/2]

void SystemManagerTest::TearDown ( )
inlineoverrideprotected

Definition at line 56 of file test_int_SystemManager.cpp.

◆ TearDown() [2/2]

void SystemManagerTest::TearDown ( )
inlineoverrideprotected

Definition at line 47 of file test_SystemManager.cpp.

◆ TearDownTestSuite()

static void SystemManagerTest::TearDownTestSuite ( )
inlinestaticprotected

Definition at line 44 of file test_int_SystemManager.cpp.

Field Documentation

◆ app

QCoreApplication * SystemManagerTest::app = nullptr
staticprotected

Initialize static member.

Definition at line 31 of file test_int_SystemManager.cpp.

◆ batteryController

IBatteryController* SystemManagerTest::batteryController
protected

Definition at line 33 of file test_int_SystemManager.cpp.

◆ mockBatteryController

NiceMock<MockBatteryController> SystemManagerTest::mockBatteryController
protected

Definition at line 39 of file test_SystemManager.cpp.

◆ mockInfoProvider

NiceMock<MockSystemInfoProvider> SystemManagerTest::mockInfoProvider
protected

Definition at line 38 of file test_SystemManager.cpp.

◆ systemCommandExecutor

ISystemCommandExecutor* SystemManagerTest::systemCommandExecutor
protected

Definition at line 35 of file test_int_SystemManager.cpp.

◆ systemInfoProvider

ISystemInfoProvider* SystemManagerTest::systemInfoProvider
protected

Definition at line 34 of file test_int_SystemManager.cpp.

◆ systemManager

SystemManager * SystemManagerTest::systemManager
protected

Definition at line 32 of file test_int_SystemManager.cpp.


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