Tests: Add a LibDevTools test suite
Use a fake delegate to cover root, target, inspector, styles, network, navigation, and accessibility behavior. This is not in-depth, but should be enough to catch regressions.
This commit is contained in:
parent
04130b5314
commit
c985f9cad5
3 changed files with 1103 additions and 0 deletions
|
|
@ -21,6 +21,7 @@ add_subdirectory(LibXML)
|
|||
add_subdirectory(Meta)
|
||||
|
||||
if (ENABLE_GUI_TARGETS)
|
||||
add_subdirectory(LibDevTools)
|
||||
add_subdirectory(LibGfx)
|
||||
add_subdirectory(LibMedia)
|
||||
add_subdirectory(LibWeb)
|
||||
|
|
|
|||
7
Tests/LibDevTools/CMakeLists.txt
Normal file
7
Tests/LibDevTools/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
set(TEST_SOURCES
|
||||
TestDevToolsProtocol.cpp
|
||||
)
|
||||
|
||||
foreach(source IN LISTS TEST_SOURCES)
|
||||
ladybird_test("${source}" LibDevTools LIBS LibDevTools LibHTTP LibRequests LibWeb LibWebView)
|
||||
endforeach()
|
||||
1095
Tests/LibDevTools/TestDevToolsProtocol.cpp
Normal file
1095
Tests/LibDevTools/TestDevToolsProtocol.cpp
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue