ooni-probe-cli/internal/netxlite
Simone Basso 3cd88debdc
netxlite: improve docs, tests, and code quality (#493)
* netxlite: improve docs, tests, and code quality

* better documentation

* more strict testing of dialer (especially make sure we
document the quirk in https://github.com/ooni/probe/issues/1779
and we have tests to guarantee we don't screw up here)

* introduce NewErrWrapper factory for creating errors so we
have confidence we are creating them correctly

Part of https://github.com/ooni/probe/issues/1591
2021-09-08 21:19:51 +02:00
..
errorsx netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
internal/gencertifi refactor(errorsx): improve errno generating code (#473) 2021-09-07 14:25:42 +02:00
iox refactor(netxlite/iox): group tests and avoid races (#484) 2021-09-07 22:41:34 +02:00
mocks netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
quicx refactor(netxlite): hide details without breaking the rest of the tree (#454) 2021-09-05 14:49:38 +02:00
certifi_test.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
certifi.go refactor(errorsx): improve errno generating code (#473) 2021-09-07 14:25:42 +02:00
dialer_test.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
dialer.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
doc.go refactor: start pivoting netx (#396) 2021-06-23 15:53:12 +02:00
http_test.go refactor(netxlite): improve tests for http and http3 (#487) 2021-09-08 00:59:48 +02:00
http.go refactor(netxlite): let NewHTTPTransport work with single-use dialers (#467) 2021-09-06 19:27:59 +02:00
http3_test.go fix(netxlite): http3 transport needs logging by default (#492) 2021-09-08 20:49:01 +02:00
http3.go fix(netxlite): http3 transport needs logging by default (#492) 2021-09-08 20:49:01 +02:00
integration_test.go fix(netxlite): http3 transport needs logging by default (#492) 2021-09-08 20:49:01 +02:00
legacy_test.go refactor(netxlite): finish grouping tests (#488) 2021-09-08 11:39:27 +02:00
legacy.go refactor(netxlite): restructure dialer tests (#486) 2021-09-08 00:00:53 +02:00
logger.go refactor: move httptransport w/ logging to netxlite (#411) 2021-06-26 18:11:47 +02:00
quic_test.go refactor(netxlite): finish grouping tests (#488) 2021-09-08 11:39:27 +02:00
quic.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
quirks_test.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
quirks.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
resolver_test.go refactor(netxlite): finish grouping tests (#488) 2021-09-08 11:39:27 +02:00
resolver.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
tls_test.go feat(netxlite): introduce null dialers (#489) 2021-09-08 14:46:17 +02:00
tls.go netxlite: improve docs, tests, and code quality (#493) 2021-09-08 21:19:51 +02:00
utls_test.go refactor(netxlite): finish grouping tests (#488) 2021-09-08 11:39:27 +02:00
utls.go fix(netxlite): add error wrappers (#480) 2021-09-07 19:56:42 +02:00