Commit Graph

18 Commits

Author SHA1 Message Date
wgtdkp dc947f0152 [tests] support testing commissioning (#3441)
Add support for testing commissioning process, including:

1. Add DTLS, Thread Discovery and commissioning messages(JOIN_FIN.req etc) parsing;
2. Support parsing log from UART response, and construct decrypted messages;
3. Common commands for commissioning related verification;
2019-02-26 15:49:57 -08:00
Irving-cl cf7bc35bbe [tests] add traffic check in test case Cert_7_1_01 (#3405) 2019-02-18 13:41:30 -08:00
wgtdkp 3f6d50a728 [tests] enhance Cert_7_1_03_BorderRouterAsLeader (#3399) 2018-12-29 11:25:39 -08:00
Irving-cl d34f279e5a [tests] enhance Cert_6_1_02_REEDAttach_MED/SED (#3387) 2018-12-29 09:50:12 -08:00
Zhanglong Xia 9d4f367e6d [tests] add traffic analysis for Cert_5_3_10 as TestPlan (#2502) 2018-01-25 17:31:03 +00:00
Zhanglong Xia 2636df1952 [tests] add traffic analysis for Cert_5_3_08 as TestPlan (#2484)
This commit adds the method set_lowpan_context to set the lowpan context of sniffer.
2018-01-22 16:48:00 +00:00
Zhanglong Xia 836377093e [tests] add traffic analysis for Cert_5_2_01 as TestPlan (#2463)
This commit modifies the method assertSentToNode to confirm if the destination Mac address of
the message is the node's Mac address. Add method check_parent_request, check_parent_response,
check_child_id_request and check_child_id_request to command.py.
2018-01-15 19:36:38 +00:00
hjian2017 d8e2c2f73d [tests] add traffic analysis for Cert_5_3_05_RoutingLinkQuality.py (#2289) 2017-11-01 08:53:18 -07:00
hjian2017 5bc2b8113b [tests] add traffic to 4 test cases: from Cert_5_2_07 to Cert_5_3_03 (#2214)
- Add a method in message.py to verify if receive a ICMPv6 message.
- Add two methods in command.py to verify link request and link accept.
2017-10-18 09:25:22 -07:00
hjian2017 ce061e2174 [test] add traffic analysis for Cert_5_2_3_LeaderReject2Hops (#2142)
Also add a method last_mle_message to find the newest mle; Add a method assertAssignedRouterQuantity to confirm if Leader contains the Route64 TLV with 32 assigned router IDs.
2017-08-30 08:41:31 -07:00
hjian2017 97a2fc4cc3 [test] Add traffic analysis for Cert_6_1_01_RouterAttach (#2119)
Also fix the method assertMleMessageContainsOptionalTlv() in message.py to
output appropriate log.
2017-08-22 18:35:10 -07:00
Buke Po d4944ff373 [tests] add missing message type (#2053) 2017-08-02 21:49:55 -07:00
Giuseppe Andreello 6d8d42e9bf Fixed python interpreter directives (#1667)
Changed the interpreter directives from '#!/usr/bin/python' to
'#!/usr/bin/env python' so the OpenThread tests can be run
inside a python virtualenv.
2017-04-26 21:23:02 -07:00
Przemysław Fierek b6699cf9b3 Fix spurious failures in 5.1.x tests. (#1324) 2017-02-15 09:10:21 -08:00
Przemysław Fierek 100e568a09 Improve the sniffer design. (#1073) 2016-12-14 08:59:23 -08:00
Przemysław Fierek bc8b1a4cd1 Add CoAP support to thread-cert. (#1063) 2016-12-12 10:10:52 -08:00
PFierek fba3198c9e Add Python3 support to thread-cert. (#985) 2016-11-17 21:16:59 +08:00
PFierek bd99468e85 Add sniffer. Extend some tests according to Thread Certification Test Plan V1.1 Preview 1612. (#957) 2016-11-10 12:59:25 +08:00