#ifndef _D_MOCK_BT_REQUEST_FACTORY_H_ #define _D_MOCK_BT_REQUEST_FACTORY_H_ #include "BtRequestFactory.h" namespace aria2 { class MockBtRequestFactory : public BtRequestFactory { public: virtual ~MockBtRequestFactory() {} virtual void addTargetPiece(const SharedHandle& piece) {} virtual void removeTargetPiece(const SharedHandle& piece) {} virtual void removeAllTargetPiece() {} virtual int32_t countTargetPiece() { return 0; } virtual void removeCompletedPiece() {} virtual void doChokedAction() {} virtual std::deque > createRequestMessages(size_t max) { return std::deque >(); } virtual std::deque > createRequestMessagesOnEndGame(size_t max) { return std::deque >(); } }; } // namespace aria2 #endif // _D_MOCK_BT_REQUEST_FACTORY_H_