Commit Graph

56 Commits

Author SHA1 Message Date
Gioacchino Mazzurco
b4d2ce82c1
RsTokenService use enum for request status 2018-06-24 18:56:48 +02:00
Phenom
737a2b440d
Fix Gcc Warning in nxstesthub.cc
/tests/unittests/libretroshare/gxs/nxs_test/nxstesthub.cc:109: warning:
deleting object of polymorphic class type ‘NotifyWithPeerId’ which has
non-virtual destructor might cause undefined behavior [-Wdelete-non-
virtual-dtor]
   delete *it ;
2018-02-20 23:27:59 +01:00
csoler
5e57cb4b83 fixed gxs unit tests 2018-01-07 23:02:22 +01:00
csoler
85b94d7f88 fixed test compilation 2018-01-07 22:36:49 +01:00
csoler
ea72c58d81 fixed unnecessary () 2017-07-26 12:27:38 +02:00
csoler
461ccf3b84 removed aliasing in storeMessages/storeGroups, removed several memory leaks in unittests, improved auto-delete structures in rsgxsutil, added deletion for members of RsGenExchange, removed shared pointers from unittests (they cause a memory leak and are only used in unittests) 2017-07-25 00:07:53 +02:00
csoler
ef24459c5e fixed memory leak in gxssecurity test 2017-07-24 18:48:13 +02:00
csoler
bcaafc241d improved template class naming for temporary Gxs grp data structures 2017-07-24 14:29:30 +02:00
csoler
df691bd2d7 improved tests to avoid memory leak 2017-07-24 12:16:06 +02:00
Phenom
1c2b43b7e0 Fix UnitTest compilation
But running failed.
2017-05-04 15:01:25 +02:00
Phenom
936dcbabb3 Fix UnitTest compilation. 2017-04-21 18:50:36 +02:00
Phenom
8325c72153 Fix UnitTest Compilation and Travis Error. 2017-02-22 17:46:16 +01:00
Phenom
aa05d60894 Fix all warnings in UnitTest 2017-01-21 16:31:45 +01:00
csoler
c4695e3341 fixed compilation of unittests 2017-01-13 22:41:54 +01:00
csoler
ae2accd286 fixed cmpilation of unittests 2016-12-08 14:30:47 +01:00
csoler
d2ef2248c6 added entry in rsgxsnetservice to change sync params 2016-12-04 23:42:26 +01:00
Phenom
275c47eff9 Add Title when ask for password. 2016-08-09 01:22:14 +02:00
csoler
59d08591d2 fixed compilation in tests 2016-07-15 22:25:15 -04:00
Phenom
3152ecaa9b Fix UnitTests and run it in windows too. 2016-07-15 15:36:06 +02:00
csoler
24eb88aa0a added explicit comparisons for tests on RsGxsGrpMetaData and RsGxsMsgMetaData 2016-06-18 20:38:48 -04:00
Phenom
43f618fedd Fix UnitTest Compilation 2016-06-18 23:10:12 +02:00
csoler
c2ae4fc904 merged upstream/master 2016-06-05 10:06:11 -04:00
csoler
590be092e5 separated RsTlvSecurityKey into two incompatible classes to enforce the correct usage of private vs. public keys 2016-06-02 23:47:57 -04:00
csoler
e2b5785eec merged PR403 with trunk 2016-06-02 21:15:51 -04:00
Phenom
2c8d047ca4 Fix UnitTests Compilation 2016-06-02 19:34:58 +02:00
sehraf
6e38554bcd rename define UBUNTU to HAS_GNOME_KEYRING
The name UBUNTU is misleading since it is only used to select the keyring backend (which is gnome keyring on linux).
This also allows to support other keyrings on linux in the future (e.g. KDEs keyring)
2016-06-02 14:57:46 +02:00
Phenom
f2b995768b Fix UnitTests Compilation 2016-04-04 17:18:42 +02:00
csoler
ebf54d1340 fixed unit tests 2016-03-26 17:25:15 -04:00
electron128
68cd1f9da5 disabled gxs_grp_sync test, because it fails after rebase to master 2016-02-14 10:21:48 +01:00
electron128
b874167785 give gxs grp sync test more time, because of sync and timestamp update cycle times 2016-02-13 11:55:29 +01:00
electron128
8f64df02da fix compile for new gxs metadata serialisation 2016-02-13 11:55:29 +01:00
electron128
a6a3d66a83 exclude not serialised member from operator== for RsNxsTransac 2016-02-13 11:55:29 +01:00
electron128
a8b2bc776e fixed threading issue in NxsTestHub. NxsTesthub has to wait for its own thread to shut down on test end. 2016-02-13 11:55:28 +01:00
electron128
63c6629e57 added missing initialisation of local, not serialised msg meta data in NxsTestHub 2016-02-13 11:55:27 +01:00
electron128
c03ce56591 added missing mutex in nxstesthub 2016-02-13 11:55:27 +01:00
electron128
64b9e3477a fixed uninitialised memory read in test libretroshare_gxs.gxs_grp_sync_delayed 2016-02-13 11:55:26 +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
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
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
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