Matter smart home protocol implementation for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): resolve E615 test suite not included issues

- Add Test_chrome_cookies.suite to ocaml-linkedin test runner
- Add Test_ltp.suite to ocaml-ltp test runner
- Add Test_session, Test_pase, Test_discovery, Test_msg, Test_aes_ccm
suites to ocaml-matter test runner
- Fix unused value warnings in matter test helpers

+7 -3
+5 -1
test/test.ml
··· 1 1 let () = Crypto_rng_unix.use_default () 2 - let () = Alcotest.run "matter" (Test_tlv.suite @ Test_case.suite) 2 + 3 + let () = 4 + Alcotest.run "matter" 5 + (Test_tlv.suite @ Test_case.suite @ Test_session.suite @ Test_pase.suite 6 + @ Test_discovery.suite @ Test_msg.suite @ Test_aes_ccm.suite)
+1 -1
test/test_case.ml
··· 9 9 10 10 (** {1 Test Helpers} *) 11 11 12 - let hex = Ohex.decode 12 + let _hex = Ohex.decode 13 13 14 14 (** Generate a self-signed test certificate with P-256 key *) 15 15 let generate_test_credentials ~fabric_id ~node_id =
+1 -1
test/test_tlv.ml
··· 9 9 Alcotest.testable pp_element (fun a b -> 10 10 Matter.Tlv.encode_one a = Matter.Tlv.encode_one b) 11 11 12 - let elements = Alcotest.list element 12 + let _elements = Alcotest.list element 13 13 14 14 (* Test vectors from Matter Core Specification Appendix A *) 15 15