summaryrefslogtreecommitdiff
path: root/t/test-custodian-testfactory.rb
AgeCommit message (Collapse)Author
2016-04-22Updated to fix the last remaining rubocop warnings.Steve Kemp
This involved silencing a few issues that were judged to be minor, and changing various whitespaces and function-calls. The most obvious example was changing this: assert(ret.kind_of? Array) To this: assert(ret.kind_of?(Array))
2016-04-21added tftp protocol testJames F. Carter
2015-07-29Loosen teh grammar on tcp-tests.Steve Kemp
In the past we needed to write: must run tcp on 3306. Now we can add the "port" to match the rest of the tests: must run tcp on port 3306.
2015-07-29Ensure that protocol-handlers are lower-case.Steve Kemp
This allows you to write the following (identical) tests: foo must run FTP. foo must run ftp. foo must run FtP. This is mostly a neatness update.
2015-07-29Test that we can parse an RDP-test.Steve Kemp
This will ensure that it uses the correct port.
2015-04-16Updated to cope with renamed API.Steve Kemp
Rather than having "inverted" we now name the test-method "inverted?" which is more ideomatic.
2015-03-09Removed trailing whitespace from the codeSteve Kemp
2015-03-09Remove spaces before commas.Steve Kemp
2015-03-09More minor space fixupsSteve Kemp
2015-03-09Whitespace fixups.Steve Kemp
These were all identified and suggested by rubocop.
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-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-02-18Updated to load the test-implementations more carefully.Steve Kemp
This fully explores the parsing and unparsing of the test-objects, with the exceptions of DNS, FTP, LDAP, and SSLCertificates.
2015-02-18Updated tests to pass with new API.Steve Kemp
The class-factory for instantiating tests now returns an array rather than a string.
2013-08-05 Ignore the dnsbl test.Steve Kemp
2013-02-25 Added port-guessing test.Steve Kemp
2013-02-13 Updated test-suite now a username/password is required for LDAPSteve Kemp
2012-12-07 The http/https alert is no longer special - allow it to be tested.Steve Kemp
2012-11-24 Test that each test-type returns the correct host.Steve Kemp
2012-11-24 Renamed 'custodian/protocoltest.rb' -> 'custodian/protocoltests.rb' to ↵Steve Kemp
match what we did with the alerts.
2012-11-24 The argument to our class factories must be a non-nil string.Steve Kemp
2012-11-24 Test that the type we guessed is the correct typeSteve Kemp
2012-11-24 Move the protocol-test includes into a single file to avoid duplication.Steve Kemp
2012-11-23 More DNS-tests.Steve Kemp
2012-11-23 Basic testing of the DNS-protocol tester.Steve Kemp
2012-11-23 Test that inverted() works for each protocol test we know about.Steve Kemp
2012-11-23 Allow the test-factory to return the known-test types, and then test ↵Steve Kemp
*each* of the with a simple constructed test.
2012-11-23 Removed duplicate member-variables for subclasses.Steve Kemp
Allow test-inversion via "must not run".
2012-11-23 Updated to allow the tests to be inverted via "must *not* run ..."Steve Kemp
2012-11-23 Test port-detectionSteve Kemp
2012-11-23 Renamed.Steve Kemp