summaryrefslogtreecommitdiff
path: root/auto_tests
AgeCommit message (Collapse)Author
2014-03-18Merge branch 'api-fix'irungentoo
Main changes: 1. Strings no longer need to be NULL terminated. 2. tox_get_friend_id is now named tox_get_friend_number. 3. The friend request callback function is now (Tox *tox, uint8_t *, uint8_t *, uint16_t, void *), the Tox object pointer has been added to it.
2014-03-16Friend request callback now contains the Tox object.irungentoo
2014-03-14A bit of work done on the TCP relay server.irungentoo
2014-02-27Fixed onion test.irungentoo
2014-02-26Fixed/updated tests.irungentoo
2014-02-22fixed build.irungentoo
2014-02-19Added local file sending test to tox_test and updated TODO.irungentoo
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()