diff --git a/.vscode/launch.json b/.vscode/launch.json index d9d17bff2..78902f4a4 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -137,7 +137,7 @@ "request": "launch", "program": "${workspaceFolder}/out/linux/x64/tests/standalone/ten_runtime_smoke_test", "args": [ - "--gtest_filter=PropertyTest.SetObject" + "--gtest_filter=PropertyTest.TwoExtensionsSetObject" ], "cwd": "${workspaceFolder}/out/linux/x64/tests/standalone/", "env": { diff --git a/tests/ten_runtime/smoke/BUILD.gn b/tests/ten_runtime/smoke/BUILD.gn index dc361c473..1bff0f931 100644 --- a/tests/ten_runtime/smoke/BUILD.gn +++ b/tests/ten_runtime/smoke/BUILD.gn @@ -33,19 +33,41 @@ ten_executable("ten_runtime_smoke_test") { deps += [ "audio_frame_test", + "basic", "cmd_conversion", "cmd_result_test", + "command", + "concurrent", "data_test", - "extension_test", + "dest", + "engine", + "error", + "extension", + "extension_group", + "graph", + "graph_name", "graph_test", + "lock", "log_test", "msg_property", "msg_test", + "multi_dest", "notify_test", + "outer_thread", + "path", + "predefined_graph", + "prepare_to_stop", "property", + "resp_handler", "result_conversion", + "return", + "same_thread_ext_on_xxx", "standalone_test", + "start_graph", + "suspend_resume", "ten_env_call_timing", + "ten_proxy", + "timer", "video_frame_test", ] @@ -77,6 +99,10 @@ ten_executable("ten_runtime_smoke_test") { "//third_party/googlemock", "//third_party/googletest", ] + + if (ten_enable_libwebsockets && ten_enable_curl) { + deps += [ "http_server_extension" ] + } } group("smoke") { diff --git a/tests/ten_runtime/smoke/audio_frame_test/basic.cc b/tests/ten_runtime/smoke/audio_frame_test/basic.cc index f74640dbd..ddb330d2a 100644 --- a/tests/ten_runtime/smoke/audio_frame_test/basic.cc +++ b/tests/ten_runtime/smoke/audio_frame_test/basic.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/audio_frame_test/create_from_json.cc b/tests/ten_runtime/smoke/audio_frame_test/create_from_json.cc index 47972c06c..dfc025cf2 100644 --- a/tests/ten_runtime/smoke/audio_frame_test/create_from_json.cc +++ b/tests/ten_runtime/smoke/audio_frame_test/create_from_json.cc @@ -14,7 +14,7 @@ #include "ten_runtime/msg/audio_frame/audio_frame.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/audio_frame_test/from_json.cc b/tests/ten_runtime/smoke/audio_frame_test/from_json.cc index dfa0c7d42..b38f70262 100644 --- a/tests/ten_runtime/smoke/audio_frame_test/from_json.cc +++ b/tests/ten_runtime/smoke/audio_frame_test/from_json.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/audio_frame_test/multi_dest_pcm_frame.cc b/tests/ten_runtime/smoke/audio_frame_test/multi_dest_pcm_frame.cc index fcff7add2..246d73520 100644 --- a/tests/ten_runtime/smoke/audio_frame_test/multi_dest_pcm_frame.cc +++ b/tests/ten_runtime/smoke/audio_frame_test/multi_dest_pcm_frame.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define SAMPLE_RATE 16000 #define NUM_OF_CHANNELS 1 diff --git a/tests/ten_runtime/smoke/extension_test/basic/BUILD.gn b/tests/ten_runtime/smoke/basic/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/basic/BUILD.gn rename to tests/ten_runtime/smoke/basic/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_extensions_init_dependency.cc b/tests/ten_runtime/smoke/basic/basic_extensions_init_dependency.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/basic/basic_extensions_init_dependency.cc rename to tests/ten_runtime/smoke/basic/basic_extensions_init_dependency.cc index a79ce4d8a..c77ae528d 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_extensions_init_dependency.cc +++ b/tests/ten_runtime/smoke/basic/basic_extensions_init_dependency.cc @@ -8,14 +8,13 @@ #include #include #include -#include #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "ten_utils/macro/macros.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" using namespace std::placeholders; @@ -148,7 +147,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION( } // namespace -TEST(ExtensionTest, BasicExtensionsInitDependency) { // NOLINT +TEST(BasicTest, ExtensionsInitDependency) { // NOLINT // Start app. auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_hello_world_1.cc b/tests/ten_runtime/smoke/basic/basic_hello_world_1.cc similarity index 96% rename from tests/ten_runtime/smoke/extension_test/basic/basic_hello_world_1.cc rename to tests/ten_runtime/smoke/basic/basic_hello_world_1.cc index e03c6a759..6cca69b00 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_hello_world_1.cc +++ b/tests/ten_runtime/smoke/basic/basic_hello_world_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -65,7 +65,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_hello_world_1__test_extension, } // namespace -TEST(ExtensionTest, BasicHelloWorld1) { // NOLINT +TEST(BasicTest, HelloWorld1) { // NOLINT auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_hello_world_2.cc b/tests/ten_runtime/smoke/basic/basic_hello_world_2.cc similarity index 95% rename from tests/ten_runtime/smoke/extension_test/basic/basic_hello_world_2.cc rename to tests/ten_runtime/smoke/basic/basic_hello_world_2.cc index 8dc64d7b2..45bfdd10f 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_hello_world_2.cc +++ b/tests/ten_runtime/smoke/basic/basic_hello_world_2.cc @@ -6,13 +6,12 @@ // #include #include -#include #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -63,7 +62,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_hello_world_2__extension, } // namespace -TEST(ExtensionTest, BasicHelloWorld2) { // NOLINT +TEST(BasicTest, HelloWorld2) { // NOLINT auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_loop.cc b/tests/ten_runtime/smoke/basic/basic_loop.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/basic/basic_loop.cc rename to tests/ten_runtime/smoke/basic/basic_loop.cc index 4c3ab4093..bfbe373d7 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_loop.cc +++ b/tests/ten_runtime/smoke/basic/basic_loop.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -108,7 +108,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_loop__extension_2, test_extension_2); } // namespace -TEST(ExtensionTest, BasicLoop) { // NOLINT +TEST(BasicTest, Loop) { // NOLINT auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_loop_cmd.cc b/tests/ten_runtime/smoke/basic/basic_loop_cmd.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/basic/basic_loop_cmd.cc rename to tests/ten_runtime/smoke/basic/basic_loop_cmd.cc index 9e3489abf..15e86e52f 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_loop_cmd.cc +++ b/tests/ten_runtime/smoke/basic/basic_loop_cmd.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -114,7 +114,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_loop_cmd__extension_2, } // namespace -TEST(ExtensionTest, BasicLoopCmd) { // NOLINT +TEST(BasicTest, LoopCmd) { // NOLINT auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_loop_cmd_snap_shot.cc b/tests/ten_runtime/smoke/basic/basic_loop_cmd_snap_shot.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/basic/basic_loop_cmd_snap_shot.cc rename to tests/ten_runtime/smoke/basic/basic_loop_cmd_snap_shot.cc index e849af962..c4605d27a 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_loop_cmd_snap_shot.cc +++ b/tests/ten_runtime/smoke/basic/basic_loop_cmd_snap_shot.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -113,7 +113,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_loop_cmd_snapshot__extension_2, } // namespace -TEST(ExtensionTest, BasicLoopCmdSnapShot) { // NOLINT +TEST(BasicTest, LoopCmdSnapShot) { // NOLINT auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_msg_property_to_prop_store.cc b/tests/ten_runtime/smoke/basic/basic_msg_property_to_prop_store.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/basic/basic_msg_property_to_prop_store.cc rename to tests/ten_runtime/smoke/basic/basic_msg_property_to_prop_store.cc index b44ea4ed7..f4b14f533 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_msg_property_to_prop_store.cc +++ b/tests/ten_runtime/smoke/basic/basic_msg_property_to_prop_store.cc @@ -12,7 +12,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -85,7 +85,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION( } // namespace -TEST(ExtensionTest, BasicMsgPropertyToPropStore) { // NOLINT +TEST(BasicTest, MsgPropertyToPropStore) { // NOLINT // Start app. auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_app.cc b/tests/ten_runtime/smoke/basic/basic_multi_app.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/basic/basic_multi_app.cc rename to tests/ten_runtime/smoke/basic/basic_multi_app.cc index fca938a7d..f4240298c 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_app.cc +++ b/tests/ten_runtime/smoke/basic/basic_multi_app.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -124,7 +124,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_multi_app__extension_2, } // namespace -TEST(ExtensionTest, BasicMultiApp) { // NOLINT +TEST(BasicTest, MultiApp) { // NOLINT ten_thread_t *app1_thread = nullptr; ten_thread_t *app2_thread = nullptr; std::unique_ptr client = nullptr; diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_app_close_through_engine.cc b/tests/ten_runtime/smoke/basic/basic_multi_app_close_through_engine.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/basic/basic_multi_app_close_through_engine.cc rename to tests/ten_runtime/smoke/basic/basic_multi_app_close_through_engine.cc index 4863690c0..edab67121 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_app_close_through_engine.cc +++ b/tests/ten_runtime/smoke/basic/basic_multi_app_close_through_engine.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -123,7 +123,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION( } // namespace -TEST(ExtensionTest, BasicMultiAppCloseThroughEngine) { // NOLINT +TEST(BasicTest, MultiAppCloseThroughEngine) { // NOLINT // Start app. auto *app_thread_2 = ten_thread_create("app thread 2", app_thread_2_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_extension.cc b/tests/ten_runtime/smoke/basic/basic_multi_extension.cc similarity index 96% rename from tests/ten_runtime/smoke/extension_test/basic/basic_multi_extension.cc rename to tests/ten_runtime/smoke/basic/basic_multi_extension.cc index 7ad64737a..075e619d9 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_extension.cc +++ b/tests/ten_runtime/smoke/basic/basic_multi_extension.cc @@ -6,13 +6,12 @@ // #include #include -#include #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -78,7 +77,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_multi_extension__extension_2, } // namespace -TEST(ExtensionTest, BasicMultiExtension) { // NOLINT +TEST(BasicTest, MultiExtension) { // NOLINT // Start app. auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_extension_group.cc b/tests/ten_runtime/smoke/basic/basic_multi_extension_group.cc similarity index 96% rename from tests/ten_runtime/smoke/extension_test/basic/basic_multi_extension_group.cc rename to tests/ten_runtime/smoke/basic/basic_multi_extension_group.cc index 7aba4dbfd..3b429f85c 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_multi_extension_group.cc +++ b/tests/ten_runtime/smoke/basic/basic_multi_extension_group.cc @@ -6,13 +6,12 @@ // #include #include -#include #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -78,7 +77,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_multi_extension_group__extension_2, } // namespace -TEST(ExtensionTest, BasicMultiExtensionGroup) { // NOLINT +TEST(BasicTest, MultiExtensionGroup) { // NOLINT // Start app. auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_no_init_extension_group.cc b/tests/ten_runtime/smoke/basic/basic_no_init_extension_group.cc similarity index 95% rename from tests/ten_runtime/smoke/extension_test/basic/basic_no_init_extension_group.cc rename to tests/ten_runtime/smoke/basic/basic_no_init_extension_group.cc index 1992f0372..176b44eac 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_no_init_extension_group.cc +++ b/tests/ten_runtime/smoke/basic/basic_no_init_extension_group.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -62,7 +62,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_no_init_extension_group__extension, } // namespace -TEST(ExtensionTest, BasicNoInitExtensionGroup) { // NOLINT +TEST(BasicTest, NoInitExtensionGroup) { // NOLINT auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_throw_exception_in_extension.cc b/tests/ten_runtime/smoke/basic/basic_throw_exception_in_extension.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/basic/basic_throw_exception_in_extension.cc rename to tests/ten_runtime/smoke/basic/basic_throw_exception_in_extension.cc index 16ec27811..aea9c4ee2 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_throw_exception_in_extension.cc +++ b/tests/ten_runtime/smoke/basic/basic_throw_exception_in_extension.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -166,7 +166,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION( } // namespace -TEST(ExtensionTest, BasicThrowExceptionInExtension) { // NOLINT +TEST(BasicTest, ThrowExceptionInExtension) { // NOLINT // Start app. auto *app_3_thread = ten_thread_create("app thread 3", app_thread_3_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_two_extensions.cc b/tests/ten_runtime/smoke/basic/basic_two_extensions.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/basic/basic_two_extensions.cc rename to tests/ten_runtime/smoke/basic/basic_two_extensions.cc index 127ae1578..71d336742 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_two_extensions.cc +++ b/tests/ten_runtime/smoke/basic/basic_two_extensions.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -77,7 +77,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION(basic_two_extensions__test_extension_2, } // namespace -TEST(ExtensionTest, BasicTwoExtensions) { // NOLINT +TEST(BasicTest, TwoExtensions) { // NOLINT // Start app. auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_two_standalone_extension_1.cc b/tests/ten_runtime/smoke/basic/basic_two_standalone_extension_1.cc similarity index 96% rename from tests/ten_runtime/smoke/extension_test/basic/basic_two_standalone_extension_1.cc rename to tests/ten_runtime/smoke/basic/basic_two_standalone_extension_1.cc index c0d582654..1e4aaf8b6 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_two_standalone_extension_1.cc +++ b/tests/ten_runtime/smoke/basic/basic_two_standalone_extension_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -75,7 +75,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION( } // namespace -TEST(ExtensionTest, BasicTwoStandaloneExtension1) { // NOLINT +TEST(BasicTest, TwoStandaloneExtension1) { // NOLINT // Start app. auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/extension_test/basic/basic_two_standalone_extension_2.cc b/tests/ten_runtime/smoke/basic/basic_two_standalone_extension_2.cc similarity index 96% rename from tests/ten_runtime/smoke/extension_test/basic/basic_two_standalone_extension_2.cc rename to tests/ten_runtime/smoke/basic/basic_two_standalone_extension_2.cc index fe36c34da..663b620e5 100644 --- a/tests/ten_runtime/smoke/extension_test/basic/basic_two_standalone_extension_2.cc +++ b/tests/ten_runtime/smoke/basic/basic_two_standalone_extension_2.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -75,7 +75,7 @@ TEN_CPP_REGISTER_ADDON_AS_EXTENSION( } // namespace -TEST(ExtensionTest, BasicTwoStandaloneExtension2) { // NOLINT +TEST(BasicTest, TwoStandaloneExtension2) { // NOLINT // Start app. auto *app_thread = ten_thread_create("app thread", test_app_thread_main, nullptr); diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_connect_cmd.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_connect_cmd.cc index 5a8c8aa9e..498b5e386 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_connect_cmd.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_connect_cmd.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_data.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_data.cc index 88442ee92..a01542265 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_data.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_data.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph.cc index dcfef6186..212a3c0fa 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph_default_uri.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph_default_uri.cc index 54e92c4cb..02411a2b8 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph_default_uri.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_graph_default_uri.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path.cc index 14837f1fe..557362809 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_1.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_1.cc index 8d0771880..12254852d 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_1.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_1.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_2.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_2.cc index fd2d2d6a9..2c853de79 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_2.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_2.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_3.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_3.cc index 41bb2be09..0472f1ad5 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_3.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_3.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_4.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_4.cc index eebd4746f..270aadfd6 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_4.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_4.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_5.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_5.cc index 1ce5497cc..d141f9317 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_5.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_5.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_6.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_6.cc index 5c24a8fd3..12844fee4 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_6.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_6.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_7.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_7.cc index aa4e6a2f7..63ce20506 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_7.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_array_7.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_keep_original.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_keep_original.cc index bf975e246..505ae4c1c 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_keep_original.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_keep_original.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_1.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_1.cc index 1345d570f..58043a348 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_1.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_1.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_2.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_2.cc index 3bca8e8bf..6c88b984a 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_2.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_2.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_3.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_3.cc index 06e30ae19..24a915d2f 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_3.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_3.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_4.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_4.cc index 863a36916..b773378af 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_4.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_4.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_5.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_5.cc index 6f277c7f4..3654af5d4 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_5.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_5.cc @@ -13,7 +13,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_6.cc b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_6.cc index b2f781549..87c90d034 100644 --- a/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_6.cc +++ b/tests/ten_runtime/smoke/cmd_conversion/cmd_conversion_path_nested_6.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_result_test/multiple_result_1.cc b/tests/ten_runtime/smoke/cmd_result_test/multiple_result_1.cc index adc19dc4a..bf37945fc 100644 --- a/tests/ten_runtime/smoke/cmd_result_test/multiple_result_1.cc +++ b/tests/ten_runtime/smoke/cmd_result_test/multiple_result_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_result_test/multiple_result_2.cc b/tests/ten_runtime/smoke/cmd_result_test/multiple_result_2.cc index e91d952b3..21ce3809c 100644 --- a/tests/ten_runtime/smoke/cmd_result_test/multiple_result_2.cc +++ b/tests/ten_runtime/smoke/cmd_result_test/multiple_result_2.cc @@ -12,7 +12,7 @@ #include "ten_runtime/binding/cpp/detail/ten_env.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/cmd_result_test/multiple_result_3.cc b/tests/ten_runtime/smoke/cmd_result_test/multiple_result_3.cc index 85cf3f4c8..7e9550fab 100644 --- a/tests/ten_runtime/smoke/cmd_result_test/multiple_result_3.cc +++ b/tests/ten_runtime/smoke/cmd_result_test/multiple_result_3.cc @@ -12,7 +12,7 @@ #include "ten_runtime/binding/cpp/detail/ten_env.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/BUILD.gn b/tests/ten_runtime/smoke/command/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/command/BUILD.gn rename to tests/ten_runtime/smoke/command/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/command/command_check_cmd_out.cc b/tests/ten_runtime/smoke/command/command_check_cmd_out.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/command/command_check_cmd_out.cc rename to tests/ten_runtime/smoke/command/command_check_cmd_out.cc index 4d85c599f..3c36a829e 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_check_cmd_out.cc +++ b/tests/ten_runtime/smoke/command/command_check_cmd_out.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_invalid_extension.cc b/tests/ten_runtime/smoke/command/command_invalid_extension.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/command/command_invalid_extension.cc rename to tests/ten_runtime/smoke/command/command_invalid_extension.cc index f2748a1de..cc749faef 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_invalid_extension.cc +++ b/tests/ten_runtime/smoke/command/command_invalid_extension.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_invalid_extension_2.cc b/tests/ten_runtime/smoke/command/command_invalid_extension_2.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/command/command_invalid_extension_2.cc rename to tests/ten_runtime/smoke/command/command_invalid_extension_2.cc index 645ab1d14..282360c8d 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_invalid_extension_2.cc +++ b/tests/ten_runtime/smoke/command/command_invalid_extension_2.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_invalid_extension_group.cc b/tests/ten_runtime/smoke/command/command_invalid_extension_group.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/command/command_invalid_extension_group.cc rename to tests/ten_runtime/smoke/command/command_invalid_extension_group.cc index c6bdb97d0..5396f17fe 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_invalid_extension_group.cc +++ b/tests/ten_runtime/smoke/command/command_invalid_extension_group.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_send_enum.cc b/tests/ten_runtime/smoke/command/command_send_enum.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/command/command_send_enum.cc rename to tests/ten_runtime/smoke/command/command_send_enum.cc index 2d4c33423..d45593a8d 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_send_enum.cc +++ b/tests/ten_runtime/smoke/command/command_send_enum.cc @@ -12,7 +12,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_send_ptr.cc b/tests/ten_runtime/smoke/command/command_send_ptr.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/command/command_send_ptr.cc rename to tests/ten_runtime/smoke/command/command_send_ptr.cc index c6c61fe9d..52f97e03c 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_send_ptr.cc +++ b/tests/ten_runtime/smoke/command/command_send_ptr.cc @@ -12,7 +12,7 @@ #include "ten_utils/lib/alloc.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_send_ptr_through_cmd.cc b/tests/ten_runtime/smoke/command/command_send_ptr_through_cmd.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/command/command_send_ptr_through_cmd.cc rename to tests/ten_runtime/smoke/command/command_send_ptr_through_cmd.cc index ac95adb94..3c445b6f0 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_send_ptr_through_cmd.cc +++ b/tests/ten_runtime/smoke/command/command_send_ptr_through_cmd.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/alloc.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively.cc b/tests/ten_runtime/smoke/command/command_stop_graph_actively.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively.cc rename to tests/ten_runtime/smoke/command/command_stop_graph_actively.cc index c20b0bb37..9a37b9dbe 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively.cc +++ b/tests/ten_runtime/smoke/command/command_stop_graph_actively.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively_through_cmd.cc b/tests/ten_runtime/smoke/command/command_stop_graph_actively_through_cmd.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively_through_cmd.cc rename to tests/ten_runtime/smoke/command/command_stop_graph_actively_through_cmd.cc index d6510164f..e24a66cec 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively_through_cmd.cc +++ b/tests/ten_runtime/smoke/command/command_stop_graph_actively_through_cmd.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively_through_cmd_dest.cc b/tests/ten_runtime/smoke/command/command_stop_graph_actively_through_cmd_dest.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively_through_cmd_dest.cc rename to tests/ten_runtime/smoke/command/command_stop_graph_actively_through_cmd_dest.cc index 96ed7ba7f..16f44e225 100644 --- a/tests/ten_runtime/smoke/extension_test/command/command_stop_graph_actively_through_cmd_dest.cc +++ b/tests/ten_runtime/smoke/command/command_stop_graph_actively_through_cmd_dest.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/concurrent/BUILD.gn b/tests/ten_runtime/smoke/concurrent/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/concurrent/BUILD.gn rename to tests/ten_runtime/smoke/concurrent/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/concurrent/multi_app_concurrent.cc b/tests/ten_runtime/smoke/concurrent/multi_app_concurrent.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/concurrent/multi_app_concurrent.cc rename to tests/ten_runtime/smoke/concurrent/multi_app_concurrent.cc index 4397131cf..13bca2c51 100644 --- a/tests/ten_runtime/smoke/extension_test/concurrent/multi_app_concurrent.cc +++ b/tests/ten_runtime/smoke/concurrent/multi_app_concurrent.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/concurrent/multi_app_sequential.cc b/tests/ten_runtime/smoke/concurrent/multi_app_sequential.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/concurrent/multi_app_sequential.cc rename to tests/ten_runtime/smoke/concurrent/multi_app_sequential.cc index 91a296adc..6359abac8 100644 --- a/tests/ten_runtime/smoke/extension_test/concurrent/multi_app_sequential.cc +++ b/tests/ten_runtime/smoke/concurrent/multi_app_sequential.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/concurrent/one_engine_concurrent.cc b/tests/ten_runtime/smoke/concurrent/one_engine_concurrent.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/concurrent/one_engine_concurrent.cc rename to tests/ten_runtime/smoke/concurrent/one_engine_concurrent.cc index 83ccb6f75..b1318c1d1 100644 --- a/tests/ten_runtime/smoke/extension_test/concurrent/one_engine_concurrent.cc +++ b/tests/ten_runtime/smoke/concurrent/one_engine_concurrent.cc @@ -16,7 +16,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/data_test/basic.cc b/tests/ten_runtime/smoke/data_test/basic.cc index 55198cc5f..42e53b211 100644 --- a/tests/ten_runtime/smoke/data_test/basic.cc +++ b/tests/ten_runtime/smoke/data_test/basic.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define DATA "hello world" diff --git a/tests/ten_runtime/smoke/data_test/basic_2.cc b/tests/ten_runtime/smoke/data_test/basic_2.cc index 9b09b3b39..4ef18e1fa 100644 --- a/tests/ten_runtime/smoke/data_test/basic_2.cc +++ b/tests/ten_runtime/smoke/data_test/basic_2.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/data_test/create_from_json.cc b/tests/ten_runtime/smoke/data_test/create_from_json.cc index 34248e078..c0cacf225 100644 --- a/tests/ten_runtime/smoke/data_test/create_from_json.cc +++ b/tests/ten_runtime/smoke/data_test/create_from_json.cc @@ -13,7 +13,7 @@ #include "ten_runtime/binding/cpp/detail/msg/data.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/data_test/from_json.cc b/tests/ten_runtime/smoke/data_test/from_json.cc index 7a28fad3d..308e4f606 100644 --- a/tests/ten_runtime/smoke/data_test/from_json.cc +++ b/tests/ten_runtime/smoke/data_test/from_json.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/data_test/multi_dest_data.cc b/tests/ten_runtime/smoke/data_test/multi_dest_data.cc index 2e5899dc3..7fc3b3998 100644 --- a/tests/ten_runtime/smoke/data_test/multi_dest_data.cc +++ b/tests/ten_runtime/smoke/data_test/multi_dest_data.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define DATA "hello world" diff --git a/tests/ten_runtime/smoke/extension_test/dest/BUILD.gn b/tests/ten_runtime/smoke/dest/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/dest/BUILD.gn rename to tests/ten_runtime/smoke/dest/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/dest/no_audio_frame_dest.cc b/tests/ten_runtime/smoke/dest/no_audio_frame_dest.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/dest/no_audio_frame_dest.cc rename to tests/ten_runtime/smoke/dest/no_audio_frame_dest.cc index 87702a5d4..67b1dce8e 100644 --- a/tests/ten_runtime/smoke/extension_test/dest/no_audio_frame_dest.cc +++ b/tests/ten_runtime/smoke/dest/no_audio_frame_dest.cc @@ -15,7 +15,7 @@ #include "ten_utils/lang/cpp/lib/error.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/dest/specify_dest.cc b/tests/ten_runtime/smoke/dest/specify_dest.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/dest/specify_dest.cc rename to tests/ten_runtime/smoke/dest/specify_dest.cc index 961a50087..a89b58ed9 100644 --- a/tests/ten_runtime/smoke/extension_test/dest/specify_dest.cc +++ b/tests/ten_runtime/smoke/dest/specify_dest.cc @@ -12,7 +12,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" // This is a simple example, used to demonstrate that the flow between // extensions is _not_ specified by a graph, but is explicitly defined by the diff --git a/tests/ten_runtime/smoke/extension_test/engine/BUILD.gn b/tests/ten_runtime/smoke/engine/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/engine/BUILD.gn rename to tests/ten_runtime/smoke/engine/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/engine/batch_send_msgs_in_migration.cc b/tests/ten_runtime/smoke/engine/batch_send_msgs_in_migration.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/engine/batch_send_msgs_in_migration.cc rename to tests/ten_runtime/smoke/engine/batch_send_msgs_in_migration.cc index c4c271ea9..c85dfe188 100644 --- a/tests/ten_runtime/smoke/extension_test/engine/batch_send_msgs_in_migration.cc +++ b/tests/ten_runtime/smoke/engine/batch_send_msgs_in_migration.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/engine/engine_long_running_mode.cc b/tests/ten_runtime/smoke/engine/engine_long_running_mode.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/engine/engine_long_running_mode.cc rename to tests/ten_runtime/smoke/engine/engine_long_running_mode.cc index 0f16aa1d5..67d765ff1 100644 --- a/tests/ten_runtime/smoke/extension_test/engine/engine_long_running_mode.cc +++ b/tests/ten_runtime/smoke/engine/engine_long_running_mode.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/engine/engine_one_loop_per_engine.cc b/tests/ten_runtime/smoke/engine/engine_one_loop_per_engine.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/engine/engine_one_loop_per_engine.cc rename to tests/ten_runtime/smoke/engine/engine_one_loop_per_engine.cc index 3857ca175..e38693471 100644 --- a/tests/ten_runtime/smoke/extension_test/engine/engine_one_loop_per_engine.cc +++ b/tests/ten_runtime/smoke/engine/engine_one_loop_per_engine.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/engine/extension_send_msg_to_incorrect_engine.cc b/tests/ten_runtime/smoke/engine/extension_send_msg_to_incorrect_engine.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/engine/extension_send_msg_to_incorrect_engine.cc rename to tests/ten_runtime/smoke/engine/extension_send_msg_to_incorrect_engine.cc index 76cbe1cba..af94db464 100644 --- a/tests/ten_runtime/smoke/extension_test/engine/extension_send_msg_to_incorrect_engine.cc +++ b/tests/ten_runtime/smoke/engine/extension_send_msg_to_incorrect_engine.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/engine/wrong_engine_then_correct_in_migration.cc b/tests/ten_runtime/smoke/engine/wrong_engine_then_correct_in_migration.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/engine/wrong_engine_then_correct_in_migration.cc rename to tests/ten_runtime/smoke/engine/wrong_engine_then_correct_in_migration.cc index a86ef6d85..b2874f953 100644 --- a/tests/ten_runtime/smoke/extension_test/engine/wrong_engine_then_correct_in_migration.cc +++ b/tests/ten_runtime/smoke/engine/wrong_engine_then_correct_in_migration.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/error/BUILD.gn b/tests/ten_runtime/smoke/error/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/error/BUILD.gn rename to tests/ten_runtime/smoke/error/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/error/error_client_send_json.cc b/tests/ten_runtime/smoke/error/error_client_send_json.cc similarity index 100% rename from tests/ten_runtime/smoke/extension_test/error/error_client_send_json.cc rename to tests/ten_runtime/smoke/error/error_client_send_json.cc diff --git a/tests/ten_runtime/smoke/extension_test/error/failed_to_connect_to_remote.cc b/tests/ten_runtime/smoke/error/failed_to_connect_to_remote.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/error/failed_to_connect_to_remote.cc rename to tests/ten_runtime/smoke/error/failed_to_connect_to_remote.cc index c69da4583..caf6b5260 100644 --- a/tests/ten_runtime/smoke/extension_test/error/failed_to_connect_to_remote.cc +++ b/tests/ten_runtime/smoke/error/failed_to_connect_to_remote.cc @@ -9,7 +9,7 @@ #include "ten_runtime/binding/cpp/detail/msg/cmd/start_graph.h" #include "ten_runtime/common/status_code.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { class test_predefined_graph : public ten::extension_t { diff --git a/tests/ten_runtime/smoke/extension_test/error/failed_to_listen.cc b/tests/ten_runtime/smoke/error/failed_to_listen.cc similarity index 94% rename from tests/ten_runtime/smoke/extension_test/error/failed_to_listen.cc rename to tests/ten_runtime/smoke/error/failed_to_listen.cc index e78c37489..5717cda73 100644 --- a/tests/ten_runtime/smoke/extension_test/error/failed_to_listen.cc +++ b/tests/ten_runtime/smoke/error/failed_to_listen.cc @@ -10,7 +10,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/extension/BUILD.gn b/tests/ten_runtime/smoke/extension/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/extension/BUILD.gn rename to tests/ten_runtime/smoke/extension/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension.cc b/tests/ten_runtime/smoke/extension/extension_reg_extension.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension.cc rename to tests/ten_runtime/smoke/extension/extension_reg_extension.cc index 1edac37a5..fee5872fb 100644 --- a/tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension.cc +++ b/tests/ten_runtime/smoke/extension/extension_reg_extension.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension_and_create_group.cc b/tests/ten_runtime/smoke/extension/extension_reg_extension_and_create_group.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension_and_create_group.cc rename to tests/ten_runtime/smoke/extension/extension_reg_extension_and_create_group.cc index dda25e3ab..883691e9e 100644 --- a/tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension_and_create_group.cc +++ b/tests/ten_runtime/smoke/extension/extension_reg_extension_and_create_group.cc @@ -13,7 +13,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define APP_PROP_VAL 12345 #define EXTENSION_PROP_VAL 98762 diff --git a/tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension_group.cc b/tests/ten_runtime/smoke/extension/extension_reg_extension_group.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension_group.cc rename to tests/ten_runtime/smoke/extension/extension_reg_extension_group.cc index ac4c87d47..5d8794af2 100644 --- a/tests/ten_runtime/smoke/extension_test/extension/extension_reg_extension_group.cc +++ b/tests/ten_runtime/smoke/extension/extension_reg_extension_group.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/extension/extension_with_same_name.cc b/tests/ten_runtime/smoke/extension/extension_with_same_name.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/extension/extension_with_same_name.cc rename to tests/ten_runtime/smoke/extension/extension_with_same_name.cc index f01509ee7..72410961f 100644 --- a/tests/ten_runtime/smoke/extension_test/extension/extension_with_same_name.cc +++ b/tests/ten_runtime/smoke/extension/extension_with_same_name.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/extension_group/BUILD.gn b/tests/ten_runtime/smoke/extension_group/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/extension_group/BUILD.gn rename to tests/ten_runtime/smoke/extension_group/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/extension_group/extension_group_not_specified.cc b/tests/ten_runtime/smoke/extension_group/extension_group_not_specified.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/extension_group/extension_group_not_specified.cc rename to tests/ten_runtime/smoke/extension_group/extension_group_not_specified.cc index 5e1003f33..703876abb 100644 --- a/tests/ten_runtime/smoke/extension_test/extension_group/extension_group_not_specified.cc +++ b/tests/ten_runtime/smoke/extension_group/extension_group_not_specified.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/extension_group/extension_group_with_same_name.cc b/tests/ten_runtime/smoke/extension_group/extension_group_with_same_name.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/extension_group/extension_group_with_same_name.cc rename to tests/ten_runtime/smoke/extension_group/extension_group_with_same_name.cc index ab166ef72..7940f934b 100644 --- a/tests/ten_runtime/smoke/extension_test/extension_group/extension_group_with_same_name.cc +++ b/tests/ten_runtime/smoke/extension_group/extension_group_with_same_name.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/extension_group/extension_group_with_same_name_and_topo_info.cc b/tests/ten_runtime/smoke/extension_group/extension_group_with_same_name_and_topo_info.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/extension_group/extension_group_with_same_name_and_topo_info.cc rename to tests/ten_runtime/smoke/extension_group/extension_group_with_same_name_and_topo_info.cc index 9f8965fdb..7947f69e0 100644 --- a/tests/ten_runtime/smoke/extension_test/extension_group/extension_group_with_same_name_and_topo_info.cc +++ b/tests/ten_runtime/smoke/extension_group/extension_group_with_same_name_and_topo_info.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/BUILD.gn b/tests/ten_runtime/smoke/extension_test/BUILD.gn deleted file mode 100644 index 1172aff76..000000000 --- a/tests/ten_runtime/smoke/extension_test/BUILD.gn +++ /dev/null @@ -1,59 +0,0 @@ -# -# Copyright © 2024 Agora -# This file is part of TEN Framework, an open source project. -# Licensed under the Apache License, Version 2.0, with certain conditions. -# Refer to the "LICENSE" file in the root directory for more information. -# -import("//build/ten_runtime/glob.gni") -import("//build/ten_runtime/ten.gni") - -glob("extension_test") { - file_list = all_native_files - - include_dirs = [ - "//packages", - "//tests/ten_runtime", - ] - - deps = [ - "//core/src/ten_runtime", - "//tests/common/client", - "//tests/common/server", - ] - - public_deps = [ - "//third_party/googlemock", - "//third_party/googletest", - ] - - deps += [ - "basic", - "command", - "dest", - "engine", - "error", - "extension", - "extension_group", - "graph", - "graph_name", - "lock", - "multi_dest", - "outer_thread", - "path", - "predefined_graph", - "prepare_to_stop", - "resp_handler", - "return", - "same_thread_ext_on_xxx", - "start_graph", - "suspend_resume", - "ten_proxy", - "timer", - ] - - if (ten_enable_libwebsockets && ten_enable_curl) { - deps += [ "http_server_extension" ] - } - - deps += [ "concurrent" ] -} diff --git a/tests/ten_runtime/smoke/extension_test/graph/BUILD.gn b/tests/ten_runtime/smoke/graph/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/graph/BUILD.gn rename to tests/ten_runtime/smoke/graph/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_1.cc b/tests/ten_runtime/smoke/graph/graph_lack_something_1.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_1.cc rename to tests/ten_runtime/smoke/graph/graph_lack_something_1.cc index 77c9d09a6..ed40c2b37 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_1.cc +++ b/tests/ten_runtime/smoke/graph/graph_lack_something_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_2.cc b/tests/ten_runtime/smoke/graph/graph_lack_something_2.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_2.cc rename to tests/ten_runtime/smoke/graph/graph_lack_something_2.cc index 48ce13ceb..6d0327aa7 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_2.cc +++ b/tests/ten_runtime/smoke/graph/graph_lack_something_2.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_3.cc b/tests/ten_runtime/smoke/graph/graph_lack_something_3.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_3.cc rename to tests/ten_runtime/smoke/graph/graph_lack_something_3.cc index ff8858912..c3cbf01a6 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_lack_something_3.cc +++ b/tests/ten_runtime/smoke/graph/graph_lack_something_3.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_in_multi_app.cc b/tests/ten_runtime/smoke/graph/graph_loop_in_multi_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_loop_in_multi_app.cc rename to tests/ten_runtime/smoke/graph/graph_loop_in_multi_app.cc index 644c6fc56..81e086459 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_in_multi_app.cc +++ b/tests/ten_runtime/smoke/graph/graph_loop_in_multi_app.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_in_one_app.cc b/tests/ten_runtime/smoke/graph/graph_loop_in_one_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_loop_in_one_app.cc rename to tests/ten_runtime/smoke/graph/graph_loop_in_one_app.cc index 25d19899d..09288a84b 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_in_one_app.cc +++ b/tests/ten_runtime/smoke/graph/graph_loop_in_one_app.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle.cc b/tests/ten_runtime/smoke/graph/graph_loop_multiple_circle.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle.cc rename to tests/ten_runtime/smoke/graph/graph_loop_multiple_circle.cc index 2a7ff6d8c..c5aa805dc 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle.cc +++ b/tests/ten_runtime/smoke/graph/graph_loop_multiple_circle.cc @@ -12,7 +12,7 @@ #include "ten_runtime/binding/cpp/detail/ten_env.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define LOOP_CNT 2 diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle_through_cmd.cc b/tests/ten_runtime/smoke/graph/graph_loop_multiple_circle_through_cmd.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle_through_cmd.cc rename to tests/ten_runtime/smoke/graph/graph_loop_multiple_circle_through_cmd.cc index d7d3ae91d..8233006dc 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle_through_cmd.cc +++ b/tests/ten_runtime/smoke/graph/graph_loop_multiple_circle_through_cmd.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define LOOP_CNT 2 diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle_through_cmd_with_default.cc b/tests/ten_runtime/smoke/graph/graph_loop_multiple_circle_through_cmd_with_default.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle_through_cmd_with_default.cc rename to tests/ten_runtime/smoke/graph/graph_loop_multiple_circle_through_cmd_with_default.cc index 556fc44cc..03cf79a28 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_loop_multiple_circle_through_cmd_with_default.cc +++ b/tests/ten_runtime/smoke/graph/graph_loop_multiple_circle_through_cmd_with_default.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/log/log.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define LOOP_CNT 2 diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_multiple_polygon.cc b/tests/ten_runtime/smoke/graph/graph_multiple_polygon.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_multiple_polygon.cc rename to tests/ten_runtime/smoke/graph/graph_multiple_polygon.cc index 5539632c2..a27f71668 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_multiple_polygon.cc +++ b/tests/ten_runtime/smoke/graph/graph_multiple_polygon.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_multiple_polygon_one_app.cc b/tests/ten_runtime/smoke/graph/graph_multiple_polygon_one_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_multiple_polygon_one_app.cc rename to tests/ten_runtime/smoke/graph/graph_multiple_polygon_one_app.cc index 72a5df205..ce0b00bba 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_multiple_polygon_one_app.cc +++ b/tests/ten_runtime/smoke/graph/graph_multiple_polygon_one_app.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_out_of_order_1.cc b/tests/ten_runtime/smoke/graph/graph_out_of_order_1.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/graph/graph_out_of_order_1.cc rename to tests/ten_runtime/smoke/graph/graph_out_of_order_1.cc index 5b27db9f0..c1027e7bc 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_out_of_order_1.cc +++ b/tests/ten_runtime/smoke/graph/graph_out_of_order_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_out_of_order_2.cc b/tests/ten_runtime/smoke/graph/graph_out_of_order_2.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/graph/graph_out_of_order_2.cc rename to tests/ten_runtime/smoke/graph/graph_out_of_order_2.cc index 559feb295..a12a6d7d7 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_out_of_order_2.cc +++ b/tests/ten_runtime/smoke/graph/graph_out_of_order_2.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_polygon_in_one_app_return_all_1.cc b/tests/ten_runtime/smoke/graph/graph_polygon_in_one_app_return_all_1.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_polygon_in_one_app_return_all_1.cc rename to tests/ten_runtime/smoke/graph/graph_polygon_in_one_app_return_all_1.cc index 9bc859480..87c142026 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_polygon_in_one_app_return_all_1.cc +++ b/tests/ten_runtime/smoke/graph/graph_polygon_in_one_app_return_all_1.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_polygon_in_one_app_return_all_2.cc b/tests/ten_runtime/smoke/graph/graph_polygon_in_one_app_return_all_2.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_polygon_in_one_app_return_all_2.cc rename to tests/ten_runtime/smoke/graph/graph_polygon_in_one_app_return_all_2.cc index 4e550691f..1381f4d5d 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_polygon_in_one_app_return_all_2.cc +++ b/tests/ten_runtime/smoke/graph/graph_polygon_in_one_app_return_all_2.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_y_shape_in_multi_app.cc b/tests/ten_runtime/smoke/graph/graph_y_shape_in_multi_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_y_shape_in_multi_app.cc rename to tests/ten_runtime/smoke/graph/graph_y_shape_in_multi_app.cc index dafec114b..f32999460 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_y_shape_in_multi_app.cc +++ b/tests/ten_runtime/smoke/graph/graph_y_shape_in_multi_app.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph/graph_y_shape_in_one_app.cc b/tests/ten_runtime/smoke/graph/graph_y_shape_in_one_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph/graph_y_shape_in_one_app.cc rename to tests/ten_runtime/smoke/graph/graph_y_shape_in_one_app.cc index 497bfb4f9..196404cfd 100644 --- a/tests/ten_runtime/smoke/extension_test/graph/graph_y_shape_in_one_app.cc +++ b/tests/ten_runtime/smoke/graph/graph_y_shape_in_one_app.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/graph_name/BUILD.gn b/tests/ten_runtime/smoke/graph_name/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/graph_name/BUILD.gn rename to tests/ten_runtime/smoke/graph_name/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/graph_name/graph_name_basic.cc b/tests/ten_runtime/smoke/graph_name/graph_name_basic.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/graph_name/graph_name_basic.cc rename to tests/ten_runtime/smoke/graph_name/graph_name_basic.cc index 176acd013..4fcd6f857 100644 --- a/tests/ten_runtime/smoke/extension_test/graph_name/graph_name_basic.cc +++ b/tests/ten_runtime/smoke/graph_name/graph_name_basic.cc @@ -12,7 +12,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/graph_test/group_node_missing.cc b/tests/ten_runtime/smoke/graph_test/group_node_missing.cc index 3a7b13cd0..a243fed27 100644 --- a/tests/ten_runtime/smoke/graph_test/group_node_missing.cc +++ b/tests/ten_runtime/smoke/graph_test/group_node_missing.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/graph_test/group_node_missing_2_apps.cc b/tests/ten_runtime/smoke/graph_test/group_node_missing_2_apps.cc index 42a4dcd3b..3a2e1d64e 100644 --- a/tests/ten_runtime/smoke/graph_test/group_node_missing_2_apps.cc +++ b/tests/ten_runtime/smoke/graph_test/group_node_missing_2_apps.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/http_server_extension/BUILD.gn b/tests/ten_runtime/smoke/http_server_extension/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/http_server_extension/BUILD.gn rename to tests/ten_runtime/smoke/http_server_extension/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/http_server_extension/http_server_extension_close_app.cc b/tests/ten_runtime/smoke/http_server_extension/http_server_extension_close_app.cc similarity index 100% rename from tests/ten_runtime/smoke/extension_test/http_server_extension/http_server_extension_close_app.cc rename to tests/ten_runtime/smoke/http_server_extension/http_server_extension_close_app.cc diff --git a/tests/ten_runtime/smoke/extension_test/http_server_extension/http_server_extension_two_extensions.cc b/tests/ten_runtime/smoke/http_server_extension/http_server_extension_two_extensions.cc similarity index 100% rename from tests/ten_runtime/smoke/extension_test/http_server_extension/http_server_extension_two_extensions.cc rename to tests/ten_runtime/smoke/http_server_extension/http_server_extension_two_extensions.cc diff --git a/tests/ten_runtime/smoke/interface_test/interface_out_cmd_in_schema.cc b/tests/ten_runtime/smoke/interface_test/interface_out_cmd_in_schema.cc index 72dc390eb..16d847573 100644 --- a/tests/ten_runtime/smoke/interface_test/interface_out_cmd_in_schema.cc +++ b/tests/ten_runtime/smoke/interface_test/interface_out_cmd_in_schema.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/interface_test/interface_out_cmd_not_in_schema.cc b/tests/ten_runtime/smoke/interface_test/interface_out_cmd_not_in_schema.cc index 4cd509781..6f77ad962 100644 --- a/tests/ten_runtime/smoke/interface_test/interface_out_cmd_not_in_schema.cc +++ b/tests/ten_runtime/smoke/interface_test/interface_out_cmd_not_in_schema.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/interface_test/interface_out_result_error.cc b/tests/ten_runtime/smoke/interface_test/interface_out_result_error.cc index 7b16181ff..c15fe8342 100644 --- a/tests/ten_runtime/smoke/interface_test/interface_out_result_error.cc +++ b/tests/ten_runtime/smoke/interface_test/interface_out_result_error.cc @@ -12,7 +12,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/lock/BUILD.gn b/tests/ten_runtime/smoke/lock/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/lock/BUILD.gn rename to tests/ten_runtime/smoke/lock/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/lock/lock_data_1.cc b/tests/ten_runtime/smoke/lock/lock_data_1.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/lock/lock_data_1.cc rename to tests/ten_runtime/smoke/lock/lock_data_1.cc index c82f7c443..133394a86 100644 --- a/tests/ten_runtime/smoke/extension_test/lock/lock_data_1.cc +++ b/tests/ten_runtime/smoke/lock/lock_data_1.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define DATA "hello world" diff --git a/tests/ten_runtime/smoke/log_test/log_file.cc b/tests/ten_runtime/smoke/log_test/log_file.cc index 1fe8ad559..2afc52057 100644 --- a/tests/ten_runtime/smoke/log_test/log_file.cc +++ b/tests/ten_runtime/smoke/log_test/log_file.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/log_test/log_stderr.cc b/tests/ten_runtime/smoke/log_test/log_stderr.cc index e6c6fb94b..d7f0915bf 100644 --- a/tests/ten_runtime/smoke/log_test/log_stderr.cc +++ b/tests/ten_runtime/smoke/log_test/log_stderr.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/msg_property/msg_property_send_c_string.cc b/tests/ten_runtime/smoke/msg_property/msg_property_send_c_string.cc index f88ee7669..4bf044928 100644 --- a/tests/ten_runtime/smoke/msg_property/msg_property_send_c_string.cc +++ b/tests/ten_runtime/smoke/msg_property/msg_property_send_c_string.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA "hello TEN in C!" diff --git a/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_ptr.cc b/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_ptr.cc index 7a61d270e..867a96368 100644 --- a/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_ptr.cc +++ b/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_ptr.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_string.cc b/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_string.cc index 3571854cb..3648e4983 100644 --- a/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_string.cc +++ b/tests/ten_runtime/smoke/msg_property/msg_property_send_cpp_string.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA "hello TEN in C++!" diff --git a/tests/ten_runtime/smoke/msg_property/msg_property_send_float_ptr.cc b/tests/ten_runtime/smoke/msg_property/msg_property_send_float_ptr.cc index 25b8a713f..da1ac8718 100644 --- a/tests/ten_runtime/smoke/msg_property/msg_property_send_float_ptr.cc +++ b/tests/ten_runtime/smoke/msg_property/msg_property_send_float_ptr.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/alloc.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321.8888F diff --git a/tests/ten_runtime/smoke/msg_property/msg_property_send_int.cc b/tests/ten_runtime/smoke/msg_property/msg_property_send_int.cc index 0b6521b07..5bb8754fc 100644 --- a/tests/ten_runtime/smoke/msg_property/msg_property_send_int.cc +++ b/tests/ten_runtime/smoke/msg_property/msg_property_send_int.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_property/msg_property_send_int32_ptr.cc b/tests/ten_runtime/smoke/msg_property/msg_property_send_int32_ptr.cc index f48eedfd0..d44660460 100644 --- a/tests/ten_runtime/smoke/msg_property/msg_property_send_int32_ptr.cc +++ b/tests/ten_runtime/smoke/msg_property/msg_property_send_int32_ptr.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/alloc.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_test/msg_1.cc b/tests/ten_runtime/smoke/msg_test/msg_1.cc index 62c0f7cd5..cf9c23f28 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_1.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_10.cc b/tests/ten_runtime/smoke/msg_test/msg_10.cc index eb04150cf..fca7e3f98 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_10.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_10.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_test/msg_11.cc b/tests/ten_runtime/smoke/msg_test/msg_11.cc index ec0c5696d..39397b789 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_11.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_11.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_12.cc b/tests/ten_runtime/smoke/msg_test/msg_12.cc index 3b3bcf62f..807299b93 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_12.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_12.cc @@ -13,7 +13,7 @@ #include "ten_runtime/binding/cpp/detail/msg/cmd/cmd.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_test/msg_13.cc b/tests/ten_runtime/smoke/msg_test/msg_13.cc index 252464184..284448b85 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_13.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_13.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_test/msg_2.cc b/tests/ten_runtime/smoke/msg_test/msg_2.cc index 3ade4c413..1377bc2ab 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_2.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_2.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_3.cc b/tests/ten_runtime/smoke/msg_test/msg_3.cc index f0cc1ac47..60f240548 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_3.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_3.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_4.cc b/tests/ten_runtime/smoke/msg_test/msg_4.cc index 676fb816a..eccd2c04b 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_4.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_4.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_5.cc b/tests/ten_runtime/smoke/msg_test/msg_5.cc index df3370c27..e0d3e5a38 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_5.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_5.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_6.cc b/tests/ten_runtime/smoke/msg_test/msg_6.cc index 9fd109422..bb68b3b8e 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_6.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_6.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_7.cc b/tests/ten_runtime/smoke/msg_test/msg_7.cc index 9d6ac3591..25a8d5365 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_7.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_7.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_8.cc b/tests/ten_runtime/smoke/msg_test/msg_8.cc index 225e43d08..a1e610244 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_8.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_8.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_test/msg_9.cc b/tests/ten_runtime/smoke/msg_test/msg_9.cc index 004c3777d..a7436c91d 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_9.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_9.cc @@ -13,7 +13,7 @@ #include "ten_runtime/binding/cpp/detail/msg/cmd/cmd.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA 12344321 diff --git a/tests/ten_runtime/smoke/msg_test/msg_fail_1.cc b/tests/ten_runtime/smoke/msg_test/msg_fail_1.cc index 88c1378fc..6b7bd8830 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_fail_1.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_fail_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/msg_test/msg_fail_2.cc b/tests/ten_runtime/smoke/msg_test/msg_fail_2.cc index a86637dc0..be9430afb 100644 --- a/tests/ten_runtime/smoke/msg_test/msg_fail_2.cc +++ b/tests/ten_runtime/smoke/msg_test/msg_fail_2.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/BUILD.gn b/tests/ten_runtime/smoke/multi_dest/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/multi_dest/BUILD.gn rename to tests/ten_runtime/smoke/multi_dest/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_basic.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_basic.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_basic.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_basic.cc index 00b5d7525..abc45bfeb 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_basic.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_basic.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app.cc index 23ea3411e..f82a4e54b 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define DEST_EXTENSION_MIN_ID 2 #define DEST_EXTENSION_MAX_ID 15 diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app_with_response_handler.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app_with_response_handler.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app_with_response_handler.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app_with_response_handler.cc index 1f9d5e424..04b6e12bb 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app_with_response_handler.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app_with_response_handler.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define DEST_EXTENSION_MIN_ID 2 #define DEST_EXTENSION_MAX_ID 15 diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app_with_response_handler_lambda.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app_with_response_handler_lambda.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app_with_response_handler_lambda.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app_with_response_handler_lambda.cc index 70e433b4c..3f0eb1254 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_multi_app_with_response_handler_lambda.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_multi_app_with_response_handler_lambda.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define DEST_EXTENSION_MIN_ID 2 #define DEST_EXTENSION_MAX_ID 15 diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_one_app.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_one_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_one_app.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_in_one_app.cc index 5e0240c62..b781cb8c6 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_in_one_app.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_in_one_app.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define DEST_EXTENSION_MIN_ID 2 #define DEST_EXTENSION_MAX_ID 35 diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_resp_when_all.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_resp_when_all.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_resp_when_all.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_resp_when_all.cc index 1dab03b17..d3cb6c735 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_resp_when_all.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_resp_when_all.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_resp_when_all_in_multi_app.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_resp_when_all_in_multi_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_resp_when_all_in_multi_app.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_resp_when_all_in_multi_app.cc index 939592397..eabe11549 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_resp_when_all_in_multi_app.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_resp_when_all_in_multi_app.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" #include "tests/common/constant.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_send_in_stop_period.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_send_in_stop_period.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_send_in_stop_period.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_send_in_stop_period.cc index f63cbc913..3c705f5b2 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_send_in_stop_period.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_send_in_stop_period.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_y_topo.cc b/tests/ten_runtime/smoke/multi_dest/multi_dest_y_topo.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_y_topo.cc rename to tests/ten_runtime/smoke/multi_dest/multi_dest_y_topo.cc index a2b71f009..0260778d3 100644 --- a/tests/ten_runtime/smoke/extension_test/multi_dest/multi_dest_y_topo.cc +++ b/tests/ten_runtime/smoke/multi_dest/multi_dest_y_topo.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_1.cc b/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_1.cc index 237ada418..e0b02bf45 100644 --- a/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_1.cc +++ b/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_1.cc @@ -15,7 +15,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_2.cc b/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_2.cc index 9ef95446d..e3a956e6a 100644 --- a/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_2.cc +++ b/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_2.cc @@ -15,7 +15,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_3.cc b/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_3.cc index ed41a3e4f..f1e425f02 100644 --- a/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_3.cc +++ b/tests/ten_runtime/smoke/notify_test/member_func_in_lambda_3.cc @@ -15,7 +15,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/notify_test/normal_func.cc b/tests/ten_runtime/smoke/notify_test/normal_func.cc index 190c95826..f93431469 100644 --- a/tests/ten_runtime/smoke/notify_test/normal_func.cc +++ b/tests/ten_runtime/smoke/notify_test/normal_func.cc @@ -15,7 +15,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/notify_test/normal_func_in_lambda.cc b/tests/ten_runtime/smoke/notify_test/normal_func_in_lambda.cc index 916b01121..bc7ae737b 100644 --- a/tests/ten_runtime/smoke/notify_test/normal_func_in_lambda.cc +++ b/tests/ten_runtime/smoke/notify_test/normal_func_in_lambda.cc @@ -15,7 +15,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/notify_test/normal_func_with_user_data.cc b/tests/ten_runtime/smoke/notify_test/normal_func_with_user_data.cc index 4b7030506..678fcf973 100644 --- a/tests/ten_runtime/smoke/notify_test/normal_func_with_user_data.cc +++ b/tests/ten_runtime/smoke/notify_test/normal_func_with_user_data.cc @@ -15,7 +15,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/128_threads_attempt_to_suspend_1.cc b/tests/ten_runtime/smoke/outer_thread/128_threads_attempt_to_suspend_1.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/128_threads_attempt_to_suspend_1.cc rename to tests/ten_runtime/smoke/outer_thread/128_threads_attempt_to_suspend_1.cc index 69eb364ed..190f0b788 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/128_threads_attempt_to_suspend_1.cc +++ b/tests/ten_runtime/smoke/outer_thread/128_threads_attempt_to_suspend_1.cc @@ -19,7 +19,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #if defined(__i386__) || defined(__arm__) #define OUTER_THREAD_FOR_LOOP_CNT 100 diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/16_threads_attempt_to_suspend_1.cc b/tests/ten_runtime/smoke/outer_thread/16_threads_attempt_to_suspend_1.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/16_threads_attempt_to_suspend_1.cc rename to tests/ten_runtime/smoke/outer_thread/16_threads_attempt_to_suspend_1.cc index a9a9dfd82..dad387f3c 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/16_threads_attempt_to_suspend_1.cc +++ b/tests/ten_runtime/smoke/outer_thread/16_threads_attempt_to_suspend_1.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_1.cc b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_1.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_1.cc rename to tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_1.cc index c8b08c515..345e8c515 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_1.cc +++ b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_1.cc @@ -17,7 +17,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_2.cc b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_2.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_2.cc rename to tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_2.cc index 5edc9a5fa..1bbb86eed 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_2.cc +++ b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_2.cc @@ -17,7 +17,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_3.cc b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_3.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_3.cc rename to tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_3.cc index 08455a2d7..046683237 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_3.cc +++ b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_3.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_4.cc b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_4.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_4.cc rename to tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_4.cc index b484130bf..19685ac1e 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_4.cc +++ b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_4.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_5.cc b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_5.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_5.cc rename to tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_5.cc index aade53cb9..559903212 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_5.cc +++ b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_5.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_6.cc b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_6.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_6.cc rename to tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_6.cc index 7db785fa6..f21c3407e 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_6.cc +++ b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_6.cc @@ -17,7 +17,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_7.cc b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_7.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_7.cc rename to tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_7.cc index 34505d8ea..ce3fdf13f 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/2_threads_attempt_to_suspend_7.cc +++ b/tests/ten_runtime/smoke/outer_thread/2_threads_attempt_to_suspend_7.cc @@ -17,7 +17,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_1.cc b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_1.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_1.cc rename to tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_1.cc index e3d957c52..c7a8866ed 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_1.cc +++ b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_1.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_2.cc b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_2.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_2.cc rename to tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_2.cc index ad9e295ec..05a364832 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_2.cc +++ b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_2.cc @@ -19,7 +19,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_3.cc b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_3.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_3.cc rename to tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_3.cc index 720f2af6c..a795e0d48 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_3.cc +++ b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_3.cc @@ -19,7 +19,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE #define OUTER_THREAD_FOR_LOOP_CNT 100 diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_4.cc b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_4.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_4.cc rename to tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_4.cc index 7b582211a..db522eb7c 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_4.cc +++ b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_4.cc @@ -19,7 +19,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE #define OUTER_THREAD_FOR_LOOP_CNT 100 diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_5.cc b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_5.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_5.cc rename to tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_5.cc index f33b9058e..14f4c0715 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_5.cc +++ b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_5.cc @@ -21,7 +21,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE #define OUTER_THREAD_FOR_LOOP_CNT 100 diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_6.cc b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_6.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_6.cc rename to tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_6.cc index f5086be30..ff588533b 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/32_threads_attempt_to_suspend_6.cc +++ b/tests/ten_runtime/smoke/outer_thread/32_threads_attempt_to_suspend_6.cc @@ -19,7 +19,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define OUTER_THREAD_FOR_LOOP_CNT 100 #define FROM_EXTENSION_2_CMD_CNT 10 diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/BUILD.gn b/tests/ten_runtime/smoke/outer_thread/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/outer_thread/BUILD.gn rename to tests/ten_runtime/smoke/outer_thread/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/auto_free_out_of_scope.cc b/tests/ten_runtime/smoke/outer_thread/auto_free_out_of_scope.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/auto_free_out_of_scope.cc rename to tests/ten_runtime/smoke/outer_thread/auto_free_out_of_scope.cc index d075c6c38..0fb3fecf8 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/auto_free_out_of_scope.cc +++ b/tests/ten_runtime/smoke/outer_thread/auto_free_out_of_scope.cc @@ -20,7 +20,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/outer_thread_send_data.cc b/tests/ten_runtime/smoke/outer_thread/outer_thread_send_data.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/outer_thread/outer_thread_send_data.cc rename to tests/ten_runtime/smoke/outer_thread/outer_thread_send_data.cc index d19a27112..7116d0779 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/outer_thread_send_data.cc +++ b/tests/ten_runtime/smoke/outer_thread/outer_thread_send_data.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/outer_thread/outer_thread_send_data_resp_handler.cc b/tests/ten_runtime/smoke/outer_thread/outer_thread_send_data_resp_handler.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/outer_thread/outer_thread_send_data_resp_handler.cc rename to tests/ten_runtime/smoke/outer_thread/outer_thread_send_data_resp_handler.cc index 519b2b963..9b1a5007d 100644 --- a/tests/ten_runtime/smoke/extension_test/outer_thread/outer_thread_send_data_resp_handler.cc +++ b/tests/ten_runtime/smoke/outer_thread/outer_thread_send_data_resp_handler.cc @@ -19,7 +19,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/path/BUILD.gn b/tests/ten_runtime/smoke/path/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/path/BUILD.gn rename to tests/ten_runtime/smoke/path/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/path/clean_when_stopped.cc b/tests/ten_runtime/smoke/path/clean_when_stopped.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/path/clean_when_stopped.cc rename to tests/ten_runtime/smoke/path/clean_when_stopped.cc index 86e0c64f2..9deb7f236 100644 --- a/tests/ten_runtime/smoke/extension_test/path/clean_when_stopped.cc +++ b/tests/ten_runtime/smoke/path/clean_when_stopped.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/path/path_timeout.cc b/tests/ten_runtime/smoke/path/path_timeout.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/path/path_timeout.cc rename to tests/ten_runtime/smoke/path/path_timeout.cc index 1573763fc..7e5440240 100644 --- a/tests/ten_runtime/smoke/extension_test/path/path_timeout.cc +++ b/tests/ten_runtime/smoke/path/path_timeout.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/path/path_timeout_2.cc b/tests/ten_runtime/smoke/path/path_timeout_2.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/path/path_timeout_2.cc rename to tests/ten_runtime/smoke/path/path_timeout_2.cc index 25cc87afb..f1f3bd827 100644 --- a/tests/ten_runtime/smoke/extension_test/path/path_timeout_2.cc +++ b/tests/ten_runtime/smoke/path/path_timeout_2.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/BUILD.gn b/tests/ten_runtime/smoke/predefined_graph/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/BUILD.gn rename to tests/ten_runtime/smoke/predefined_graph/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_basic_1.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_basic_1.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_basic_1.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_basic_1.cc index 987f9e1b5..5bdb4e8f3 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_basic_1.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_basic_1.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_basic_2.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_basic_2.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_basic_2.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_basic_2.cc index a4816645e..dac3b739c 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_basic_2.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_basic_2.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_engine_own_eventloop.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_engine_own_eventloop.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_engine_own_eventloop.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_engine_own_eventloop.cc index f229973b8..be1bc6319 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_engine_own_eventloop.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_engine_own_eventloop.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_app.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_app.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_app.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_app.cc index b3b8ab4c7..8b27caf77 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_app.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_app.cc @@ -12,7 +12,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_1.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_1.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_1.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_1.cc index f61f967c3..2a8b2b375 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_1.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_2.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_2.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_2.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_2.cc index 7bc5edece..7d0fd1959 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_2.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_2.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_3.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_3.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_3.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_3.cc index 104c6da9a..1346d5468 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_3.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_3.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_4.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_4.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_4.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_4.cc index 519bfee9d..2a6949dfa 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_multi_extension_4.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_multi_extension_4.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_no_auto_start.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_no_auto_start.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_no_auto_start.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_no_auto_start.cc index 553e43ad4..e6821692f 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_no_auto_start.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_no_auto_start.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_two_standalone_extensions_1.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_two_standalone_extensions_1.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_two_standalone_extensions_1.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_two_standalone_extensions_1.cc index ab9d7c89a..7bd34c837 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_two_standalone_extensions_1.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_two_standalone_extensions_1.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_two_standalone_extensions_2.cc b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_two_standalone_extensions_2.cc similarity index 97% rename from tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_two_standalone_extensions_2.cc rename to tests/ten_runtime/smoke/predefined_graph/predefined_graph_two_standalone_extensions_2.cc index 0c0edad20..ac58a2edc 100644 --- a/tests/ten_runtime/smoke/extension_test/predefined_graph/predefined_graph_two_standalone_extensions_2.cc +++ b/tests/ten_runtime/smoke/predefined_graph/predefined_graph_two_standalone_extensions_2.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/prepare_to_stop/BUILD.gn b/tests/ten_runtime/smoke/prepare_to_stop/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/prepare_to_stop/BUILD.gn rename to tests/ten_runtime/smoke/prepare_to_stop/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/prepare_to_stop/different_thread.cc b/tests/ten_runtime/smoke/prepare_to_stop/different_thread.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/prepare_to_stop/different_thread.cc rename to tests/ten_runtime/smoke/prepare_to_stop/different_thread.cc index d7415bdc7..3aa57f7eb 100644 --- a/tests/ten_runtime/smoke/extension_test/prepare_to_stop/different_thread.cc +++ b/tests/ten_runtime/smoke/prepare_to_stop/different_thread.cc @@ -12,7 +12,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/prepare_to_stop/same_thread.cc b/tests/ten_runtime/smoke/prepare_to_stop/same_thread.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/prepare_to_stop/same_thread.cc rename to tests/ten_runtime/smoke/prepare_to_stop/same_thread.cc index f4e08006d..686df07b8 100644 --- a/tests/ten_runtime/smoke/extension_test/prepare_to_stop/same_thread.cc +++ b/tests/ten_runtime/smoke/prepare_to_stop/same_thread.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/property/property_2_extensions_set_object.cc b/tests/ten_runtime/smoke/property/property_2_extensions_set_object.cc new file mode 100644 index 000000000..70bfd0768 --- /dev/null +++ b/tests/ten_runtime/smoke/property/property_2_extensions_set_object.cc @@ -0,0 +1,186 @@ +// +// Copyright © 2024 Agora +// This file is part of TEN Framework, an open source project. +// Licensed under the Apache License, Version 2.0, with certain conditions. +// Refer to the "LICENSE" file in the root directory for more information. +// +#include +#include + +#include "gtest/gtest.h" +#include "include_internal/ten_runtime/binding/cpp/ten.h" +#include "ten_utils/lib/thread.h" +#include "tests/common/client/cpp/msgpack_tcp.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" + +namespace { + +class test_extension_1 : public ten::extension_t { + public: + explicit test_extension_1(const std::string &name) : ten::extension_t(name) {} + + void on_configure(ten::ten_env_t &ten_env) override { + bool rc = ten::ten_env_internal_accessor_t::init_manifest_from_json(ten_env, + R"({ + "type": "extension", + "name": "property_two_extensions_set_object__test_extension_1", + "version": "0.1.0", + "api": { + "cmd_in": [ + { + "name": "internal_cmd", + "property": { + "tool": { + "type": "object", + "properties": { + "name": { + "type": "string" + }, + "description": { + "type": "string" + }, + "parameters": { + "type": "array", + "items": { + "type": "object", + "properties": {} + } + } + } + } + } + } + ] + } + })"); + ASSERT_EQ(rc, true); + + ten_env.on_configure_done(); + } + + void on_cmd(ten::ten_env_t &ten_env, + std::unique_ptr cmd) override { + if (std::string(cmd->get_name()) == "hello_world") { + hello_world_cmd = std::move(cmd); + + auto internal_cmd = ten::cmd_t::create("internal_cmd"); + ten_env.send_cmd(std::move(internal_cmd), + [this](ten::ten_env_t &ten_env, + TEN_UNUSED std::unique_ptr cmd, + ten::error_t *err) { + auto cmd_result = + ten::cmd_result_t::create(TEN_STATUS_CODE_OK); + cmd_result->set_property("detail", "hello world, too"); + ten_env.return_result(std::move(cmd_result), + std::move(hello_world_cmd)); + }); + } + } + + private: + std::unique_ptr hello_world_cmd; +}; + +class test_extension_2 : public ten::extension_t { + public: + explicit test_extension_2(const std::string &name) : ten::extension_t(name) {} + + void on_cmd(ten::ten_env_t &ten_env, + std::unique_ptr cmd) override { + if (std::string(cmd->get_name()) == "internal_cmd") { + auto cmd_result = ten::cmd_result_t::create(TEN_STATUS_CODE_OK); + cmd_result->set_property("detail", "ack for internal_cmd"); + ten_env.return_result(std::move(cmd_result), std::move(cmd)); + } + } +}; + +class test_app : public ten::app_t { + public: + void on_configure(ten::ten_env_t &ten_env) override { + bool rc = ten_env.init_property_from_json( + // clang-format off + R"({ + "_ten": { + "uri": "msgpack://127.0.0.1:8001/", + "log_level": 2 + } + })" + // clang-format on + , + nullptr); + ASSERT_EQ(rc, true); + + ten_env.on_configure_done(); + } +}; + +void *test_app_thread_main(TEN_UNUSED void *args) { + auto *app = new test_app(); + app->run(); + delete app; + + return nullptr; +} + +TEN_CPP_REGISTER_ADDON_AS_EXTENSION( + property_two_extensions_set_object__test_extension_1, test_extension_1); +TEN_CPP_REGISTER_ADDON_AS_EXTENSION( + property_two_extensions_set_object__test_extension_2, test_extension_2); + +} // namespace + +TEST(PropertyTest, TwoExtensionsSetObject) { // NOLINT + // Start app. + auto *app_thread = + ten_thread_create("app thread", test_app_thread_main, nullptr); + + // Create a client and connect to the app. + auto *client = new ten::msgpack_tcp_client_t("msgpack://127.0.0.1:8001/"); + + // Send graph. + auto start_graph_cmd = ten::cmd_start_graph_t::create(); + start_graph_cmd->set_graph_from_json(R"({ + "nodes": [{ + "type": "extension", + "name": "test_extension_1", + "addon": "property_two_extensions_set_object__test_extension_1", + "extension_group": "basic_extension_group", + "app": "msgpack://127.0.0.1:8001/" + },{ + "type": "extension", + "name": "test_extension_2", + "addon": "property_two_extensions_set_object__test_extension_2", + "extension_group": "basic_extension_group", + "app": "msgpack://127.0.0.1:8001/" + }], + "connections": [{ + "app": "msgpack://127.0.0.1:8001/", + "extension_group": "basic_extension_group", + "extension": "test_extension_1", + "cmd": [{ + "name": "internal_cmd", + "dest": [{ + "app": "msgpack://127.0.0.1:8001/", + "extension_group": "basic_extension_group", + "extension": "test_extension_2" + }] + }] + }] + })"); + auto cmd_result = + client->send_cmd_and_recv_result(std::move(start_graph_cmd)); + ten_test::check_status_code(cmd_result, TEN_STATUS_CODE_OK); + + // Send a user-defined 'hello world' command. + auto hello_world_cmd = ten::cmd_t::create("hello_world"); + hello_world_cmd->set_dest("msgpack://127.0.0.1:8001/", nullptr, + "basic_extension_group", "test_extension_1"); + cmd_result = client->send_cmd_and_recv_result(std::move(hello_world_cmd)); + ten_test::check_status_code(cmd_result, TEN_STATUS_CODE_OK); + ten_test::check_detail_with_string(cmd_result, "hello world, too"); + + delete client; + + ten_thread_join(app_thread, -1); +} diff --git a/tests/ten_runtime/smoke/property/property_access_app_store.cc b/tests/ten_runtime/smoke/property/property_access_app_store.cc index 84f43d2bc..6c6253375 100644 --- a/tests/ten_runtime/smoke/property/property_access_app_store.cc +++ b/tests/ten_runtime/smoke/property/property_access_app_store.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/property/property_access_app_store_async.cc b/tests/ten_runtime/smoke/property/property_access_app_store_async.cc index b51f116fd..89cd4cb86 100644 --- a/tests/ten_runtime/smoke/property/property_access_app_store_async.cc +++ b/tests/ten_runtime/smoke/property/property_access_app_store_async.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/property/property_all.cc b/tests/ten_runtime/smoke/property/property_all.cc index ec548fe46..4fde762c1 100644 --- a/tests/ten_runtime/smoke/property/property_all.cc +++ b/tests/ten_runtime/smoke/property/property_all.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/macros.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define EXTENSION_EXT_PROP_NAME "ext_test_prop" #define EXTENSION_EXT_PROP_TYPE float32 diff --git a/tests/ten_runtime/smoke/property/property_connect_cmd.cc b/tests/ten_runtime/smoke/property/property_connect_cmd.cc index 5f3839f38..280218adf 100644 --- a/tests/ten_runtime/smoke/property/property_connect_cmd.cc +++ b/tests/ten_runtime/smoke/property/property_connect_cmd.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/macros.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "test_prop" #define APP_PROP_VAL 62422 diff --git a/tests/ten_runtime/smoke/property/property_connect_cmd_override_extension_success.cc b/tests/ten_runtime/smoke/property/property_connect_cmd_override_extension_success.cc index c1fd0eca7..ca841a96e 100644 --- a/tests/ten_runtime/smoke/property/property_connect_cmd_override_extension_success.cc +++ b/tests/ten_runtime/smoke/property/property_connect_cmd_override_extension_success.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "test_prop" #define PROP_OLD_VAL 62422 diff --git a/tests/ten_runtime/smoke/property/property_extension.cc b/tests/ten_runtime/smoke/property/property_extension.cc index 03a3e25d7..66d17b362 100644 --- a/tests/ten_runtime/smoke/property/property_extension.cc +++ b/tests/ten_runtime/smoke/property/property_extension.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/macros.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define APP_PROP_NAME "test_app_prop" #define EXT_PROP_NAME "test_extension_prop" diff --git a/tests/ten_runtime/smoke/property/property_get_float64.cc b/tests/ten_runtime/smoke/property/property_get_float64.cc index f698c269c..5c7079423 100644 --- a/tests/ten_runtime/smoke/property/property_get_float64.cc +++ b/tests/ten_runtime/smoke/property/property_get_float64.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/macros.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "test_prop" #define PROP_VAL 123.45 diff --git a/tests/ten_runtime/smoke/property/property_get_float64_type_but_int_value.cc b/tests/ten_runtime/smoke/property/property_get_float64_type_but_int_value.cc index 2d082268a..1667837ca 100644 --- a/tests/ten_runtime/smoke/property/property_get_float64_type_but_int_value.cc +++ b/tests/ten_runtime/smoke/property/property_get_float64_type_but_int_value.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/macros.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "test_prop" #define PROP_VAL 123 diff --git a/tests/ten_runtime/smoke/property/property_get_int32.cc b/tests/ten_runtime/smoke/property/property_get_int32.cc index 46a1f2aaf..768401d88 100644 --- a/tests/ten_runtime/smoke/property/property_get_int32.cc +++ b/tests/ten_runtime/smoke/property/property_get_int32.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/macros.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "test_prop" #define PROP_VAL 12345 diff --git a/tests/ten_runtime/smoke/property/property_in_graph_use_env_1.cc b/tests/ten_runtime/smoke/property/property_in_graph_use_env_1.cc index d4e82115d..49bf3a28a 100644 --- a/tests/ten_runtime/smoke/property/property_in_graph_use_env_1.cc +++ b/tests/ten_runtime/smoke/property/property_in_graph_use_env_1.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/property/property_in_graph_use_env_2.cc b/tests/ten_runtime/smoke/property/property_in_graph_use_env_2.cc index 3632cc269..d18b3a117 100644 --- a/tests/ten_runtime/smoke/property/property_in_graph_use_env_2.cc +++ b/tests/ten_runtime/smoke/property/property_in_graph_use_env_2.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/property/property_not_exist.cc b/tests/ten_runtime/smoke/property/property_not_exist.cc index 471664bdd..d08e55f89 100644 --- a/tests/ten_runtime/smoke/property/property_not_exist.cc +++ b/tests/ten_runtime/smoke/property/property_not_exist.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "non_prop" diff --git a/tests/ten_runtime/smoke/property/property_prebuilt_graph.cc b/tests/ten_runtime/smoke/property/property_prebuilt_graph.cc index 7e9b82160..d4c90c710 100644 --- a/tests/ten_runtime/smoke/property/property_prebuilt_graph.cc +++ b/tests/ten_runtime/smoke/property/property_prebuilt_graph.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/property/property_set_float32.cc b/tests/ten_runtime/smoke/property/property_set_float32.cc index 27537f552..6a24f215b 100644 --- a/tests/ten_runtime/smoke/property/property_set_float32.cc +++ b/tests/ten_runtime/smoke/property/property_set_float32.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "test_prop" #define PROP_OLD_VAL 51.82 diff --git a/tests/ten_runtime/smoke/property/property_set_int32.cc b/tests/ten_runtime/smoke/property/property_set_int32.cc index ca8c5a246..7fe52e0af 100644 --- a/tests/ten_runtime/smoke/property/property_set_int32.cc +++ b/tests/ten_runtime/smoke/property/property_set_int32.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define PROP_NAME "test_prop" #define PROP_OLD_VAL 4623 diff --git a/tests/ten_runtime/smoke/property/property_set_object.cc b/tests/ten_runtime/smoke/property/property_set_object.cc index 3fc293a89..36159be4c 100644 --- a/tests/ten_runtime/smoke/property/property_set_object.cc +++ b/tests/ten_runtime/smoke/property/property_set_object.cc @@ -12,7 +12,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { @@ -31,7 +31,7 @@ class test_extension : public ten::extension_t { { "name": "hello_world", "property": { - "tool":{ + "tool": { "type": "object", "properties": { "name": { @@ -62,7 +62,20 @@ class test_extension : public ten::extension_t { void on_cmd(ten::ten_env_t &ten_env, std::unique_ptr cmd) override { if (std::string(cmd->get_name()) == "hello_world") { + // The get/set property actions of the message itself will not immediately + // trigger schema validation. This is because the message might be + // manipulated in other threads, and schema information is tied to the + // extension. For thread safety, schema validation for the message is + // delayed until it interacts with the extension system, specifically + // during `send_xxx` and `return_xxx` operations. bool rc = cmd->set_property_from_json("tool", R"({ + "name": "hammer", + "description": "a tool to hit nails", + "parameters": [ "foo" ] + })"); + TEN_ASSERT(rc, "Should not happen."); + + rc = cmd->set_property_from_json("tool", R"({ "name": "hammer", "description": "a tool to hit nails", "parameters": [] diff --git a/tests/ten_runtime/smoke/extension_test/resp_handler/BUILD.gn b/tests/ten_runtime/smoke/resp_handler/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/resp_handler/BUILD.gn rename to tests/ten_runtime/smoke/resp_handler/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_async_basic.cc b/tests/ten_runtime/smoke/resp_handler/resp_handler_async_basic.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_async_basic.cc rename to tests/ten_runtime/smoke/resp_handler/resp_handler_async_basic.cc index 66aa72dec..5cab20237 100644 --- a/tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_async_basic.cc +++ b/tests/ten_runtime/smoke/resp_handler/resp_handler_async_basic.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_basic.cc b/tests/ten_runtime/smoke/resp_handler/resp_handler_basic.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_basic.cc rename to tests/ten_runtime/smoke/resp_handler/resp_handler_basic.cc index 53903b600..bad2eec04 100644 --- a/tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_basic.cc +++ b/tests/ten_runtime/smoke/resp_handler/resp_handler_basic.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_basic_wait_in_on_start.cc b/tests/ten_runtime/smoke/resp_handler/resp_handler_basic_wait_in_on_start.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_basic_wait_in_on_start.cc rename to tests/ten_runtime/smoke/resp_handler/resp_handler_basic_wait_in_on_start.cc index cd51b93aa..67d3e1495 100644 --- a/tests/ten_runtime/smoke/extension_test/resp_handler/resp_handler_basic_wait_in_on_start.cc +++ b/tests/ten_runtime/smoke/resp_handler/resp_handler_basic_wait_in_on_start.cc @@ -12,7 +12,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/result_conversion/result_conversion_1.cc b/tests/ten_runtime/smoke/result_conversion/result_conversion_1.cc index 006054940..8d6b1a7d1 100644 --- a/tests/ten_runtime/smoke/result_conversion/result_conversion_1.cc +++ b/tests/ten_runtime/smoke/result_conversion/result_conversion_1.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/return/BUILD.gn b/tests/ten_runtime/smoke/return/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/return/BUILD.gn rename to tests/ten_runtime/smoke/return/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/return/return_1.cc b/tests/ten_runtime/smoke/return/return_1.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/return/return_1.cc rename to tests/ten_runtime/smoke/return/return_1.cc index 4a850c52b..028206db4 100644 --- a/tests/ten_runtime/smoke/extension_test/return/return_1.cc +++ b/tests/ten_runtime/smoke/return/return_1.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/return/return_2.cc b/tests/ten_runtime/smoke/return/return_2.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/return/return_2.cc rename to tests/ten_runtime/smoke/return/return_2.cc index 526d8540b..deae80daf 100644 --- a/tests/ten_runtime/smoke/extension_test/return/return_2.cc +++ b/tests/ten_runtime/smoke/return/return_2.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/return/return_3.cc b/tests/ten_runtime/smoke/return/return_3.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/return/return_3.cc rename to tests/ten_runtime/smoke/return/return_3.cc index 41fc6d9d7..2a641fd3a 100644 --- a/tests/ten_runtime/smoke/extension_test/return/return_3.cc +++ b/tests/ten_runtime/smoke/return/return_3.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/return/return_4.cc b/tests/ten_runtime/smoke/return/return_4.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/return/return_4.cc rename to tests/ten_runtime/smoke/return/return_4.cc index 5b5dea0f5..2eab80c4a 100644 --- a/tests/ten_runtime/smoke/extension_test/return/return_4.cc +++ b/tests/ten_runtime/smoke/return/return_4.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/BUILD.gn b/tests/ten_runtime/smoke/same_thread_ext_on_xxx/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/BUILD.gn rename to tests/ten_runtime/smoke/same_thread_ext_on_xxx/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/same_thread_ext_on_data.cc b/tests/ten_runtime/smoke/same_thread_ext_on_xxx/same_thread_ext_on_data.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/same_thread_ext_on_data.cc rename to tests/ten_runtime/smoke/same_thread_ext_on_xxx/same_thread_ext_on_data.cc index 6cf1a0e11..46b985484 100644 --- a/tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/same_thread_ext_on_data.cc +++ b/tests/ten_runtime/smoke/same_thread_ext_on_xxx/same_thread_ext_on_data.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/same_thread_ext_on_xxx_basic.cc b/tests/ten_runtime/smoke/same_thread_ext_on_xxx/same_thread_ext_on_xxx_basic.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/same_thread_ext_on_xxx_basic.cc rename to tests/ten_runtime/smoke/same_thread_ext_on_xxx/same_thread_ext_on_xxx_basic.cc index af4e001e2..c557be511 100644 --- a/tests/ten_runtime/smoke/extension_test/same_thread_ext_on_xxx/same_thread_ext_on_xxx_basic.cc +++ b/tests/ten_runtime/smoke/same_thread_ext_on_xxx/same_thread_ext_on_xxx_basic.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x84CE87AB478D2DBEU diff --git a/tests/ten_runtime/smoke/schema_test/schema_cmd_property_required.cc b/tests/ten_runtime/smoke/schema_test/schema_cmd_property_required.cc index dea0eb7ca..64e448aba 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_cmd_property_required.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_cmd_property_required.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_cmd_result.cc b/tests/ten_runtime/smoke/schema_test/schema_cmd_result.cc index b70f11a24..dee6102a3 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_cmd_result.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_cmd_result.cc @@ -12,7 +12,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_cmd_result_error.cc b/tests/ten_runtime/smoke/schema_test/schema_cmd_result_error.cc index 41a1b8b2b..569d5f802 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_cmd_result_error.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_cmd_result_error.cc @@ -12,7 +12,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_data_prop.cc b/tests/ten_runtime/smoke/schema_test/schema_data_prop.cc index 2447b64a6..7518865a9 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_data_prop.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_data_prop.cc @@ -16,7 +16,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_on_cmd.cc b/tests/ten_runtime/smoke/schema_test/schema_on_cmd.cc index fed943591..1e6bc3f50 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_on_cmd.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_on_cmd.cc @@ -13,7 +13,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_send_cmd.cc b/tests/ten_runtime/smoke/schema_test/schema_send_cmd.cc index 60964a456..a4e7e4b39 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_send_cmd.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_send_cmd.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_set_extension_property.cc b/tests/ten_runtime/smoke/schema_test/schema_set_extension_property.cc index 17cb05508..15f736525 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_set_extension_property.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_set_extension_property.cc @@ -13,7 +13,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_set_property_buf.cc b/tests/ten_runtime/smoke/schema_test/schema_set_property_buf.cc index 47de9be02..d1cb65a18 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_set_property_buf.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_set_property_buf.cc @@ -14,7 +14,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/memory.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/schema_test/schema_set_property_ptr.cc b/tests/ten_runtime/smoke/schema_test/schema_set_property_ptr.cc index 3ecf707e4..2017a8cf2 100644 --- a/tests/ten_runtime/smoke/schema_test/schema_set_property_ptr.cc +++ b/tests/ten_runtime/smoke/schema_test/schema_set_property_ptr.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/basic.cc b/tests/ten_runtime/smoke/standalone_test/basic.cc index f3b1a1c9c..091b69bfa 100644 --- a/tests/ten_runtime/smoke/standalone_test/basic.cc +++ b/tests/ten_runtime/smoke/standalone_test/basic.cc @@ -9,7 +9,7 @@ #include "ten_runtime/binding/cpp/detail/extension.h" #include "ten_runtime/common/status_code.h" #include "ten_utils/lang/cpp/lib/value.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/basic_c.cc b/tests/ten_runtime/smoke/standalone_test/basic_c.cc index 409ccec5e..731150953 100644 --- a/tests/ten_runtime/smoke/standalone_test/basic_c.cc +++ b/tests/ten_runtime/smoke/standalone_test/basic_c.cc @@ -14,7 +14,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/smart_ptr.h" #include "ten_utils/macro/check.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/basic_data.cc b/tests/ten_runtime/smoke/standalone_test/basic_data.cc index 84549285e..4d4689b2d 100644 --- a/tests/ten_runtime/smoke/standalone_test/basic_data.cc +++ b/tests/ten_runtime/smoke/standalone_test/basic_data.cc @@ -9,7 +9,7 @@ #include "ten_runtime/binding/cpp/detail/extension.h" #include "ten_runtime/common/status_code.h" #include "ten_utils/lang/cpp/lib/value.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/basic_graph.cc b/tests/ten_runtime/smoke/standalone_test/basic_graph.cc index 96233f9d5..7e249ef9c 100644 --- a/tests/ten_runtime/smoke/standalone_test/basic_graph.cc +++ b/tests/ten_runtime/smoke/standalone_test/basic_graph.cc @@ -15,7 +15,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/macro/check.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/basic_graph_cross_app.cc b/tests/ten_runtime/smoke/standalone_test/basic_graph_cross_app.cc index 2139260a0..c932d39a8 100644 --- a/tests/ten_runtime/smoke/standalone_test/basic_graph_cross_app.cc +++ b/tests/ten_runtime/smoke/standalone_test/basic_graph_cross_app.cc @@ -13,7 +13,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_1.cc b/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_1.cc index 9afff33f7..44dd7b191 100644 --- a/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_1.cc +++ b/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_1.cc @@ -18,7 +18,7 @@ #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_2.cc b/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_2.cc index 5c02adc69..30700a627 100644 --- a/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_2.cc +++ b/tests/ten_runtime/smoke/standalone_test/basic_graph_outer_thread_2.cc @@ -17,7 +17,7 @@ #include "ten_runtime/common/status_code.h" #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/macro/check.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/on_cmd.cc b/tests/ten_runtime/smoke/standalone_test/on_cmd.cc index cd885972e..e02352da8 100644 --- a/tests/ten_runtime/smoke/standalone_test/on_cmd.cc +++ b/tests/ten_runtime/smoke/standalone_test/on_cmd.cc @@ -9,7 +9,7 @@ #include "ten_runtime/binding/cpp/detail/extension.h" #include "ten_runtime/common/status_code.h" #include "ten_utils/lang/cpp/lib/value.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/on_cmd_c.cc b/tests/ten_runtime/smoke/standalone_test/on_cmd_c.cc index 82a7b7bef..f34d79f95 100644 --- a/tests/ten_runtime/smoke/standalone_test/on_cmd_c.cc +++ b/tests/ten_runtime/smoke/standalone_test/on_cmd_c.cc @@ -14,7 +14,7 @@ #include "ten_runtime/test/env_tester.h" #include "ten_utils/lang/cpp/lib/value.h" #include "ten_utils/lib/smart_ptr.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/standalone_test/set_property_for_single_ext.cc b/tests/ten_runtime/smoke/standalone_test/set_property_for_single_ext.cc index e959097ae..9f19f5b66 100644 --- a/tests/ten_runtime/smoke/standalone_test/set_property_for_single_ext.cc +++ b/tests/ten_runtime/smoke/standalone_test/set_property_for_single_ext.cc @@ -10,7 +10,7 @@ #include "ten_runtime/binding/cpp/detail/extension.h" #include "ten_runtime/common/status_code.h" #include "ten_utils/lang/cpp/lib/value.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/start_graph/BUILD.gn b/tests/ten_runtime/smoke/start_graph/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/start_graph/BUILD.gn rename to tests/ten_runtime/smoke/start_graph/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/start_graph/start_graph_and_communicate.cc b/tests/ten_runtime/smoke/start_graph/start_graph_and_communicate.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/start_graph/start_graph_and_communicate.cc rename to tests/ten_runtime/smoke/start_graph/start_graph_and_communicate.cc index e1eca340d..ed86a924f 100644 --- a/tests/ten_runtime/smoke/extension_test/start_graph/start_graph_and_communicate.cc +++ b/tests/ten_runtime/smoke/start_graph/start_graph_and_communicate.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/start_graph/start_graph_from_extension.cc b/tests/ten_runtime/smoke/start_graph/start_graph_from_extension.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/start_graph/start_graph_from_extension.cc rename to tests/ten_runtime/smoke/start_graph/start_graph_from_extension.cc index 9f62c9876..823e75418 100644 --- a/tests/ten_runtime/smoke/extension_test/start_graph/start_graph_from_extension.cc +++ b/tests/ten_runtime/smoke/start_graph/start_graph_from_extension.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/start_graph/start_predefined_graph_cross_app.cc b/tests/ten_runtime/smoke/start_graph/start_predefined_graph_cross_app.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/start_graph/start_predefined_graph_cross_app.cc rename to tests/ten_runtime/smoke/start_graph/start_predefined_graph_cross_app.cc index c1fd72112..0d21ce2a1 100644 --- a/tests/ten_runtime/smoke/extension_test/start_graph/start_predefined_graph_cross_app.cc +++ b/tests/ten_runtime/smoke/start_graph/start_predefined_graph_cross_app.cc @@ -8,7 +8,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_runtime/binding/cpp/detail/msg/cmd/start_graph.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/start_graph/start_predefined_graph_from_extension.cc b/tests/ten_runtime/smoke/start_graph/start_predefined_graph_from_extension.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/start_graph/start_predefined_graph_from_extension.cc rename to tests/ten_runtime/smoke/start_graph/start_predefined_graph_from_extension.cc index 9ba5569c9..153207f07 100644 --- a/tests/ten_runtime/smoke/extension_test/start_graph/start_predefined_graph_from_extension.cc +++ b/tests/ten_runtime/smoke/start_graph/start_predefined_graph_from_extension.cc @@ -7,7 +7,7 @@ #include "gtest/gtest.h" #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/start_graph/start_two_predefined_graphs.cc b/tests/ten_runtime/smoke/start_graph/start_two_predefined_graphs.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/start_graph/start_two_predefined_graphs.cc rename to tests/ten_runtime/smoke/start_graph/start_two_predefined_graphs.cc index 03186cd32..7c9343257 100644 --- a/tests/ten_runtime/smoke/extension_test/start_graph/start_two_predefined_graphs.cc +++ b/tests/ten_runtime/smoke/start_graph/start_two_predefined_graphs.cc @@ -10,7 +10,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_runtime/binding/cpp/detail/msg/cmd/start_graph.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/suspend_resume/BUILD.gn b/tests/ten_runtime/smoke/suspend_resume/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/suspend_resume/BUILD.gn rename to tests/ten_runtime/smoke/suspend_resume/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/suspend_resume/suspend_resume_1.cc b/tests/ten_runtime/smoke/suspend_resume/suspend_resume_1.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/suspend_resume/suspend_resume_1.cc rename to tests/ten_runtime/smoke/suspend_resume/suspend_resume_1.cc index e10bad5a9..16445fad1 100644 --- a/tests/ten_runtime/smoke/extension_test/suspend_resume/suspend_resume_1.cc +++ b/tests/ten_runtime/smoke/suspend_resume/suspend_resume_1.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define SENT_DATA_CNT 100 diff --git a/tests/ten_runtime/smoke/extension_test/suspend_resume/suspend_resume_2.cc b/tests/ten_runtime/smoke/suspend_resume/suspend_resume_2.cc similarity index 99% rename from tests/ten_runtime/smoke/extension_test/suspend_resume/suspend_resume_2.cc rename to tests/ten_runtime/smoke/suspend_resume/suspend_resume_2.cc index 86b3f15c7..075e8424c 100644 --- a/tests/ten_runtime/smoke/extension_test/suspend_resume/suspend_resume_2.cc +++ b/tests/ten_runtime/smoke/suspend_resume/suspend_resume_2.cc @@ -18,7 +18,7 @@ #include "ten_utils/lib/time.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define SENT_DATA_CNT 100 diff --git a/tests/ten_runtime/smoke/ten_env_call_timing/on_xxx_done.cc b/tests/ten_runtime/smoke/ten_env_call_timing/on_xxx_done.cc index 7e27f83cd..b021323f3 100644 --- a/tests/ten_runtime/smoke/ten_env_call_timing/on_xxx_done.cc +++ b/tests/ten_runtime/smoke/ten_env_call_timing/on_xxx_done.cc @@ -12,7 +12,7 @@ #include "ten_runtime/binding/cpp/detail/ten_env.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/extension_test/ten_proxy/BUILD.gn b/tests/ten_runtime/smoke/ten_proxy/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/ten_proxy/BUILD.gn rename to tests/ten_runtime/smoke/ten_proxy/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/ten_proxy/ten_proxy_1.cc b/tests/ten_runtime/smoke/ten_proxy/ten_proxy_1.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/ten_proxy/ten_proxy_1.cc rename to tests/ten_runtime/smoke/ten_proxy/ten_proxy_1.cc index 61035e959..607497dec 100644 --- a/tests/ten_runtime/smoke/extension_test/ten_proxy/ten_proxy_1.cc +++ b/tests/ten_runtime/smoke/ten_proxy/ten_proxy_1.cc @@ -16,7 +16,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/lib/time.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TEST_DATA_VALUE 0x34CE87AB478D2DBE diff --git a/tests/ten_runtime/smoke/extension_test/timer/BUILD.gn b/tests/ten_runtime/smoke/timer/BUILD.gn similarity index 100% rename from tests/ten_runtime/smoke/extension_test/timer/BUILD.gn rename to tests/ten_runtime/smoke/timer/BUILD.gn diff --git a/tests/ten_runtime/smoke/extension_test/timer/timer_one_shot.cc b/tests/ten_runtime/smoke/timer/timer_one_shot.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/timer/timer_one_shot.cc rename to tests/ten_runtime/smoke/timer/timer_one_shot.cc index 81ef65450..8caba3c45 100644 --- a/tests/ten_runtime/smoke/extension_test/timer/timer_one_shot.cc +++ b/tests/ten_runtime/smoke/timer/timer_one_shot.cc @@ -12,7 +12,7 @@ #include "ten_runtime/msg/msg.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 1 diff --git a/tests/ten_runtime/smoke/extension_test/timer/timer_ten_shot.cc b/tests/ten_runtime/smoke/timer/timer_ten_shot.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/timer/timer_ten_shot.cc rename to tests/ten_runtime/smoke/timer/timer_ten_shot.cc index dd3a4d2d5..21274373a 100644 --- a/tests/ten_runtime/smoke/extension_test/timer/timer_ten_shot.cc +++ b/tests/ten_runtime/smoke/timer/timer_ten_shot.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 10 diff --git a/tests/ten_runtime/smoke/extension_test/timer/timer_two_shot.cc b/tests/ten_runtime/smoke/timer/timer_two_shot.cc similarity index 98% rename from tests/ten_runtime/smoke/extension_test/timer/timer_two_shot.cc rename to tests/ten_runtime/smoke/timer/timer_two_shot.cc index 8dae7acc2..8cfa623e6 100644 --- a/tests/ten_runtime/smoke/extension_test/timer/timer_two_shot.cc +++ b/tests/ten_runtime/smoke/timer/timer_two_shot.cc @@ -11,7 +11,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define TIMER_TIMES 2 diff --git a/tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h b/tests/ten_runtime/smoke/util/binding/cpp/check.h similarity index 100% rename from tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h rename to tests/ten_runtime/smoke/util/binding/cpp/check.h diff --git a/tests/ten_runtime/smoke/video_frame_test/basic.cc b/tests/ten_runtime/smoke/video_frame_test/basic.cc index e2b3828e9..5896cf646 100644 --- a/tests/ten_runtime/smoke/video_frame_test/basic.cc +++ b/tests/ten_runtime/smoke/video_frame_test/basic.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/video_frame_test/create_from_json.cc b/tests/ten_runtime/smoke/video_frame_test/create_from_json.cc index 1e07cde43..1cff82fd2 100644 --- a/tests/ten_runtime/smoke/video_frame_test/create_from_json.cc +++ b/tests/ten_runtime/smoke/video_frame_test/create_from_json.cc @@ -14,7 +14,7 @@ #include "ten_runtime/msg/video_frame/video_frame.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/video_frame_test/from_json.cc b/tests/ten_runtime/smoke/video_frame_test/from_json.cc index 49b3b41b9..cdc9fbf38 100644 --- a/tests/ten_runtime/smoke/video_frame_test/from_json.cc +++ b/tests/ten_runtime/smoke/video_frame_test/from_json.cc @@ -12,7 +12,7 @@ #include "include_internal/ten_runtime/binding/cpp/ten.h" #include "ten_utils/lib/thread.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" namespace { diff --git a/tests/ten_runtime/smoke/video_frame_test/multi_dest_video_frame.cc b/tests/ten_runtime/smoke/video_frame_test/multi_dest_video_frame.cc index 3503cc191..d6a042031 100644 --- a/tests/ten_runtime/smoke/video_frame_test/multi_dest_video_frame.cc +++ b/tests/ten_runtime/smoke/video_frame_test/multi_dest_video_frame.cc @@ -13,7 +13,7 @@ #include "ten_utils/lib/thread.h" #include "ten_utils/macro/check.h" #include "tests/common/client/cpp/msgpack_tcp.h" -#include "tests/ten_runtime/smoke/extension_test/util/binding/cpp/check.h" +#include "tests/ten_runtime/smoke/util/binding/cpp/check.h" #define WIDTH 640 #define HEIGHT 480