summaryrefslogtreecommitdiffstats
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2024-07-18Suppress new warnings in clang and clang-tidy 18David Robillard1-2/+3
2024-07-15Add missing includeDavid Robillard1-0/+1
2024-06-26Improve test coverageDavid Robillard1-3/+1
This situation probably should be reported, but 100% line coverage is very convenient since it makes coverage regression more obvious. I don't think a test being skipped on an esoteric system configuration is worth losing that.
2024-06-26Add zix_string_view_equals()David Robillard2-1/+120
2024-06-23Skip socket file type test with absurdly long TMPDIRDavid Robillard1-8/+12
If TMPDIR is so long that it doesn't fit in the socket address field, then it's impossible to create a socket in the temporary directory. This is a pretty weird situation that would never happen on a normal system, so I think the test can just be skipped without the reduced coverage being a problem.
2024-06-22Clean up whitespace and clang-format configurationDavid Robillard2-10/+20
2024-06-22Avoid cppcheck warning about self-assignmentDavid Robillard1-1/+0
2024-06-22Remove redundant conditionalsDavid Robillard1-1/+0
2024-06-22Add missing const qualifierDavid Robillard1-1/+0
2024-06-22Avoid cppcheck warning for assertions with side-effects in testsDavid Robillard2-3/+7
2024-06-22Fix mismatched printf argument typeDavid Robillard2-3/+2
2024-06-22Add cppcheck testDavid Robillard1-0/+28
2024-06-22Fix whitespace and add code formatting testDavid Robillard1-1/+12
2024-06-04Fix calloc() argument orderDavid Robillard1-1/+1
2024-03-14Fix ring unit test when mlock() is unavailableDavid Robillard1-1/+1
2023-12-02Fix warnings in strict MinGW buildDavid Robillard1-2/+4
2023-11-17Test zix_copy_file() in WasmDavid Robillard1-9/+10
2023-09-23Format meson.build files with muonDavid Robillard1-2/+2
The less time wasted with manual code formatting, the better.
2023-09-22Improve test suite code coverageDavid Robillard10-524/+460
2023-09-21Use anonymous namespace in C++ testDavid Robillard1-8/+12
2023-08-23Clean up C++ test configuration and documentationDavid Robillard1-5/+1
2023-08-23Improve test coverageDavid Robillard2-5/+7
2023-05-29Fix inappropriate use of PRIuPTR for size_tDavid Robillard1-1/+1
2023-05-12Fix emscripten warningsDavid Robillard2-1/+4
2023-05-01Split up main meson fileDavid Robillard1-0/+246
2023-02-05Add missing includeDavid Robillard1-0/+1
2023-02-04Suppress/fix clang-tidy warnings on WindowsDavid Robillard6-10/+24
2023-02-04Use a more realistic scenario for file locking testDavid Robillard1-1/+1
2023-02-04Check zix_ring_mlock() return valueDavid Robillard1-1/+2
2023-02-03Suppress/fix new warnings in clang-tidy 15David Robillard2-5/+4
2022-11-25Clean up test conditionsDavid Robillard1-20/+17
2022-11-25Constrain test parameters to reasonable limitsDavid Robillard4-8/+31
2022-11-25Avoid truncating test random seedDavid Robillard1-5/+6
2022-11-25Avoid dereference after null checkDavid Robillard1-3/+4
2022-11-25Consistently check write_to_path() return value in testsDavid Robillard1-1/+1
2022-11-25Fix potential use of close() on invalid file descriptorsDavid Robillard1-1/+15
2022-11-25Remove dead codeDavid Robillard1-6/+0
2022-11-17Remove ZixBitsetDavid Robillard3-73/+0
2022-11-02Remove function_types.hDavid Robillard2-2/+0
2022-11-02Suppress warnings in C++ testDavid Robillard1-0/+4
This is necessary because the global warnings may be stricter when building as a subproject.
2022-11-01Remove invalid test caseDavid Robillard1-2/+0
2022-10-23Add C++ header build testDavid Robillard1-0/+29
2022-10-23Add filesystem APIDavid Robillard4-2/+716
2022-10-23Add path APIDavid Robillard4-0/+1458
2022-10-23Add string view APIDavid Robillard1-0/+1
2022-10-23Split reference documentation up into groups and add global headerDavid Robillard1-0/+1
The "global" header just provides a convenient place to define the group structure of the library. Applications are better off using the individual headers, but this one will work fine if you don't care about build times or precise dependencies.
2022-10-21Split up common headerDavid Robillard6-6/+7
2022-10-21Hide errno utility functionsDavid Robillard1-23/+0
2022-10-18Use 0BSD for trivial "public domain intent" thingsDavid Robillard2-2/+2
2022-10-18Add stricter test for warnings in public headersDavid Robillard2-0/+35