summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2022-12-20 13:02:22 +0000
committerTim Flynn <trflynn89@pm.me>2022-12-20 12:09:01 -0500
commit35076796591d8a845bd75f64088da7f945ade2f9 (patch)
tree58fc4e744bc69d039c2c3019f86a1628279d19cf
parentc6f81b5b832fa7470b4a23c4c4a6fab9dba19833 (diff)
downloadserenity-35076796591d8a845bd75f64088da7f945ade2f9.zip
Lagom: Remove test apps
These are no longer useful or necessary now that a lot of different applications run on Lagom.
-rw-r--r--Meta/Lagom/CMakeLists.txt7
-rw-r--r--Meta/Lagom/TestApp.cpp21
-rw-r--r--Meta/Lagom/TestJson.cpp17
3 files changed, 0 insertions, 45 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt
index d555a7e391..bfa1a6fb53 100644
--- a/Meta/Lagom/CMakeLists.txt
+++ b/Meta/Lagom/CMakeLists.txt
@@ -443,13 +443,6 @@ if (BUILD_LAGOM)
# Lagom Services
add_serenity_subdirectory(Userland/Services)
- # Lagom Examples
- add_executable(TestApp TestApp.cpp)
- target_link_libraries(TestApp LibCore)
-
- add_executable(TestJson TestJson.cpp)
- target_link_libraries(TestJson LibCore)
-
# Lagom Utilities
if (NOT EMSCRIPTEN)
add_executable(adjtime ../../Userland/Utilities/adjtime.cpp)
diff --git a/Meta/Lagom/TestApp.cpp b/Meta/Lagom/TestApp.cpp
deleted file mode 100644
index 8b90f2cac2..0000000000
--- a/Meta/Lagom/TestApp.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#include <LibCore/EventLoop.h>
-#include <LibCore/Timer.h>
-#include <stdio.h>
-
-int main(int, char**)
-{
- Core::EventLoop event_loop;
-
- auto timer = Core::Timer::construct(100, [&] {
- dbgln("Timer fired, good-bye! :^)");
- event_loop.quit(0);
- });
-
- return event_loop.exec();
-}
diff --git a/Meta/Lagom/TestJson.cpp b/Meta/Lagom/TestJson.cpp
deleted file mode 100644
index 94c75c019a..0000000000
--- a/Meta/Lagom/TestJson.cpp
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- * Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
- *
- * SPDX-License-Identifier: BSD-2-Clause
- */
-
-#include <AK/JsonObject.h>
-#include <AK/JsonValue.h>
-#include <stdio.h>
-
-int main(int, char**)
-{
- auto value = JsonValue::from_string("{\"property\": \"value\"}"sv).release_value_but_fixme_should_propagate_errors();
- printf("parsed: _%s_\n", value.to_deprecated_string().characters());
- printf("object.property = '%s'\n", value.as_object().get("property"sv).to_deprecated_string().characters());
- return 0;
-}