deskflow/src
Nick Bolton c9e11a6fdc
Assert arg value num > 0 for BSD socket poll unblock pipe (#7415)
* Move integ test to corredt place and re-enable tests

* Depend on `poll.h` (removes support for non-POSIX systems)

* Only build tests for each arch

* Move back to unit tests (poll is mocked)

* Better error message for valgrind not found

* Simplify dependency injection for BSD sockets poll test

* Improve test readability for BSD net poll

* Split out 2-in-1 test for `isAnyAddr`

* Stub out sleep function

* Improve coverage for pollSocket

* Use gmock ON_CALL instead of manual mock

* Remove unused function signature

* Use conventional deps struct instead of std functional

* Add test for socket data FD set to -1

* Add assertation for adding unblock pipe

* Use older style array alloc

* Less precision around `getNetworkDataForThread` value

* Use `ssize_t` for `ignore`

* Remove unused var

* Update ChangeLog

* Assert `n > 0`

* Add `num > 0` to top assert

* Update ChangeLog

* Only run assert test in debug
2024-07-29 21:51:01 +01:00
..
cmd Improve UI design and reduce over-use of #ifdef (#7413) 2024-07-26 23:53:52 +01:00
gui Improve UI design and reduce over-use of #ifdef (#7413) 2024-07-26 23:53:52 +01:00
lib Assert arg value num > 0 for BSD socket poll unblock pipe (#7415) 2024-07-29 21:51:01 +01:00
test Assert arg value num > 0 for BSD socket poll unblock pipe (#7415) 2024-07-29 21:51:01 +01:00
CMakeLists.txt Simplify compile options and use comprehensive edition logic (#7365) 2024-07-04 10:14:54 +01:00