coredns/test
Miek Gieben 4096c4906d Pr 311 2 (#312)
* Add a setup test for middleware/file

This fix adds a setup test for middleware/file so that there is
a basic coverage for the Corefile processing of middleware/file.

This fix is related to 308 (Will look into it).

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>

* middleware/file: use helper function for test

Fixup setup_test.go and use the test.TempFile function to make things
somewhat shorter.

Use clean up the use of testing.T in TempFile - it is not used.
2016-10-02 15:58:01 +01:00
..
cache_test.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
doc.go Doc: add package docs (#296) 2016-09-25 08:39:20 +01:00
etcd_test.go middleware/cache: split cache in positive and negative and use lru (#298) 2016-10-02 08:31:44 +01:00
file.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
file_test.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
kubernetes_test.go middleware/cache: split cache in positive and negative and use lru (#298) 2016-10-02 08:31:44 +01:00
middleware_dnssec_test.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
middleware_test.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
proxy_test.go Pr 311 2 (#312) 2016-10-02 15:58:01 +01:00
server.go Run golint and go vet (#276) 2016-09-21 17:01:19 +01:00
server_test.go middleware/cache: split cache in positive and negative and use lru (#298) 2016-10-02 08:31:44 +01:00