Commit Graph

33 Commits

Author SHA1 Message Date
electron128
8d15f44c0e added CONFIG+=NO_SQLCIPHER support to unittests (travis wants this) 2016-02-13 11:55:25 +01:00
electron128
9f9221273a - make tests compile
- added tests to travis.yml
- excluded grouteritems and photoitems from test, because they changed too much
- disabled failing tests
- all tests pass in valgrind, without valgrind result is undefined
- to compile tests add CONFIG+=tests to qmake args. Then run tests/unittests/unittests
2016-02-13 11:55:25 +01:00
csoler
ac4f51623b updated tests and also fixed a few bugs in using random initialisation routines
git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-NewGRouterModel@7839 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2015-01-11 22:19:32 +00:00
csoler
e007151197 implemented more tests and fixed a few bugs in GxsSecurity
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7683 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 20:24:56 +00:00
csoler
c9881d92a6 fixed compilation of unit tests
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7682 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-11-15 19:47:59 +00:00
thunder2
dd1f88a1bb Replaced external library libcrypt32-cygwin.a by libcrypt32.a from MinGW for Windows compile.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7588 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-10-08 16:44:25 +00:00
chrisparker126
5399618cef completed addition of get statistic feature of gxs
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7461 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-20 11:21:06 +00:00
chrisparker126
be20086e09 adding new test for stats feature
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-19 21:26:45 +00:00
chrisparker126
a29f382175 fixed unit test compile
updated support file for unit test


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7459 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-07-19 19:08:27 +00:00
chrisparker126
621d8ba9df updated .pro build file for tests
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7385 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-27 21:30:23 +00:00
chrisparker126
0dabe4b8a1 support for retroshare links in gxs forums
- only group can link at the moment

added more nxs tests and better cleanup
- test ability sync with a delayed circle load 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7384 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-27 21:14:05 +00:00
chrisparker126
a21c3f75fb more changes to support testing of delayed canSend signal from circles and reputations
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7375 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-18 17:24:21 +00:00
chrisparker126
5eef86d9fd - Added clean up of test data
- re-enabled gxs test code

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7374 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-18 16:44:19 +00:00
csoler
b56df2d045 added test for GXS security
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7372 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-17 15:06:19 +00:00
drbob
c945aa18dd Improvements to tests.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7326 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-05-04 12:50:19 +00:00
drbob
97a069007f removed debug
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7314 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-30 11:52:08 +00:00
drbob
b184bc1809 Add Gxs Circle test.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7307 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-27 13:26:14 +00:00
chrisparker126
4fe6161d58 -fixed msg sync test, now passing
-enabled msg circle checking


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7305 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-26 23:48:33 +00:00
chrisparker126
c6059906d0 Added msg sync unit test
- not passing yet but almost, more tweaking needed 
TODO: identity and circle vet test
- added retrieve msg id for convenience
- updated .pro file

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7303 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-26 10:07:25 +00:00
chrisparker126
4cab2aaa65 Added another convenience class to simplify testing
(automates comparisons)
fixed some unit tests caused by copy constructor removal


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7302 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-25 22:02:34 +00:00
chrisparker126
4907d29156 group sync unit test now working
added to .pro file


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7280 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-19 10:20:07 +00:00
chrisparker126
ef8f48ae73 Added rsshared ptr helper object (only use in test for memory management)
Added first nxs_test
modified pserviceserver to allow better dependency injection 

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7279 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-18 21:58:14 +00:00
chrisparker126
e916299ceb - reviving nxs tests for gtest framework
- removed double update bug thunder found

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7275 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 21:52:53 +00:00
drbob
23f6c405c8 Added framework for testing a pair of GXS services.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7272 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 12:21:51 +00:00
drbob
6be4a464a5 Add second testing Simulator.
It has a number of PeerNodes, and captures traffic for examination.


git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7271 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-13 12:13:55 +00:00
drbob
181dc9111b Added Gxs Service tests
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7267 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 07:24:17 +00:00
drbob
df4cf6030e Added NxsNetMgr to simulator
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7266 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-12 07:22:57 +00:00
drbob
c98d6d1595 Added librssimulator, and very basic test for statusservice.
Obviously lots to do here - but its a start!



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7258 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-10 08:46:15 +00:00
csoler
40b175ef44 removed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7239 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 16:27:10 +00:00
csoler
61080e9816 fixed initialisation of random ids
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7238 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 16:01:08 +00:00
csoler
3a18136678 bug fix in FileData test
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7235 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 13:03:43 +00:00
csoler
f2380d0926 fixed a few bugs (uninitialized memory mostly)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7234 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 12:27:40 +00:00
drbob
2a5854188e Added new test structure for libretroshare
ported some of the tests across.



git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7233 b45a01b8-16f6-495d-af2f-9b41ad6348cc
2014-04-05 07:27:18 +00:00