mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 22:02:32 -04:00
Fix UnitTests and run it in windows too.
This commit is contained in:
parent
8ccfee20bb
commit
3152ecaa9b
19 changed files with 261 additions and 155 deletions
|
@ -63,13 +63,13 @@ TEST(libretroshare_serialiser, test_RsTlvStack)
|
|||
|
||||
/* initialise */
|
||||
fi1->filesize = 101010;
|
||||
fi1->hash = RsFileHash("ABCDEFEGHE");
|
||||
fi1->hash = RsFileHash("123456789ABCDEF67890123456789ABCDEF67890");//SHA1_SIZE*2 = 40
|
||||
fi1->name = "TestFile.txt";
|
||||
fi1->pop = 12;
|
||||
fi1->age = 456;
|
||||
|
||||
fi2->filesize = 101010;
|
||||
fi2->hash = RsFileHash("ABCDEFEGHE");
|
||||
fi2->hash = RsFileHash("123456789ABCDEF67890123456789ABCDEF67890");//SHA1_SIZE*2 = 40
|
||||
fi2->name = "TestFile.txt";
|
||||
fi2->pop = 0;
|
||||
fi2->age = 0;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue