ladybird/Tests/LibCore
Andreas Kling 5d55a42ded LibCore: Fix race conditions in TestLibCoreStream
It was possible for the "local_socket_read" and "local_socket_write"
tests to fail because we had exited the EventLoop before
BackgroundAction got around to invoking the completion callback.

The crash happened when trying to deferred_invoke() on the background
thread, calling Core::EventLoop::current() after said EventLoop had
returned from exec().

Fix this by not passing a completion callback, since we didn't need
one in the first place.
2021-12-28 01:02:35 +01:00
..
10kb.txt LibCore: Fix relative seeking in IODevice 2021-11-30 10:51:10 +01:00
CMakeLists.txt Tests: Implement tests for the Serenity Stream API 2021-12-16 22:21:35 +03:30
long_lines.txt LibCore: Add unit test for File::read_line 2021-06-22 18:54:40 +04:30
TestLibCoreArgsParser.cpp Tests: Fix TestLibCoreArgsParser with add_positional_argument API change 2021-11-26 18:57:26 -08:00
TestLibCoreDeferredInvoke.cpp Tests: Add tests for Core::deferred_invoke 2021-09-02 03:47:47 +04:30
TestLibCoreFileWatcher.cpp Tests: Add InodeWatcher and FileWatcher tests 2021-05-12 22:38:20 +02:00
TestLibCoreIODevice.cpp LibCore: Add support for range-based for loops on LineIterators 2021-12-12 14:06:38 +03:30
TestLibCoreStream.cpp LibCore: Fix race conditions in TestLibCoreStream 2021-12-28 01:02:35 +01:00