-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat--add-each_ok_and_error-return-policy (#255)
* feat: add each_ok_and_error return policy * feat: add each_ok_and_error return policy
- Loading branch information
Showing
28 changed files
with
732 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
tests/ten_runtime/integration/python/multiple_results_python_2/BUILD.gn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# | ||
# 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/feature/test.gni") | ||
import("//build/ten_runtime/ten.gni") | ||
|
||
ten_package_test_prepare_app("multiple_results_python_2_app") { | ||
src_app = "default_app_python" | ||
src_app_language = "python" | ||
generated_app_src_root_dir_name = "multiple_results_python_2_app" | ||
|
||
replace_files_after_install_app = [ | ||
"multiple_results_python_2_app/manifest.json", | ||
"multiple_results_python_2_app/property.json", | ||
] | ||
|
||
replace_files_after_install_all = [ "multiple_results_python_2_app/ten_packages/extension/default_extension_python/extension.py" ] | ||
|
||
if (ten_enable_package_manager) { | ||
deps = [ | ||
"//core/src/ten_manager", | ||
"//packages/core_apps/default_app_python:upload_default_app_python_to_server", | ||
"//packages/core_extensions/default_extension_python:upload_default_extension_python_to_server", | ||
"//packages/example_extensions/simple_echo_cpp:upload_simple_echo_cpp_to_server", | ||
"//packages/example_extensions/simple_http_server_cpp:upload_simple_http_server_cpp_to_server", | ||
] | ||
} | ||
} | ||
|
||
ten_package_test_prepare_auxiliary_resources( | ||
"multiple_results_python_2_test_files") { | ||
resources = [ | ||
"//tests/ten_runtime/integration/common=>common", | ||
"__init__.py", | ||
"test_case.py", | ||
] | ||
if (enable_sanitizer) { | ||
resources += [ "//tests/ten_runtime/integration/tools/use_asan_lib_marker=>use_asan_lib_marker" ] | ||
} | ||
} | ||
|
||
group("multiple_results_python_2") { | ||
deps = [ | ||
":multiple_results_python_2_app", | ||
":multiple_results_python_2_test_files", | ||
] | ||
} |
Empty file.
19 changes: 19 additions & 0 deletions
19
.../integration/python/multiple_results_python_2/multiple_results_python_2_app/manifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"dependencies": [ | ||
{ | ||
"type": "system", | ||
"name": "ten_runtime", | ||
"version": "0.3.0" | ||
}, | ||
{ | ||
"type": "extension", | ||
"name": "simple_http_server_cpp", | ||
"version": "0.1.0" | ||
}, | ||
{ | ||
"type": "extension", | ||
"name": "default_extension_python", | ||
"version": "0.3.0" | ||
} | ||
] | ||
} |
Oops, something went wrong.