summaryrefslogtreecommitdiff
path: root/auto_tests
AgeCommit message (Collapse)Author
2014-02-18Astyled and added tests.irungentoo
2014-02-17Fixed test issue.irungentoo
2014-02-09Fixed memory leaks and removed repeated codeMaxim Biro
2014-02-07Onion_test should be now a bit less failure prone.irungentoo
2014-02-05Made onion test taste more like onion.irungentoo
2014-01-30Test passes now, uncommented it.irungentoo
2014-01-29A bit of tests added.irungentoo
2014-01-21random_nodes_path should return slightly better paths.irungentoo
Fixed test in network_test failing on some machines because of localhost ipv6 issues.
2014-01-20Merge branch 'onion'irungentoo
2014-01-19proper windows preprocessor detectionBen Iofel
2014-01-19Fixed onion_test.irungentoo
2014-01-18Some optimizations and fixes.irungentoo
2014-01-17Incorporated onion into Tox.irungentoo
Fixed a couple of issues related to that.
2014-01-14Onion data packets can now be handled in onion_client.irungentoo
oniondata_registerhandler(...) can be used to register different packet types to handle them and send_onion_data(...) can be used to send these packets.
2014-01-09Putting the sendback outside the encrypted part of the response.irungentoo
It's more useful this way.
2014-01-08Fixed problem in onion_announce.cirungentoo
Added a way to know if a announce response is valid.
2014-01-06onion_announce seems to be working perfectly.irungentoo
Stuff added and fixed.
2014-01-05Tests added and some fixes for the onion part.irungentoo
2014-01-04Some work on the onion part done.irungentoo
2014-01-03A bit of work done on the onion part.irungentoo
2013-12-31Added onion.c to build system and added a test.irungentoo
2013-12-22Added some tests.irungentoo
2013-12-21Added function to save an encrypted version of the messenger.irungentoo
Also added some tests.
2013-12-18Added new tox autotest.irungentoo
2013-12-17Added simple test for tox.irungentoo
2013-12-16Astyled the code.irungentoo
2013-12-07Added/updated some basic docs and cleaned up some things.irungentoo
2013-12-06Merge branch 'master' into hardenirungentoo
2013-12-05Added a assoc test.irungentoo
Changed default assoc so that it behaves correctly.
2013-11-17Assoc's array is now allocated dynamically and per default much smaller (320 ↵Coren[m]
entries). id_hash() was not at all working as expected for very small bucket size (when (size / 4) was zero). Simplified to be trivially correct. Also added a used flag on adding an entry, which is set by callers if they have that association in active use. Those get priority over unused entries on collision. Fleshed out test to be at least elementary useful. Each group chat now uses an own, small assoc (80 entries).
2013-11-14Significantly trimmed down version of an ID<=>IP cache.Coren[m]
Besides acknowledging timeouts, the module isn't trying to do anything fancy with the data besides storing and retrieving.
2013-11-10Fixed test.irungentoo
2013-11-10Merge branch 'master' into hardenirungentoo
Conflicts: toxcore/DHT.c
2013-11-06Reduce duplicate data. Add a mostly empty skeleton test.Coren[m]
2013-10-24Removed define that could become confusing.irungentoo
2013-10-23Code cleanups.irungentoo
Fixed some tests.
2013-10-05Broken *_wait() into *_wait_prepare() and *_wait_execute()Coren[m]
To allow the actual waiting to run without any locking, split it into preparing the data it uses and the execution of the wait. The caller must provide with the buffer to store whatever data it requires to wait. Completely eliminates any reliance on the existence of anything but that data in the actual wait routine. Also fixed a few argument type warnings inside LOGGING.
2013-09-27Permit -Wshadow as useful warning.Coren[m]
2013-09-17astyled everything.irungentoo
2013-09-16Merge pull request #583 from FullName/TestCryptoSlowirungentoo
Make test "endtoend" pass on 'slow' systems
2013-09-17Tests of state loading/saving lead to two fixes for DHT.c and util.cCoren[m]
util.c: - fix in empty section at the end of the state, showed as bug when having an empty name DHT.c: - fix in saving less data than originally announced, showed as bug when not having reached any clients ever (no clients or only with timestamp of zero)
2013-09-16Make test "endtoend" pass on 'slow' systemsCoren[m]
auto_test/crypto_test.c: - test "endtoend": increased timeout from default ~5s to 15s, making it pass on slower systems - signed/unsiged warning fixed by cast
2013-09-15Fix in ip_equal, plus testing code which led to that fix...Coren[m]
network.c: - use the correct macro for IPv4-in-IPv6 test network_test.c: - bunch of tests for addr_resolve() and ip_equal()
2013-09-11tox.h, DHT.h:Coren[m]
- tox_bootstrap_ex(), DHT_bootstrap_ex() renamed to tox_bootstrap_from_address(), DHT_bootstrap_from_address() - (handle_)sendnodes_ex() renamed to (handle_)sendnodes_ipv6() - only sending sendnodes_ipv6() if we're actually IPv6 enabled - changed comments to conform better nTox.c, Messenger_text.c, DHT_test.c, DHT_bootstrap.c: - fallout from *_ex() to *_from_address() DHT_bootstrap.c: - corrected a potentially wrong info message util.c: - fixed logfile name: now (funcptr) => now() (number) network.c: - addead comment about the necessity of bind() to succeed auto_test/messenger_test.c: - defaulting ipv6enabled to TOX_ENABLE_IPV6_DEFAULT LAN_discovery.c: - slight cleanup and comments for clarity
2013-09-11Merge remote-tracking branch 'upstream/master' into IntegrationCoren[m]
2013-09-10Fixed building with NaCl.irungentoo
2013-09-09tox.*, Messenger.*:Coren[m]
- initialisation: argument added to enable/disable ipv6 as socket Messenger_test.c: - initialisation: ipv4 hardcoded for now - delegating IP resolution to DHT_bootstrap_ex()
2013-09-07Modified testMaxim Biro
2013-09-06Allow to build vs nacl instead of libsodiumJin^eLD
By default libsodium is used. Only if --enable-nacl is specified, then nacl will be used instead of libsodium. Pass locations of nacl headers and libraries by using the following options: --with-nacl-headers=/home/me/somewhere/nacl-20110221/build/469/include/amd64/ --with-nacl-libs=/home/me/somewhere/nacl-20110221/build/469/lib/amd64/
2013-09-06Fixed autotest, increased MAX_STATUSMESSAGE_LENGTH.irungentoo