Unit tests for the VehicleDataManager class. More...
Go to the source code of this file.
Data Structures | |
class | VehicleDataManagerTest |
Test fixture for testing the VehicleDataManager class. More... | |
Functions | |
TEST_F (VehicleDataManagerTest, RpmDataEmitsSignal) | |
Ensures that the RPM data emits a signal when changed. | |
TEST_F (VehicleDataManagerTest, SpeedDataEmitsSignalInKilometers) | |
Ensures that the speed data emits a signal when changed. | |
TEST_F (VehicleDataManagerTest, MileageDataEmitsSignalOnChange) | |
Ensures that the mileage data emits a signal when changed. | |
TEST_F (VehicleDataManagerTest, DirectionDataEmitsSignalOnChange) | |
Ensures that the direction data emits a signal when changed. | |
TEST_F (VehicleDataManagerTest, SteeringDataEmitsSignalOnChange) | |
Ensures that the steering data emits a signal when changed. | |
Unit tests for the VehicleDataManager class.
This file contains unit tests for the VehicleDataManager class, using Google Test and Google Mock frameworks.
Definition in file test_VehicleDataManager.cpp.
TEST_F | ( | VehicleDataManagerTest | , |
DirectionDataEmitsSignalOnChange | ) |
Ensures that the direction data emits a signal when changed.
This test verifies that the direction data emits a signal when changed.
Definition at line 114 of file test_VehicleDataManager.cpp.
TEST_F | ( | VehicleDataManagerTest | , |
MileageDataEmitsSignalOnChange | ) |
Ensures that the mileage data emits a signal when changed.
This test verifies that the mileage data emits a signal when changed.
Definition at line 89 of file test_VehicleDataManager.cpp.
TEST_F | ( | VehicleDataManagerTest | , |
RpmDataEmitsSignal | ) |
Ensures that the RPM data emits a signal when changed.
This test verifies that the RPM data emits a signal when changed.
Definition at line 45 of file test_VehicleDataManager.cpp.
TEST_F | ( | VehicleDataManagerTest | , |
SpeedDataEmitsSignalInKilometers | ) |
Ensures that the speed data emits a signal when changed.
This test verifies that the speed data emits a signal when changed.
Definition at line 67 of file test_VehicleDataManager.cpp.
TEST_F | ( | VehicleDataManagerTest | , |
SteeringDataEmitsSignalOnChange | ) |
Ensures that the steering data emits a signal when changed.
This test verifies that the steering data emits a signal when changed.
Definition at line 140 of file test_VehicleDataManager.cpp.