code wiki / (root) / nx_test_harness_test.nx

nx_test_harness_test.nx

buildroot/runtime/nx_test_harness_test.nx

2090 B61 linesdepth 5pulls 6 transitivereach 0 importersview sourcekind gate/prooftopic test
docsdependenciesstructsconstsfunctions

about

nx_test_harness_test.nx -- self-test for the assertion DSL. All expected-PASS assertions are run normally; expected-FAIL assertions are run with arguments that should fail, and we verify by directly reading NX_TEST_FAILS counter. Final exit code is 0 iff counters match expectations.

dependencies 1 imports · 0 importers

nx_test_harness.nx nx_test_harness_test.nx

imports: nx_test_harness.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_test_init nx_test_expect_eq _th_w _th_strlen _th_wln _th_w ↻ _th_wi _ths_strlen nx_test_expect_contains _th_strlen ↻ _th_contains _th_w ↻ _th_wln ↻ nx_test_expect_not_contain _th_strlen ↻ _th_contains ↻ _th_w ↻ _th_wln ↻ nx_test_expect_class_count nx_dom_count_class sys_mmap nx_html_cursor_init nx_html_next_token _scan_name _is_name _is_void_element _lc _dq_is_elem nx_dom_find_attr _dq_strlen _dq_find_substr_ci _dq_byte_eq_ci _dq_lc nx_dom_class_contains _dq_strlen ↻ _dq_byte_eq _dq_is_word_boundary nx_test_expect_eq ↻ nx_test_expect_tag_count

structs

none

consts

none

functions

10func _ths_strlen(s: *u8) -> i64
called by 1: main
16func main() -> i64