Class to test the integration between the MileageManager and the MileageCalculator and MileageFileHandler. 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 | |
MileageManager * | mileageManager |
IMileageCalculator * | calculator |
IMileageFileHandler * | fileHandler |
NiceMock< MockMileageCalculator > | mockCalculator |
NiceMock< MockMileageFileHandler > | mockFileHandler |
QString | testFilePath = "test_mileage.txt" |
Static Protected Attributes | |
static QCoreApplication * | app = nullptr |
Initialize static member. | |
Class to test the integration between the MileageManager and the MileageCalculator and MileageFileHandler.
Test fixture for testing the MileageManager class.
This class sets up the necessary objects and provides setup and teardown methods for each test.
Definition at line 27 of file test_int_MileageManager.cpp.
|
inlineoverrideprotected |
Definition at line 44 of file test_int_MileageManager.cpp.
|
inlineoverrideprotected |
Definition at line 42 of file test_MileageManager.cpp.
|
inlinestaticprotected |
Definition at line 35 of file test_int_MileageManager.cpp.
|
inlineoverrideprotected |
Definition at line 53 of file test_int_MileageManager.cpp.
|
inlineoverrideprotected |
Definition at line 47 of file test_MileageManager.cpp.
|
inlinestaticprotected |
Definition at line 42 of file test_int_MileageManager.cpp.
|
staticprotected |
Initialize static member.
Definition at line 30 of file test_int_MileageManager.cpp.
|
protected |
Definition at line 32 of file test_int_MileageManager.cpp.
|
protected |
Definition at line 33 of file test_int_MileageManager.cpp.
|
protected |
Definition at line 31 of file test_int_MileageManager.cpp.
|
protected |
Definition at line 37 of file test_MileageManager.cpp.
|
protected |
Definition at line 38 of file test_MileageManager.cpp.
|
protected |
Definition at line 39 of file test_MileageManager.cpp.