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_DUMMY
macros- Change order of includes in mock objects (so that
DRMOCK
is defined when including the interface header in mock object header)
- Change order of includes in mock objects (so that
-
Allow applying
DRTEST_VERIFY_MOCK
to mock object (not just method objects)-
Add
makeFormattedErrorString
virtual method toIMethod
interface -
Add
makeFormattedErrorString
method toMethodCollection
(concatenates formatted error strings of collected method objects) -
Add
makeFormattedErrorString
method to mock objects (returns formatted error string of method collection)
-
-
Use
RESOURCES
parameter inDrMockTest
to 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_PATH
must be set when usingDrMockModule
with 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.7
andpip3.7
withpython
andpip
and shifting the responsibility of managing the python versions to the user. -
Replace odd error message thrown when using
DrMockModule
withQTMODULE
parameter but unsetDRMOCK_QT_PATH
environment variable. -
Throw error message if
DrMockTest
can't find files specified inTESTS
.