Commit graph

9 commits

Author SHA1 Message Date
Stefan Tatschner
6406885928 Update broken tests 2019-06-30 22:22:36 +02:00
eenblam
7cca7b9d93 Add tests for ParseTargets
Still need tests with actual alias map
2018-08-31 15:01:46 -07:00
evilsocket
5041267be9
fixed net.FindGateway if there's a VPN interface active 2018-05-03 13:03:52 +02:00
Kent Gruber
7bff3bba79 add test for FindInterface in network package 2018-05-01 12:41:21 -04:00
Kent Gruber
dcd5001357 add basic matchByAddress test
checks both mac address and ip address cases
2018-05-01 11:01:31 -04:00
Kent Gruber
36fb416952 add basic findInterfaceByName test 2018-05-01 10:53:09 -04:00
Kent Gruber
3c920397b9 add basic buildEndpointFromInterface test 2018-05-01 10:07:13 -04:00
Kent Gruber
b188354c33 add basic ParseTargets test
Note: needs refactoring to include an actual alias map example. I was
unable to get this to work for the time being, but this test adds at
least some coverage.
2018-05-01 10:05:52 -04:00
Kent Gruber
9e59ca9bfe start adding tests for network net
* IsZeroMac
* IsBroadcastMac
* NormalizeMac
2018-04-30 22:42:02 -04:00