mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 08:08:43 +00:00
Ladybird: Add ability to add test fixtures for LibWeb tests
This will be used to add test fixtures that use external resources or require a specific setup.
This commit is contained in:
parent
97d47a38c9
commit
ba78b294a0
Notes:
github-actions[bot]
2024-11-09 20:31:06 +00:00
Author: https://github.com/coryvirok
Commit: ba78b294a0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1801
Reviewed-by: https://github.com/rmg-x
6 changed files with 98 additions and 0 deletions
|
@ -24,6 +24,8 @@ class Application : public WebView::Application {
|
|||
WEB_VIEW_APPLICATION(Application)
|
||||
|
||||
public:
|
||||
~Application();
|
||||
|
||||
static Application& the()
|
||||
{
|
||||
return static_cast<Application&>(WebView::Application::the());
|
||||
|
@ -33,6 +35,7 @@ public:
|
|||
virtual void create_platform_options(WebView::ChromeOptions&, WebView::WebContentOptions&) override;
|
||||
|
||||
ErrorOr<void> launch_services();
|
||||
ErrorOr<void> launch_test_fixtures();
|
||||
|
||||
static Requests::RequestClient& request_client() { return *the().m_request_client; }
|
||||
static ImageDecoderClient::Client& image_decoder_client() { return *the().m_image_decoder_client; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue