openthread icon indicating copy to clipboard operation
openthread copied to clipboard

[tests] add a test case that Advertising Proxy publishes zero or multiple host addresses

Open superwhd opened this issue 2 years ago • 4 comments

Depends-On: openthread/ot-br-posix#1491

superwhd avatar Aug 09 '22 09:08 superwhd

Size Report of OpenThread

Merging #8003 into main(ba14836b68e7eb8a00248f31bbd65a9a3edfb320).

name branch text data bss total
ot-cli-ftd_1.1 main 462496 780 60772 524048
#8003 462496 780 60772 524048
+/- 0 0 0 0
ot-cli-mtd_1.1 main 381904 780 50564 433248
#8003 381904 780 50564 433248
+/- 0 0 0 0
ot-ncp-ftd_1.1 main 444220 780 59752 504752
#8003 444220 780 59752 504752
+/- 0 0 0 0
ot-ncp-mtd_1.1 main 366372 780 49544 416696
#8003 366372 780 49544 416696
+/- 0 0 0 0
ot-rcp_1.1 main 58136 564 19964 78664
#8003 58136 564 19964 78664
+/- 0 0 0 0
libopenthread-cli-ftd.a_1.1 main 45925 0 4244 50169
#8003 45925 0 4244 50169
+/- 0 0 0 0
libopenthread-cli-mtd.a_1.1 main 38548 0 4244 42792
#8003 38548 0 4244 42792
+/- 0 0 0 0
libopenthread-ftd.a_1.1 main 242862 20 39090 281972
#8003 242862 20 39090 281972
+/- 0 0 0 0
libopenthread-mtd.a_1.1 main 175930 20 28882 204832
#8003 175930 20 28882 204832
+/- 0 0 0 0
libopenthread-ncp-ftd.a_1.1 main 31597 0 5852 37449
#8003 31597 0 5852 37449
+/- 0 0 0 0
libopenthread-ncp-mtd.a_1.1 main 26441 0 5852 32293
#8003 26441 0 5852 32293
+/- 0 0 0 0
libopenthread-rcp.a_1.1 main 8894 0 4988 13882
#8003 8894 0 4988 13882
+/- 0 0 0 0
libopenthread-radio.a_1.1 main 15939 0 174 16113
#8003 15939 0 174 16113
+/- 0 0 0 0
ot-cli-ftd_1.3 main 485280 780 70468 556528
#8003 485280 780 70468 556528
+/- 0 0 0 0
ot-cli-mtd_1.3 main 397072 780 51820 449672
#8003 397072 780 51820 449672
+/- 0 0 0 0
ot-ncp-ftd_1.3 main 465964 780 69440 536184
#8003 465964 780 69440 536184
+/- 0 0 0 0
ot-ncp-mtd_1.3 main 380124 780 50792 431696
#8003 380124 780 50792 431696
+/- 0 0 0 0
ot-rcp_1.3 main 60464 564 20532 81560
#8003 60464 564 20532 81560
+/- 0 0 0 0
libopenthread-cli-ftd.a_1.3 main 48783 0 4244 53027
#8003 48783 0 4244 53027
+/- 0 0 0 0
libopenthread-cli-mtd.a_1.3 main 40812 0 4244 45056
#8003 40812 0 4244 45056
+/- 0 0 0 0
libopenthread-ftd.a_1.3 main 261802 20 48242 310064
#8003 261802 20 48242 310064
+/- 0 0 0 0
libopenthread-mtd.a_1.3 main 187773 20 29594 217387
#8003 187773 20 29594 217387
+/- 0 0 0 0
libopenthread-ncp-ftd.a_1.3 main 33427 0 5852 39279
#8003 33427 0 5852 39279
+/- 0 0 0 0
libopenthread-ncp-mtd.a_1.3 main 27807 0 5852 33659
#8003 27807 0 5852 33659
+/- 0 0 0 0
libopenthread-rcp.a_1.3 main 9060 0 4988 14048
#8003 9060 0 4988 14048
+/- 0 0 0 0
libopenthread-radio.a_1.3 main 16819 0 206 17025
#8003 16819 0 206 17025
+/- 0 0 0 0

size-report[bot] avatar Aug 09 '22 09:08 size-report[bot]

Codecov Report

Merging #8003 (1a03a91) into main (0a41196) will decrease coverage by 0.02%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #8003      +/-   ##
==========================================
- Coverage   85.37%   85.34%   -0.03%     
==========================================
  Files         509      509              
  Lines       70745    70745              
==========================================
- Hits        60396    60378      -18     
- Misses      10349    10367      +18     
Impacted Files Coverage Δ
src/core/api/border_routing_api.cpp 30.76% <0.00%> (-7.70%) :arrow_down:
src/core/border_router/routing_manager.cpp 84.52% <0.00%> (-3.19%) :arrow_down:
src/posix/platform/daemon.cpp 87.30% <0.00%> (-2.39%) :arrow_down:
src/core/thread/csl_tx_scheduler.cpp 94.07% <0.00%> (-1.49%) :arrow_down:
src/posix/platform/radio.cpp 88.70% <0.00%> (-0.84%) :arrow_down:
src/core/mac/data_poll_handler.cpp 83.44% <0.00%> (-0.69%) :arrow_down:
src/core/thread/mlr_manager.cpp 95.15% <0.00%> (-0.57%) :arrow_down:
src/cli/cli_network_data.cpp 80.18% <0.00%> (-0.48%) :arrow_down:
src/lib/spinel/radio_spinel_impl.hpp 86.05% <0.00%> (-0.29%) :arrow_down:
src/core/mac/mac.cpp 89.60% <0.00%> (-0.29%) :arrow_down:
... and 15 more

codecov[bot] avatar Aug 09 '22 16:08 codecov[bot]

add a test case that Advertising Proxy publishes zero or multiple host addresses

@superwhd Are there test cases for publishing zero host addresses?

wgtdkp avatar Aug 10 '22 03:08 wgtdkp

add a test case that Advertising Proxy publishes zero or multiple host addresses

@superwhd Are there test cases for publishing zero host addresses?

Yes. See tests/scripts/thread-cert/border_router/test_advertising_proxy.py:244.

superwhd avatar Aug 10 '22 04:08 superwhd