tdd编译产物路径修改

Signed-off-by: kangchongtao <kangchongtao@huawei.com>
This commit is contained in:
kangchongtao 2023-04-18 20:51:15 +08:00
parent dd0ccc0700
commit a45de0758e
103 changed files with 190 additions and 132 deletions

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("js_inspector_test") {
module_out_path = "$test_output_path/js_inspector"
module_out_path = "$accessibility_test_output_path/js_inspector"
sources = [
"inspect_badge_test.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("frame_node_test_ng") {
module_out_path = base_test_outout_path
module_out_path = base_test_output_path
sources = [
# old

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("geometry_node_test_ng") {
module_out_path = "$test_output_path/base"
module_out_path = base_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/dimension.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("ui_node_test_ng") {
module_out_path = "$test_output_path/base"
module_out_path = base_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/dimension.cpp",

View File

@ -14,10 +14,8 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
#import("//build/toolchain/ohos:ohos_clang_arm")
ohos_unittest("view_abstract_test") {
module_out_path = "$test_output_path/base"
module_out_path = base_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/dimension.cpp",

View File

@ -16,7 +16,7 @@ import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("view_abstract_model_test_ng") {
module_out_path = "$test_output_path/base"
module_out_path = base_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/dimension.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("view_full_update_model_ng_test") {
module_out_path = "$test_output_path/base"
module_out_path = base_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/dimension.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("view_partial_update_model_test_ng") {
module_out_path = "$test_output_path/base"
module_out_path = base_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/dimension.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("view_stack_processor_test_ng") {
module_out_path = base_test_outout_path
module_out_path = base_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/dimension.cpp",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("click_event_test_ng") {
module_out_path = "$test_output_path/event/click_event"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("drag_event_test_ng") {
module_out_path = "$test_output_path/event/drag_event"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("event_hub_test_ng") {
module_out_path = "$test_output_path/event/event_hub"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("event_manager_test_ng") {
module_out_path = "$test_output_path/text"
module_out_path = event_test_output_path
sources = [
"$ace_root/adapter/ohos/osal/log_wrapper.cpp",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("focus_hub_test_ng") {
module_out_path = "$test_output_path/event/focus_hub"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("gesture_event_hub_test_ng") {
module_out_path = "$test_output_path/event/gesture_event_hub"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("input_event_hub_test_ng") {
module_out_path = "$test_output_path/event/input_event_hub"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("long_press_event_test_ng") {
module_out_path = "$test_output_path/event/long_press_event"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("pan_event_test_ng") {
module_out_path = "$test_output_path/event/pan_event"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("scrollable_event_test_ng") {
module_out_path = "$test_output_path/event/scrollable_event"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("touch_event_test_ng") {
module_out_path = "$test_output_path/event/touch_event"
module_out_path = event_test_output_path
sources = [
# inner

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("flex_layout_test_ng") {
module_out_path = "$test_output_path/flex_layout"
module_out_path = layout_test_output_path
sources = [ "flex_layout_test_ng.cpp" ]

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("panel_layout_test_ng") {
module_out_path = "$test_output_path/panel_layout"
module_out_path = layout_test_output_path
sources = [ "panel_layout_test_ng.cpp" ]

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("relative_container_layout_test_ng") {
module_out_path = "$test_output_path/relative_container"
module_out_path = layout_test_output_path
sources = [
"relative_container_common_ng.cpp",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("drag_drop_proxy_test_ng") {
module_out_path = "$test_output_path/manager/drag_drop"
module_out_path = "$manager_test_output_path/drag_drop_proxy_test"
include_dirs = [
"//third_party/flutter/skia/src",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("full_screen_manager_test_ng") {
module_out_path = "$test_output_path/manager/full_screen"
module_out_path = "$manager_test_output_path/full_screen_manager_test"
include_dirs = [ "//commonlibrary/c_utils/base:utils_config" ]

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("select_overlay_manager_test_ng") {
module_out_path = "$test_output_path/manager/select_overlay"
module_out_path = "$manager_test_output_path/select_overlay_manager_test"
include_dirs = [
"//third_party/flutter/skia/src",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("select_overlay_proxy_test_ng") {
module_out_path = "$test_output_path/manager/select_overlay"
module_out_path = "$manager_test_output_path/select_overlay_proxy_test"
include_dirs = [
"//third_party/flutter/skia/src",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("shared_overlay_manager_test_ng") {
module_out_path = "$test_output_path/manager/shared_overlay"
module_out_path = "$manager_test_output_path/shared_overlay_manager_test"
include_dirs = [ "//commonlibrary/c_utils/base:utils_config" ]

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("ability_component_pattern_test_ng") {
module_out_path = "$test_output_path/ability_component"
module_out_path = pattern_test_output_path
include_dirs = [
"//third_party/flutter/skia/src",
"//third_party/jsoncpp/include",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("badge_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/badge"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/least_square_impl.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("blank_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/blank"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/components_ng/pattern/blank/blank_pattern.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("bubble_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/bubble"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("button_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/button"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/matrix4.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("calendar_pattern_test_ng") {
module_out_path = "$test_output_path/calendar"
module_out_path = pattern_test_output_path
sources = [
# animation

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("checkbox_test_ng") {
module_out_path = "$pattern_test_output_path/checkbox"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("checkboxgroup_test_ng") {
module_out_path = "$pattern_test_output_path/checkboxgroup"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("common_view_test_ng") {
module_out_path = "$test_output_path/common_view"
module_out_path = pattern_test_output_path
sources = [ "common_view_test_ng.cpp" ]

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("container_modal_test_ng") {
module_out_path = "$pattern_test_output_path/container_modal"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/adapter/preview/osal/ressched_report.cpp",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("counter_pattern_test_ng") {
module_out_path = "$test_output_path/counter"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -13,10 +13,11 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
import("$ace_root/frameworks/core/components_ng/components.gni")
ohos_unittest("custom_dialog_test_ng") {
module_out_path = "$test_output_path/dialog"
module_out_path = pattern_test_output_path
include_dirs = [
"$ace_hitrace/interfaces/native/innerkits/include/hitrace_meter",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("custom_paint_test_ng") {
module_out_path = "$pattern_test_output_path/custom_paint"
module_out_path = pattern_test_output_path
sources = [
"canvas_paint_method_test_ng.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("data_panel_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/data_panel"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/animation/spring_animation.cpp",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("dialog_pattern_test_ng") {
module_out_path = "$test_output_path/dialog"
module_out_path = pattern_test_output_path
sources = [ "dialog_pattern_test_ng.cpp" ]

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("divider_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/divider"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/components_ng/pattern/divider/divider_layout_algorithm.cpp",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("dragBar_pattern_test_ng") {
module_out_path = "$test_output_path/dragBar"
module_out_path = pattern_test_output_path
platform = "ohos"
sources = [ "dragBar_pattern_test_ng.cpp" ]

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("flex_pattern_test_ng") {
module_out_path = "$test_output_path/flex"
module_out_path = pattern_test_output_path
sources = [ "flex_pattern_test_ng.cpp" ]

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("focusHub_pattern_test_ng") {
module_out_path = "$test_output_path/focusHub"
module_out_path = pattern_test_output_path
sources = [ "focusHub_pattern_test_ng.cpp" ]

View File

@ -16,7 +16,7 @@ import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("form_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/form"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/common/ace_engine.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("gauge_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/gauge"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/components_ng/pattern/gauge/gauge_accessibility_property.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("grid_test_ng") {
module_out_path = "$pattern_test_output_path/grid"
module_out_path = pattern_test_output_path
sources = [
# special

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("grid_col_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/grid_col"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/components_ng/pattern/flex/flex_layout_algorithm.cpp",

View File

@ -9,15 +9,16 @@
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("grid_container_pattern_test_ng") {
module_out_path = "$test_output_path/grid_container"
module_out_path = pattern_test_output_path
sources = [ "grid_container_pattern_test_ng.cpp" ]

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("grid_row_pattern_test_ng") {
module_out_path = "$test_output_path/grid_row"
module_out_path = pattern_test_output_path
sources = [
"grid_row_layout_algorithm_test_ng.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("hyperlink_test_ng") {
module_out_path = "$pattern_test_output_path/hyperlink"
module_out_path = pattern_test_output_path
sources = [
# drag

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("image_test_ng") {
module_out_path = "$pattern_test_output_path/image"
module_out_path = pattern_test_output_path
include_dirs =
[ "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include" ]

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("image_animator_pattern_test") {
module_out_path = "$test_output_path/image_animator"
module_out_path = pattern_test_output_path
include_dirs = [
"//third_party/flutter/skia",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("indexer_test_ng") {
module_out_path = "$pattern_test_output_path/indexer"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("linear_layout_pattern_test_ng") {
module_out_path = "$test_output_path/linear_layout"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("linear_split_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/linear_split"
module_out_path = pattern_test_output_path
sources = [
#inner

View File

@ -13,6 +13,7 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
common_sources = [
# inner
@ -163,7 +164,7 @@ common_sources = [
]
ohos_unittest("list_test_ng") {
module_out_path = "$test_output_path/list"
module_out_path = pattern_test_output_path
test_sources = [ "list_test_ng.cpp" ]

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("loading_progress_test_ng") {
module_out_path = "$pattern_test_output_path/loading_progress"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("marquee_test_ng") {
module_out_path = "$pattern_test_output_path/marquee"
module_out_path = pattern_test_output_path
sources = [ "marquee_test_ng.cpp" ]

View File

@ -17,7 +17,7 @@ import(
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("menu_layout_algorithm_test_ng") {
module_out_path = "$pattern_test_output_path/menu"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("navigation_test_ng") {
module_out_path = "$pattern_test_output_path/navigation"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("navigator_event_hub_test_ng") {
module_out_path = "$test_output_path/navigator"
module_out_path = pattern_test_output_path
sources = [ "navigator_event_hub_test_ng.cpp" ]

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("panel_option_test_ng") {
module_out_path = "$test_output_path/render"
module_out_path = pattern_test_output_path
include_dirs = [
"//third_party/flutter/skia/src",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("overlay_manager_test_ng") {
module_out_path = "$pattern_test_output_path/overlay"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("patternlock_pattern_test_ng") {
module_out_path = "$test_output_path/patternlock"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",
"//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("picker_test_ng") {
module_out_path = "$pattern_test_output_path/picker"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("plugin_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/plugin"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/common/ace_engine.cpp",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("progress_pattern_test_ng") {
module_out_path = "$test_output_path/progress"
module_out_path = pattern_test_output_path
include_dirs = [ "//commonlibrary/c_utils/base/include" ]

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("qrcode_pattern_test_ng") {
module_out_path = "$test_output_path/qrcode"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("radio_test_ng") {
module_out_path = "$pattern_test_output_path/radio"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("rating_pattern_test_ng") {
module_out_path = "$test_output_path/rating"
module_out_path = pattern_test_output_path
include_dirs = [
"//third_party/flutter/skia",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("refresh_pattern_test_ng") {
module_out_path = "$test_output_path/refresh"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("relative_container_pattern_test_ng") {
module_out_path = "$test_output_path/relative_container"
module_out_path = pattern_test_output_path
sources = [
"relative_container_common_ng.cpp",

View File

@ -16,7 +16,7 @@ import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("scroll_test_ng") {
module_out_path = "$test_output_path/scroll"
module_out_path = pattern_test_output_path
sources = [
# special

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("scroll_bar_test_ng") {
module_out_path = "$test_output_path/scroll_bar"
module_out_path = pattern_test_output_path
sources = [
"scroll_bar_accessibility_property_test_ng.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("search_test_ng") {
module_out_path = "$pattern_test_output_path/search"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/components_ng/pattern/image/image_layout_algorithm.cpp",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("select_pattern_test_ng") {
module_out_path = "$test_output_path/select"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -15,6 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
config("config_shape_test") {
visibility = [ ":*" ]
@ -32,7 +33,7 @@ config("config_shape_test") {
}
ohos_unittest("circle_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_shape_pattern_test_ng.cpp",
@ -52,7 +53,7 @@ ohos_unittest("circle_pattern_test_ng") {
}
ohos_unittest("ellipse_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_shape_pattern_test_ng.cpp",
"ellipse_pattern_test_ng.cpp",
@ -68,7 +69,7 @@ ohos_unittest("ellipse_pattern_test_ng") {
}
ohos_unittest("line_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_shape_pattern_test_ng.cpp",
"line_pattern_test_ng.cpp",
@ -84,7 +85,7 @@ ohos_unittest("line_pattern_test_ng") {
}
ohos_unittest("rect_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_shape_pattern_test_ng.cpp",
"rect_pattern_test_ng.cpp",
@ -100,7 +101,7 @@ ohos_unittest("rect_pattern_test_ng") {
}
ohos_unittest("path_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_shape_pattern_test_ng.cpp",
"path_pattern_test_ng.cpp",
@ -116,7 +117,7 @@ ohos_unittest("path_pattern_test_ng") {
}
ohos_unittest("polygon_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_polygon_pattern_test_ng.cpp",
"base_shape_pattern_test_ng.cpp",
@ -133,7 +134,7 @@ ohos_unittest("polygon_pattern_test_ng") {
}
ohos_unittest("polyline_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_polygon_pattern_test_ng.cpp",
"base_shape_pattern_test_ng.cpp",
@ -150,7 +151,7 @@ ohos_unittest("polyline_pattern_test_ng") {
}
ohos_unittest("shape_pattern_test_ng") {
module_out_path = "$test_output_path/shape"
module_out_path = "$pattern_test_output_path/shape"
sources = [
"base_shape_pattern_test_ng.cpp",
"shape_pattern_test_ng.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("side_bar_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/side_bar"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("slider_pattern_test_ng") {
module_out_path = "$test_output_path/slider"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("stack_test_ng") {
module_out_path = "$pattern_test_output_path/stack"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/components_ng/pattern/stack/stack_layout_algorithm.cpp",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("stage_pattern_test_ng") {
module_out_path = "$test_output_path/stage"
module_out_path = pattern_test_output_path
sources = [
"page_event_hub_test.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("stepper_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/stepper"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,10 +15,11 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("swiper_pattern_test_ng") {
platform = "ohos"
module_out_path = "$test_output_path/swiper_indicator"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("tabs_test_ng") {
module_out_path = "$pattern_test_output_path/tabs"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/least_square_impl.cpp",

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("text_test_ng") {
module_out_path = "$pattern_test_output_path/text"
module_out_path = pattern_test_output_path
include_dirs =
[ "//foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include" ]

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("text_clock_pattern_test_ng") {
module_out_path = "$test_output_path/text_clock"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("textfield_test_ng") {
module_out_path = "$pattern_test_output_path/textfield"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/base/geometry/animatable_dimension.cpp",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("text_timer_pattern_test_ng") {
module_out_path = "$test_output_path/texttimer"
module_out_path = pattern_test_output_path
sources = [
# inner

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("toast_pattern_test_ng") {
module_out_path = "$test_output_path/toast"
module_out_path = pattern_test_output_path
sources = [ "toast_pattern_test_ng.cpp" ]

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("toggle_pattern_test_ng") {
module_out_path = "$test_output_path/toggle"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -13,9 +13,10 @@
import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("video_pattern_test_ng") {
module_out_path = "$test_output_path/video"
module_out_path = pattern_test_output_path
include_dirs = [
"//commonlibrary/c_utils/base/include",

View File

@ -15,12 +15,13 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
template("web_pattern_unit_source_set") {
forward_variables_from(invoker, "*")
ohos_unittest(target_name) {
module_out_path = "$test_output_path/web"
module_out_path = pattern_test_output_path
defines += invoker.defines
testonly = true

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("xcomponent_pattern_test_ng") {
module_out_path = "$pattern_test_output_path/xcomponent"
module_out_path = pattern_test_output_path
sources = [
"$ace_root/frameworks/core/common/container.cpp",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("panel_property_test_ng") {
module_out_path = "$test_output_path/panel"
module_out_path = property_test_output_path
sources = [ "panel_property_test_ng.cpp" ]

View File

@ -15,7 +15,7 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("property_test_ng") {
module_out_path = "$test_output_path/property"
module_out_path = property_test_output_path
sources = [
"$ace_root/frameworks/core/components_ng/property/property.cpp",

View File

@ -15,9 +15,10 @@ import("//build/test.gni")
import("//foundation/arkui/ace_engine/ace_config.gni")
import(
"//foundation/arkui/ace_engine/frameworks/core/components_ng/components.gni")
import("//foundation/arkui/ace_engine/test/unittest/ace_unittest.gni")
ohos_unittest("swiper_property_test_ng") {
module_out_path = "$test_output_path/swiper"
module_out_path = property_test_output_path
sources = [ "swiper_property_test_ng.cpp" ]

Some files were not shown because too many files have changed in this diff Show More