Unit tests for the SystemDataManager class. More...
Go to the source code of this file.
Data Structures | |
class | SystemDataManagerTest |
Test fixture for testing the SystemDataManager class. More... | |
Functions | |
TEST_F (SystemDataManagerTest, TimeDataEmitsSignal) | |
Ensures that the time data emits a signal when received. | |
TEST_F (SystemDataManagerTest, WifiDataEmitsSignalOnChange) | |
Ensures that the time data emits a signal when changed. | |
TEST_F (SystemDataManagerTest, TemperatureDataEmitsSignalOnChange) | |
Ensures that the temperature data emits a signal when changed. | |
TEST_F (SystemDataManagerTest, IpAddressEmitsSignalOnChange) | |
Ensures that the IP address emits a signal when changed. | |
TEST_F (SystemDataManagerTest, BatteryPercentageEmitsSignalOnChange) | |
Ensures that the battery percentage emits a signal when changed. | |
Unit tests for the SystemDataManager class.
This file contains unit tests for the SystemDataManager class, using Google Test and Google Mock frameworks.
Definition in file test_SystemDataManager.cpp.
TEST_F | ( | SystemDataManagerTest | , |
BatteryPercentageEmitsSignalOnChange | ) |
Ensures that the battery percentage emits a signal when changed.
This test verifies that the battery percentage emits a signal when changed.
Definition at line 147 of file test_SystemDataManager.cpp.
TEST_F | ( | SystemDataManagerTest | , |
IpAddressEmitsSignalOnChange | ) |
Ensures that the IP address emits a signal when changed.
This test verifies that the IP address emits a signal when changed.
Definition at line 122 of file test_SystemDataManager.cpp.
TEST_F | ( | SystemDataManagerTest | , |
TemperatureDataEmitsSignalOnChange | ) |
Ensures that the temperature data emits a signal when changed.
This test verifies that the temperature data emits a signal when changed.
Definition at line 97 of file test_SystemDataManager.cpp.
TEST_F | ( | SystemDataManagerTest | , |
TimeDataEmitsSignal | ) |
Ensures that the time data emits a signal when received.
This test verifies that the time data emits a signal when received.
Definition at line 45 of file test_SystemDataManager.cpp.
TEST_F | ( | SystemDataManagerTest | , |
WifiDataEmitsSignalOnChange | ) |
Ensures that the time data emits a signal when changed.
This test verifies that the time data emits a signal when changed.
Definition at line 70 of file test_SystemDataManager.cpp.