ladybird/Tests/LibC
Ben Wiederhake f890b70eae Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error())
Note that in some cases (in particular SQL::Result and PDFErrorOr),
there is no Formatter defined for the error type, hence TRY_OR_FAIL
cannot work as-is. Furthermore, this commit leaves untouched the places
where MUST could be replaced by TRY_OR_FAIL.

Inspired by:
https://github.com/SerenityOS/serenity/pull/18710#discussion_r1186892445
2023-05-14 15:39:38 -06:00
..
CMakeLists.txt LibC+Tests: Simplify getpwuid_r() and getpwnam_r() and add tests 2022-11-19 11:11:13 +01:00
TestAbort.cpp Tests: Remove already-completed fixme 2023-01-07 10:01:37 -07:00
TestAssert.cpp
TestCType.cpp
TestIo.cpp Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
TestLibCDirEnt.cpp
TestLibCExec.cpp
TestLibCInodeWatcher.cpp Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
TestLibCMkTemp.cpp Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
TestLibCSetjmp.cpp
TestLibCString.cpp
TestLibCTime.cpp
TestMalloc.cpp Everywhere: Remove "LibC/" includes, add lint-rule against it 2023-01-07 10:01:37 -07:00
TestMath.cpp AK+Everywhere: Add AK_COMPILER_{GCC,CLANG} and use them most places 2022-10-04 23:35:07 +01:00
TestMemalign.cpp Everywhere: Remove "LibC/" includes, add lint-rule against it 2023-01-07 10:01:37 -07:00
TestMemmem.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TestMkDir.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TestPthreadCancel.cpp
TestPthreadCleanup.cpp
TestPThreadPriority.cpp Tests: Add pthread scheduler priority tests 2022-10-27 11:30:19 +01:00
TestPthreadRWLocks.cpp
TestPthreadSpinLocks.cpp
TestPwd.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TestQsort.cpp Tests: Use AK::shuffle() for shuffling 2023-01-20 17:45:33 +00:00
TestRaise.cpp
TestRealpath.cpp AK: Remove StringBuilder::build() in favor of to_deprecated_string() 2023-01-27 20:38:49 +00:00
TestScanf.cpp Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
TestSearch.cpp Everywhere: Remove unused includes of AK/Format.h 2023-01-02 20:27:20 -05:00
TestSnprintf.cpp AK+Everywhere: Change AK::fill_with_random to accept a Bytes object 2023-04-03 15:53:49 +02:00
TestStackSmash.cpp
TestStdio.cpp
TestStrlcpy.cpp AK+Everywhere: Change AK::fill_with_random to accept a Bytes object 2023-04-03 15:53:49 +02:00
TestStrtodAccuracy.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TestWchar.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
TestWctype.cpp