testsupport/

directory
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: MIT

Directories

Path Synopsis
Package fakepool provides a deterministic in-process replacement for nntppool.Client used by tests that exercise AltMount's streaming and connection-management invariants.
Package fakepool provides a deterministic in-process replacement for nntppool.Client used by tests that exercise AltMount's streaming and connection-management invariants.
Package goroutines provides a small helper for tests that need to assert goroutine leaks — specifically, the closeWg accumulation scenarios in the streaming pipeline where rapid seek/close cycles can spawn background goroutines that outlive the request.
Package goroutines provides a small helper for tests that need to assert goroutine leaks — specifically, the closeWg accumulation scenarios in the streaming pipeline where rapid seek/close cycles can spawn background goroutines that outlive the request.
Package nzbbuild provides helpers for constructing NZB objects and writing them to temporary files in tests.
Package nzbbuild provides helpers for constructing NZB objects and writing them to temporary files in tests.
Package par2gen builds minimal valid PAR2 index files in memory for use in tests that exercise PAR2-based filename deobfuscation.
Package par2gen builds minimal valid PAR2 index files in memory for use in tests that exercise PAR2-based filename deobfuscation.
Package segments builds deterministic segment payloads and identifiers for use by streaming/connection tests.
Package segments builds deterministic segment payloads and identifiers for use by streaming/connection tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL