mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
AK+Everywhere: Store JSON object keys as String
This commit is contained in:
parent
70eb0ba1cd
commit
e591636419
Notes:
github-actions[bot]
2025-02-21 00:29:28 +00:00
Author: https://github.com/trflynn89
Commit: e591636419
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3631
Reviewed-by: https://github.com/awesomekling ✅
23 changed files with 119 additions and 111 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue