summaryrefslogtreecommitdiff
path: root/Tests/LibELF/test-elf.cpp
AgeCommit message (Collapse)Author
2023-05-14Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error())Ben Wiederhake
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-04-09Tests: Use `FileSystem` instead of `DeprecatedFile`Cameron Youell
2023-02-13LibCore: Rename `File` to `DeprecatedFile`Tim Schumacher
As usual, this removes many unused includes and moves used includes further down the chain.
2023-01-07Everywhere: Remove "LibC/" includes, add lint-rule against itBen Wiederhake
2022-12-06AK+Everywhere: Rename String to DeprecatedStringLinus Groh
We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
2022-03-24Userland+Tests: Convert File::read_link() from String to ErrorOr<String>Kenneth Myhra
This converts the return value of File::read_link() from String to ErrorOr<String>. The rest of the change is to support the potential of an Error being returned and subsequent release of the value when no Error is returned. Unfortunately at this stage none of the places affected can utililize our TRY() macro.
2021-05-15Tests: Add LibELF testsBrendan Coles