mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 04:35:41 +03:00
Meta: Add LibWeb unit tests to the GN build
This commit is contained in:
parent
a88ee029d7
commit
2118cdfcaa
Notes:
sideshowbarker
2024-07-17 02:55:44 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/2118cdfcaa Pull-request: https://github.com/SerenityOS/serenity/pull/23699 Issue: https://github.com/SerenityOS/serenity/issues/23689
@ -3,6 +3,7 @@ group("Tests") {
|
||||
"//Tests/AK",
|
||||
"//Tests/LibJS",
|
||||
"//Tests/LibURL",
|
||||
"//Tests/LibWeb",
|
||||
]
|
||||
testonly = true
|
||||
}
|
||||
|
49
Meta/gn/secondary/Tests/LibWeb/BUILD.gn
Normal file
49
Meta/gn/secondary/Tests/LibWeb/BUILD.gn
Normal file
@ -0,0 +1,49 @@
|
||||
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("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",
|
||||
":TestHTMLTokenizer",
|
||||
":TestMicrosyntax",
|
||||
":TestMimeSniff",
|
||||
":TestNumbers",
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user