AK+Everywhere: Store JSON object keys as String

This commit is contained in:
Timothy Flynn 2025-02-17 12:18:27 -05:00 committed by Tim Flynn
commit e591636419
Notes: github-actions[bot] 2025-02-21 00:29:28 +00:00
23 changed files with 119 additions and 111 deletions

View file

@ -10,6 +10,7 @@
#pragma once
#include <AK/ByteString.h>
#include <AK/String.h>
#include <AK/Vector.h>
namespace Test {
@ -23,7 +24,7 @@ enum class Result {
};
struct Case {
ByteString name;
String name;
Result result;
ByteString details;
u64 duration_us;
@ -31,7 +32,7 @@ struct Case {
struct Suite {
ByteString path;
ByteString name;
String name;
// A failed test takes precedence over a skipped test, which both have
// precedence over a passed test
Result most_severe_test_result { Result::Pass };