mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:27:35 +00:00
Lagom: Remove test apps
These are no longer useful or necessary now that a lot of different applications run on Lagom.
This commit is contained in:
parent
c6f81b5b83
commit
3507679659
3 changed files with 0 additions and 45 deletions
|
@ -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)
|
||||
|
|
|
@ -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();
|
||||
}
|
|
@ -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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue