llvm-project/lldb/unittests/Host
Pavel Labath 4f1f64174b MainLoop: Add unit tests
Summary:
This adds a couple of unit tests to the MainLoop class. To get the
kqueue based version of the signal handling passing, I needed to
modify the implementation a bit to make the queue object persistent.
Otherwise, only the signals which are send during the Run call would get
processed, which did not match the ppoll behaviour.

I also took the opportunity to remove the ForEach template functions and
replace them with something more reasonable.

Reviewers: beanz, eugene

Subscribers: lldb-commits, mgorny

Differential Revision: https://reviews.llvm.org/D32753

llvm-svn: 302133
2017-05-04 10:11:33 +00:00
..
linux Remove some ProcFileReader occurences 2017-03-15 15:08:49 +00:00
CMakeLists.txt MainLoop: Add unit tests 2017-05-04 10:11:33 +00:00
FileSpecTest.cpp In FileSpec::Equal, short-cut GetNormalizedPath. 2017-03-27 19:12:25 +00:00
FileSystemTest.cpp Remove TimeValue usage from FileSpec.h 2016-11-01 16:11:14 +00:00
MainLoopTest.cpp MainLoop: Add unit tests 2017-05-04 10:11:33 +00:00
SocketAddressTest.cpp Fix the new SocketAddressTest on Windows 2017-04-24 13:34:35 +00:00
SocketTest.cpp Re-landing IPv6 support for LLDB Host 2017-04-26 23:17:20 +00:00
SymbolsTest.cpp Fix unittest compilation on windows 2016-09-07 08:46:50 +00:00