4 Commits

Author SHA1 Message Date
Dan Williams
b89b56dc97 pkg/ipam: add testcases 2017-01-25 11:31:18 -06:00
Stefan Junker
c3e8563e77 pkg/utils/hwaddr: migrate code from IPAM pkg 2016-07-22 15:18:38 -07:00
Stefan Junker
7ea07a6405 pkg/ipam{,test}: improve error handling and tests
* _suite.go and _test.go file should be in the same package, using the
  _test package for that, which requires some fields and methods to be
  exported
* Introduce error type for cleaner error handling
* test adaptions for error type checking
2016-07-22 15:17:22 -07:00
Minhan Xia
75f1fa2260 add tests for generateHardwardAddr 2016-07-22 15:01:57 -07:00