============================================================================= Gate runner (runs Gates A–G on a single input) ============================================================================= runEncodingJSONGates runs every gate (except the deterministic-depth Gate D, which is handled sep
(t *testing.T, data []byte)
| 625 | // D, which is handled separately) on a single input. Gate A (no-panic) is |
| 626 | // enforced inside each gate via encodingJSONNoPanic. |
| 627 | func runEncodingJSONGates(t *testing.T, data []byte) { |
| 628 | t.Helper() |
| 629 | runValidConsistencyGate(t, data) // Gate B |
| 630 | runRoundTripGate(t, data) // Gate C |
| 631 | runStreamingConsistencyGate(t, data) // Gate E |
| 632 | runTransformGate(t, data) // Gate F |
| 633 | runDifferentialGate(t, data) // Gate G |
| 634 | runMarshalDeterminismGate(t, data) // Gate I (DETERMINISM) |
| 635 | } |
| 636 | |
| 637 | // ============================================================================= |
| 638 | // The fuzzer (testing.F, native go-fuzz) |
no test coverage detected