ladybird/Meta/gn/secondary/Tests/LibWeb/BUILD.gn
Timothy Flynn d74059580c LibWeb: Return the correct substring when parsing an HTTP quoted string
We were off-by-one when returning the result of parsing a quoted string
in Web::Fetch::Infrastructure::collect_an_http_quoted_string. Instead of
backtracking the lexer and consuming the backtracked string, do a simple
substring operation.
2024-03-26 19:19:13 +00:00

66 lines
1.5 KiB
Text

import("//Tests/unittest.gni")
unittest("TestCSSIDSpeed") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestCSSIDSpeed.cpp" ]
deps = [ "//Userland/Libraries/LibWeb" ]
}
unittest("TestCSSPixels") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestCSSPixels.cpp" ]
deps = [ "//Userland/Libraries/LibWeb" ]
}
unittest("TestFetchInfrastructure") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestFetchInfrastructure.cpp" ]
deps = [ "//Userland/Libraries/LibWeb" ]
}
unittest("TestFetchURL") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestFetchURL.cpp" ]
deps = [
"//Userland/Libraries/LibURL",
"//Userland/Libraries/LibWeb",
]
}
unittest("TestHTMLTokenizer") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestHTMLTokenizer.cpp" ]
deps = [ "//Userland/Libraries/LibWeb" ]
}
unittest("TestMicrosyntax") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestMicrosyntax.cpp" ]
deps = [ "//Userland/Libraries/LibWeb" ]
}
unittest("TestMimeSniff") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestMimeSniff.cpp" ]
deps = [ "//Userland/Libraries/LibWeb" ]
}
unittest("TestNumbers") {
include_dirs = [ "//Userland/Libraries" ]
sources = [ "TestNumbers.cpp" ]
deps = [ "//Userland/Libraries/LibWeb" ]
}
group("LibWeb") {
testonly = true
deps = [
":TestCSSIDSpeed",
":TestCSSPixels",
":TestFetchInfrastructure",
":TestFetchURL",
":TestHTMLTokenizer",
":TestMicrosyntax",
":TestMimeSniff",
":TestNumbers",
]
}