aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/hostport.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Return std::string instead of dynamic allocationsPierre Ossman2023-02-041-5/+3
| | | | | | We mostly use classical C strings, but the memory management around them can get confusing and error prone. Let's use std::string for the cases where we need to return a newly allocated string.
* Explicitly mark unused parametersPierre Ossman2023-01-041-1/+1
| | | | | This allows us to separate accidentally unused, from explicitly unused parameters, which allows us to turn on such checks in the compiler.
* Ignore whitespace around components of host-and-port specificationCatherine Tower2022-09-011-0/+12
| | | | This is to make the code more tolerant of typos when entering a hostname
* Be consistent in including config.hPierre Ossman2021-12-301-0/+4
| | | | | | The generally recommended way is to include it from source files, not headers. We had a mix of both. Let's try to be consistent and follow the recommended way.
* Split test programs to benchmarking and unit testsPierre Ossman2019-09-251-0/+80
They have very different purpose, so make things easier to work with by having multiple directories.