nx_friend_video_caller_test.nx
buildroot/runtime/nx_friend_video_caller_test.nx
about
nx_friend_video_caller_test.nx -- KAT for nx_friend envelopes +
JSON-type extractor. Live-network behaviour (dance against the
production nx_signaling daemon) is covered by the deploy bench
at bench/ops/nx_friend_video_caller_deploy.sh -- this file
verifies the bits-up offline-checkable invariants.
Covers:
T1 hello envelope length > 0 and parses to kind=1
T2 offer envelope length > 0 and parses to kind=2
T3 answer envelope length > 0 and parses to kind=3
T4 ice envelope length > 0 and parses to kind=4
T5 envelope-type extractor returns 0 on malformed payload
T6 envelope-type extractor tolerates whitespace around the colon
T7 sealed-enum verdict-range check
T8 IPv4 sockaddr_in builder writes the correct byte layout
expect_exit: 0
license_tier: ORIGINAL
dependencies 2 imports · 0 importers
imports: nx_syscalls.nxnx_friend_video_caller.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 23 | func _t_strlen(s: *u8) -> i64 called by 1: main |
| 29 | func main() -> i64 |