1
0
mirror of https://github.com/danog/dns.git synced 2024-11-26 20:14:51 +01:00
Commit Graph

16 Commits

Author SHA1 Message Date
Danack
d4a86e8ac8 Fixed test to have correct behaviour. 2014-07-24 14:04:50 +01:00
Danack
b37ad10811 Added test where client is not set. 2014-07-24 12:53:10 +01:00
Danack
005d0710bb Changed bbc test to use an array to be consistent with others, and also added note about test should check two IP addreses.
Added check that cname is returned when only cname is available.
2014-07-24 12:25:56 +01:00
Danack
ac8d451278 Merge commit '671cffe242beee453f272f1d143ee29d6027e2dd' into addedSamplePackets
* commit '671cffe242beee453f272f1d143ee29d6027e2dd':
  Removed bogus check in test - there is still an issue so test is marked as skipped.
  Added resolver tests.
  Fix hosts file bug and tests
2014-07-24 11:35:03 +01:00
Danack
c9f86bbe7e Added more tests for example packets. 2014-07-24 11:34:40 +01:00
Danack
aab84bcef0 Removed bogus check in test - there is still an issue so test is marked as skipped. 2014-07-22 19:39:47 +01:00
Danack
8fdb86f655 Merge commit '3d81d18176b762191891de158dc04a1a59af6053' into addResolverTest
* commit '3d81d18176b762191891de158dc04a1a59af6053':
  Fix hosts file bug and tests

Conflicts:
	test/AddrTest/HostsFileTest.php
2014-07-22 19:34:47 +01:00
Danack
155d33475b Added resolver tests. 2014-07-22 18:31:44 +01:00
Danack
06317638c6 Added hard-coded packet response to allow testing of the decoding. 2014-07-22 16:30:34 +01:00
Chris Wright
3d81d18176 Fix hosts file bug and tests
Thanks to @Danack
2014-07-22 16:18:26 +01:00
Chris Wright
585b5578e3 Cache refactoring
- pull $type back down into interface
 - remove delete() from interface
 - make get() async-capable
2014-07-22 02:54:23 +01:00
Danack
af5c817c01 Removed dead method call. 2014-07-21 23:08:03 +01:00
Danack
8ae5a4631b Added hostsFile tests. Added check that caching is actually preventing additional lookups. 2014-07-21 22:56:48 +01:00
Chris Wright
a30ead4952 Whitespace and code style fixes
I am anal. I am also sorry. Deal with it.
2014-07-21 17:48:36 +01:00
Danack
ca150f4093 Changed to project standard bracket placement. Moved AddrCache to Addr\Cache. Refactored to use 'use', added not about running tests to readme. Moved travis badge to point at main repo. 2014-07-21 14:12:51 +01:00
Danack
a50369e71e Tests, Travis and Cache implementations
- Add tests
 - Configure repo for use with Travis
 - Add some more Cache implementations
2014-07-21 12:24:35 +01:00