summaryrefslogtreecommitdiff
path: root/t
AgeCommit message (Collapse)Author
2013-06-24Avoid using a bogus timeperiod.Steve Kemp
Our utility class for parsing time-spans uses 00-23, rather than 00-24. Update the use of the time-period to avoid the bogus "24 hour".
2013-06-24Updated the tests to ensure the "current hour" is valid.Steve Kemp
This means testing values outside the range of 0-23 (inclusive). We did this already for the start & end times. This updates #4451.
2013-06-24 Added Custodian::Util::TimeSpanSteve Kemp
This class is used to determine whether an "hour" is within a given hour-span. e.g. To cope with: foo must run ping except between 04-06 otherwise 'alert'. This updates issue #4551.
2013-06-24 Updated the expected records now Steve's domain has moved.Steve Kemp
2013-05-15 Updated to test types of integer values.Steve Kemp
2013-04-23 Updated the parser to allow the test to specify whether HTTP-redirectsSteve Kemp
are followed. Added test-cases to match.
2013-02-25 Added port-guessing test.Steve Kemp
2013-02-25 Loading mauve/redis is optional. The test suite will skip them if notSteve Kemp
present.
2013-02-19 Period definitions for tests.release-0.9-6Steve Kemp
For example: example.vm must run ping between 09-17 otherwise 'daytime ping failed'.
2013-02-13 Updated.Steve Kemp
2013-02-13 Added test code.Steve Kemp
2013-02-13 Updated test-suite now a username/password is required for LDAPSteve Kemp
2013-01-14 Test we get an error on non-strings.Steve Kemp
2012-12-31 Added trivial redis tests.Steve Kemp
2012-12-20 Added test-case for HTTP protocol matching against URI schemeSteve Kemp
2012-12-12 Added simple is-singleton test.Steve Kemp
2012-12-10 Ensure we raise an exception if we're trying to resolve an unknown ↵Steve Kemp
record-type. Added test-case too.
2012-12-07 The http/https alert is no longer special - allow it to be tested.Steve Kemp
2012-12-07 When reporting on failure-types the HTTP/HTTPS test is often reported ↵Steve Kemp
incorrectly. Fixed this now, based on the URL and added a test case.
2012-11-26 test the redis module tooSteve Kemp
2012-11-25 Parse the "otherwise 'xxxx'." part of the tests.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. --HG-- rename : lib/custodian/protocoltest.rb => lib/custodian/protocoltests.rb
2012-11-24 The argument to our class factories must be a non-nil string.Steve Kemp
2012-11-24 Added new alert-type, to merely write to a file.Steve Kemp
2012-11-24 Ensure that our alert-modules implement both raise + clearSteve Kemp
2012-11-24 Test that the type we guessed is the correct typeSteve Kemp
2012-11-24 Use the new get_type method to simplify the test-logic.Steve Kemp
2012-11-24 Initial/stub implementation of a factory for generating alerting objects.Steve Kemp
2012-11-24 Move the protocol-test includes into a single file to avoid duplication.Steve Kemp
2012-11-23 Test that macro-expansion works correctlySteve Kemp
2012-11-23 More DNS-tests.Steve Kemp
2012-11-23 Basic testing of the DNS-protocol tester.Steve Kemp
2012-11-23 Updated test-cases to cover different parsing routes.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 Removed the test-cases for our alerter module. A) it will be reworked, B) ↵Steve Kemp
it is named wrongly
2012-11-23 Moved the code to detect whether an IP-address is inside/outside the ↵Steve Kemp
Bytemark range into its own class & added _simple_ test-cases.
2012-11-23 Test port-detectionSteve Kemp
2012-11-23 Renamed.Steve Kemp
--HG-- rename : t/test-factory.rb => t/test-custodian-testfactory.rb
2012-11-23 Removed.Steve Kemp
2012-11-23 Updated.Steve Kemp
2012-11-23 Simple test-cases.Steve Kemp
2012-11-23 Renamed.Steve Kemp
--HG-- rename : t/test-dnsutil.rb => t/test-custodian-util-dns.rb
2012-11-23 Removed the old test cases and added new ones.:wqSteve Kemp
2012-11-22 Commented out tests that need work to complete.Steve Kemp
2012-11-22 "ftp://ftp.example.com/ must run ftp" + "rsync://...../" are now both ↵Steve Kemp
permitted.
2012-11-22 Parse the configuration file into arrays of jobs, via our test-factorySteve Kemp