mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-15 08:39:08 -05:00
Fix UnitTest Compilation and Travis Error.
This commit is contained in:
parent
cda3c744af
commit
8325c72153
7 changed files with 17 additions and 51 deletions
|
|
@ -98,7 +98,7 @@ void init_item(RsGxsGrpMetaData* metaGrp)
|
|||
randString(SHORT_STR, metaGrp->mGroupName);
|
||||
randString(SHORT_STR, metaGrp->mServiceString);
|
||||
|
||||
init_item(metaGrp->signSet);
|
||||
init_item(metaGrp->signSet);// This is not stored in db.
|
||||
init_item(metaGrp->keys);
|
||||
|
||||
metaGrp->mPublishTs = rand()%3452;
|
||||
|
|
@ -115,9 +115,10 @@ void init_item(RsGxsGrpMetaData* metaGrp)
|
|||
metaGrp->mGroupStatus = rand()%313;
|
||||
metaGrp->mRecvTS = rand()%313;
|
||||
|
||||
metaGrp->mOriginator = RsPeerId::random() ;
|
||||
metaGrp->mInternalCircle = RsGxsCircleId::random() ;
|
||||
metaGrp->mHash = RsFileHash::random() ;
|
||||
metaGrp->mOriginator = RsPeerId::random();
|
||||
metaGrp->mInternalCircle = RsGxsCircleId::random();
|
||||
metaGrp->mHash = RsFileHash::random();
|
||||
metaGrp->mGrpSize = 0;// This was calculated on db read.
|
||||
}
|
||||
|
||||
void init_item(RsGxsMsgMetaData* metaMsg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue