1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 06:40:45 +00:00
serenity/Tests/LibWeb/CMakeLists.txt
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

19 lines
428 B
CMake

set(TEST_SOURCES
TestCSSIDSpeed.cpp
TestCSSPixels.cpp
TestFetchInfrastructure.cpp
TestFetchURL.cpp
TestHTMLTokenizer.cpp
TestMicrosyntax.cpp
TestMimeSniff.cpp
TestNumbers.cpp
)
foreach(source IN LISTS TEST_SOURCES)
serenity_test("${source}" LibWeb LIBS LibWeb)
endforeach()
target_link_libraries(TestFetchURL PRIVATE LibURL)
install(FILES tokenizer-test.html DESTINATION usr/Tests/LibWeb)