summaryrefslogtreecommitdiff
path: root/lib/custodian/protocoltest/ping.rb
AgeCommit message (Collapse)Author
2015-03-09Removed spaces inside parenthesis.Steve Kemp
2015-03-09Prefer single-quotes when you don't need interpolation.Steve Kemp
So "foo" is less good than 'foo'.
2015-03-09Avoid redudent returns.Steve Kemp
The last expression of a method is the return value. So: def foo; false ; end Is the same as: def foo; return false; end
2015-03-09Don't use parenthesis aroudn conditions in an if.Steve Kemp
2015-03-09Do not use parentheses for method calls with no arguments.Steve Kemp
This is neater. Flagged by rubocop
2015-03-09Avoid "Array.new" and "Hash.new"Steve Kemp
Instead use {} + ().
2015-03-09File.exists? is deprecated.Steve Kemp
We prefer "File.exist?". Flagged by rubocop.
2015-03-04Allow tests to be qualified IPv4/IPv6-only.Steve Kemp
Via "ipv6_only" and "IPv4_only"
2015-03-02Test for IPv4 and IPv6 addresses explicitly.Steve Kemp
If we're given an IPv4 or IPv6 address then use it, if not then attempt to resolve the name that we've been given to one/other/both of these types and test in turn.
2012-11-24 Updated the ping test to use the correct hostname.Steve Kemp
2012-11-24 Removed the trailing ".rb" from our 'require ...' lines.Steve Kemp
2012-11-23 Avoid the use of the shell - even after we've validated the hostname we're ↵Steve Kemp
going to use.
2012-11-23 Removed duplicate member-variables for subclasses.Steve Kemp
Allow test-inversion via "must not run".
2012-11-22 Parse the configuration file into arrays of jobs, via our test-factorySteve Kemp
2012-11-22 Whitespace updates.Steve Kemp
2012-11-22 Moved tests into a namespace.Steve Kemp
2012-11-22 Ping-test implemented.Steve Kemp