summaryrefslogtreecommitdiff
path: root/auto_tests/helpers.h
AgeCommit message (Collapse)Author
2018-07-21Avoid implementations in .h files or #including .c files.iphydf
Also, avoid the need for putting `_XOPEN_SOURCE` in every test file.
2018-06-24Use clang-format for C++ code.iphydf
`clang-format -style='{BasedOnStyle: Google, ColumnLimit: 100}'`
2018-06-04Log only the filename, not the full path in LOGGER.iphydf
Fixes #900.
2018-02-24Fix a bunch of compiler warnings and remove suppressions.iphydf
2018-02-18Increase range of ports available to Toxes during testsRobin Lindén
2018-02-18Disable lan discovery in most tests.iphydf
2018-02-18Split up tox_test into multiple smaller testsRobin Lindén
2018-02-18Don't print trace level logging in tests.iphydf
2018-02-17Make outgoing Filetransfers round-robin.zoff99
Instead of 1 FT blocking all others.
2018-02-09Remove libcheck from the dependencies.iphydf
We're not gaining much from this library, and it's a burden, especially for windows development.
2018-01-30Use nullptr as NULL pointer constant instead of NULL or 0.iphydf
This changes only code, no string literals or comments.
2018-01-18Add bazel build scripts for c-toxcore.iphydf
This allows us and users to reproducibly build verified versions of the library with checksums. It will power the toktok-stack continuous build with checked-in checksums at specific git revisions.
2018-01-16Make DHT a module-private type.iphydf
2018-01-14Filter out annoying log statements in unit tests.iphydf
These may be useful when debugging toxcore locally, but are not useful in unit tests.
2017-06-05Build tests on appveyor, the MSVC build.iphydf
Tests are not actually ran on appveyor for now, since they all fault for some reason. For now, we just build them. Also, some tests are disabled on msvc entirely, because they don't even compile. We'll need to look into those, later. They are disabled using `MSVC_DONT_BUILD`.
2017-03-25Move c_sleep to helpers.h and misc_tools.hDiadlo
Also fix a mistake with forgotten braces around parameter
2016-12-23avoid dereferencing Tox_Optionsiphydf
2016-12-22Remove tox_options_copy.iphydf
2016-12-22Use `tox_options_set_*` instead of direct member access.iphydf
Also added a `tox_options_copy` function for cloning an options object. This can be useful when creating several Tox instances with slightly varying options.
2016-11-06Move log callback to options.iphydf
Previously, all log messages generated by tox_new (which is quite a lot) were dropped, because client code had no chance to register a logging callback, yet. This change allows setting the log callback from the beginning and removes the ability to unset it. Since the log callback is forever special, since it can't be stateless, we don't necessarily need to treat it uniformly (with `event`).
2014-08-09Merge branch 'remove-sort_list' of https://github.com/pyruvate/toxcoreirungentoo
2014-08-09Remove DEFTESTCASE and DEFTESTCASE_SLOW redefinitionspyruvate