serenity/Tests/LibCore
Ali Mohammad Pur 0c5c75e8a4 LibCore: Slightly rework the Core::Promise API
The previous iteration of this API was somewhat odd and rough in random
places, which degraded usability and made less than perfect sense.
This commit reworks the API to be a little closer to more
conventional promise APIs (a la javascript promises).

Also adds a test to ensure the class even works.
2023-07-08 23:13:00 +01:00
..
10kb.txt
CMakeLists.txt LibCore: Slightly rework the Core::Promise API 2023-07-08 23:13:00 +01:00
long_lines.txt
small.txt
TestLibCoreArgsParser.cpp Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
TestLibCoreDeferredInvoke.cpp LibCore+Userland: Make Core::Timer::create_single_shot() return ErrorOr 2023-01-12 11:25:51 +01:00
TestLibCoreFilePermissionsMask.cpp Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
TestLibCoreFileWatcher.cpp Tests: Re-enable TestLibCoreFileWatcher on macOS 2023-04-26 19:17:04 +01:00
TestLibCorePromise.cpp LibCore: Slightly rework the Core::Promise API 2023-07-08 23:13:00 +01:00
TestLibCoreSharedSingleProducerCircularQueue.cpp Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
TestLibCoreStream.cpp LibCore: Keep track of file offset to avoid system call for tell() 2023-07-06 21:05:57 +02:00