Hi Peter,
I’ve started the TrackerRequestSession class implementation, but I’ve got an issue with mocks generating. I’ve done exactly what’s in the manual and I’ve also write everything according to the Protocols::BitTorrent::Transfers::Session implementation, but my mock file (generated/TrackerRequestSessionStatusMock.h) is never generated.
I’ve pushed my work to my calitko-dev branch so you can have a look. I’ll write my actions and the result.
1. Cleaned everything
$ make clean
$ rm Makefile*
2. Rebuilded makefiles and ran make
$ qmake-qt4
$ make
3. These errors occured (in Testing/generated/ there is only TrackerRequestSessionDriver.h file)
Protocols/BitTorrent/Trackers/Testing/TrackerRequestSessionTest.cpp:26:55: error: generated/TrackerRequestSessionStatusMock.h: No such file or directory
Protocols/BitTorrent/Trackers/Testing/TrackerRequestSessionTest.cpp:43: error: ‘TrackerRequestSessionStatusMock’ was not declared in this scope
I’ve checked everything twice but I have no idea what I’m doing wrong, so could you please take a look on it? I’d be very grateful.
Thanks in advance,
Petr
