DrMock v0.2.0
Added/Changed
-
Autodetect number of threads for compiling in Makefile
-
Add convenience Makefile for building all sample projects
-
Add tutorial for manually building DrMock
-
Add pkg-config file
-
Add
DRMOCK,DRMOCK_DUMMYmacros- Change order of includes in mock objects (so that
DRMOCKis defined when including the interface header in mock object header)
- Change order of includes in mock objects (so that
-
Allow applying
DRTEST_VERIFY_MOCKto mock object (not just method objects)-
Add
makeFormattedErrorStringvirtual method toIMethodinterface -
Add
makeFormattedErrorStringmethod toMethodCollection(concatenates formatted error strings of collected method objects) -
Add
makeFormattedErrorStringmethod to mock objects (returns formatted error string of method collection)
-
-
Use
RESOURCESparameter inDrMockTestto add resource files to test executables -
Add remark about QII pattern to docs
Removed
- Disable verbose print from DrMockGenerator
Fixed
-
Add missing remark that
DRMOCK_QT_PATHmust be set when usingDrMockModulewith Qt5 modules to documentation. -
Apply do-while-false pattern to
DRTEST_VERIFY_MOCK -
Fix formatting errors and typos in source/docs
-
Fix transition table in rocket example
-
Replace
python3.7andpip3.7withpythonandpipand shifting the responsibility of managing the python versions to the user. -
Replace odd error message thrown when using
DrMockModulewithQTMODULEparameter but unsetDRMOCK_QT_PATHenvironment variable. -
Throw error message if
DrMockTestcan't find files specified inTESTS.