ooni-probe-cli/internal/netxmocks
Simone Basso b8428b302f
refactor(netxlite): make sure we always use netxmocks (#399)
* refactor(netxlite): make sure we always use netmocks

While there, improve logging and make sure we test 100% of the
package with unit tests only. (We don't need to have integration
testing in this package because it's fairly simple/obvious.)

Part of https://github.com/ooni/probe/issues/1505

* further improve logs
2021-06-23 17:00:44 +02:00
..
conn_test.go refactor: rename i/e/n/mockablex => i/netxmocks (#397) 2021-06-23 16:06:02 +02:00
conn.go refactor(netxlite): make sure we always use netxmocks (#399) 2021-06-23 17:00:44 +02:00
dialer_test.go refactor: rename i/e/n/mockablex => i/netxmocks (#397) 2021-06-23 16:06:02 +02:00
dialer.go refactor(netxlite): make sure we always use netxmocks (#399) 2021-06-23 17:00:44 +02:00
doc.go refactor: rename i/e/n/mockablex => i/netxmocks (#397) 2021-06-23 16:06:02 +02:00
resolver_test.go feat(netxmocks): implement mocks for netxlite.Resolver (#398) 2021-06-23 16:21:13 +02:00
resolver.go refactor(netxlite): make sure we always use netxmocks (#399) 2021-06-23 17:00:44 +02:00