Skip to content

Truly independent web browser

Tests/LibCore: Remove leftovers of the Swift EventLoop bindings

Aliaksandr Kalenik8bf59495094b
diff --git a/Tests/LibCore/TestEventLoop.cpp b/Tests/LibCore/TestEventLoop.cpp
deleted file mode 100644
index 68ad2076825..00000000000
--- a/Tests/LibCore/TestEventLoop.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * Copyright (c) 2025, Andrew Kaster <[email protected]>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#include "TestEventLoop.h"
-#include <AK/OwnPtr.h>
-#include <LibCore/EventLoop.h>
-
-void install_thread_local_event_loop()
-{
- thread_local OwnPtr<Core::EventLoop> s_thread_local_event_loop = nullptr;
- if (!s_thread_local_event_loop)
- s_thread_local_event_loop = make<Core::EventLoop>();
-}
diff --git a/Tests/LibCore/TestEventLoop.h b/Tests/LibCore/TestEventLoop.h
deleted file mode 100644
index 793b1a77b02..00000000000
--- a/Tests/LibCore/TestEventLoop.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) 2025, Andrew Kaster <[email protected]>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#pragma once
-
-void install_thread_local_event_loop();
diff --git a/Tests/LibCore/module.modulemap b/Tests/LibCore/module.modulemap
deleted file mode 100644
index 208cbdc33e2..00000000000
--- a/Tests/LibCore/module.modulemap
+++ /dev/null
@@ -1,5 +0,0 @@
-module CoreTesting {
- header "TestEventLoop.h"
- requires cplusplus
- export *
-}