mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-28 10:32:22 -04:00
added some automatic test scripts. Needs to be done in all directories. Only serializer/ and util/ done now.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6018 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
470b3df7c2
commit
986c2cf3e6
6 changed files with 121 additions and 16 deletions
|
@ -68,6 +68,15 @@ bool ftDataSendPair::sendCRC32Map(const std::string& peer_id,const std::strin
|
|||
{
|
||||
return mDataRecv->recvCRC32Map(peer_id,hash,crcmap) ;
|
||||
}
|
||||
|
||||
bool ftDataSendPair::sendSingleChunkCRCRequest(const std::string& peer_id, const std::string& hash, unsigned int c_id)
|
||||
{
|
||||
return mDataRecv->recvSingleChunkCRCRequest(peer_id,hash,c_id) ;
|
||||
}
|
||||
bool ftDataSendPair::sendSingleChunkCRC(const std::string& peer_id, const std::string& hash, uint32_t c_id, const Sha1CheckSum& crc)
|
||||
{
|
||||
return mDataRecv->recvSingleChunkCRC(peer_id,hash,c_id,crc) ;
|
||||
}
|
||||
/* Client Send */
|
||||
bool ftDataSendDummy::sendDataRequest(const std::string &/*peerId*/, const std::string &/*hash*/,
|
||||
uint64_t /*size*/, uint64_t /*offset*/, uint32_t /*chunksize*/)
|
||||
|
@ -144,3 +153,12 @@ bool ftDataRecvDummy::sendCRC32Map(const std::string& /*peer_id*/,const std::st
|
|||
{
|
||||
return true ;
|
||||
}
|
||||
|
||||
bool ftDataSendDummy::sendSingleChunkCRCRequest(const std::string&, const std::string&, unsigned int)
|
||||
{
|
||||
return true ;
|
||||
}
|
||||
bool ftDataSendDummy::sendSingleChunkCRC(const std::string&, const std::string&, uint32_t, const Sha1CheckSum&)
|
||||
{
|
||||
return true ;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue