diff options
Diffstat (limited to 'Meta/Lagom')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 7 | ||||
-rw-r--r-- | Meta/Lagom/TestApp.cpp | 21 | ||||
-rw-r--r-- | Meta/Lagom/TestJson.cpp | 17 |
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; -} |