| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
add subscribeNotification Signed-off-by: bettykico <fangxiaofen1@h-partners.com> | 2 个月前 | |
fix(test): auto-isolate all test RDB via ans_service_sources_test wrapper Add ans_service_sources_test (ohos_static_library, testonly) that wraps ans_service_sources and automatically provides the mock_ans_rdb_mgr_builder strong override (isolated temp DB). All test targets now depend on ans_service_sources_test instead of ans_service_sources, so new test suites automatically get RDB isolation without manual changes. ans_service_sources_test_config propagates all needed include paths (ans headers, rdb headers, mock headers) to test targets. The mock source (mock_ans_rdb_mgr_builder.cpp) is compiled once into the static lib, avoiding include-path propagation issues with source_set recompilation. Co-Authored-By: Agent Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> Change-Id: Ieafd58f9f1e1433e3381c89a8c105f7191662986 Signed-off-by: CheerfulRicky <yuegang7@h-partners.com> | 1 个月前 | |
add anm test Signed-off-by: liuyanzhi <liuyanzhi3@huawei.com> Change-Id: I52d4d2b8e900424e350aab8ac125c192c1bb8aad | 4 年前 |