Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-16 | Updated to use types for test-returns. | Steve Kemp | |
This commit introduces a major change in custodian. In the past any test had either two results: * return false - The test failed. * return true - The test passed. We're now using an enum, more or less, such that a test may return a "skipped" result which will neither raise nor clear any alert(s). This is useful in its own right but is being introduced specifically to allow SSL-certificate tests to avoid raising and clearing outside working days/hours. This closes #10328. This fixes #10328. | |||
2015-03-09 | Removed trailing whitespace from the code | Steve Kemp | |
2015-03-09 | Remove spaces inside empty hashes | Steve Kemp | |
2015-03-09 | Use def with parentheses when there are parameters. | Steve Kemp | |
2015-03-09 | Removed spaces inside parenthesis. | Steve Kemp | |
2015-03-09 | Prefer single-quotes when you don't need interpolation. | Steve Kemp | |
So "foo" is less good than 'foo'. | |||
2015-03-09 | Don't use parenthesis aroudn conditions in an if. | Steve Kemp | |
2015-03-09 | Avoid "Array.new" and "Hash.new" | Steve Kemp | |
Instead use {} + (). | |||
2015-03-02 | Explicitly abort on unknown test-types | Steve Kemp | |
2015-02-18 | Minor commenting/whitespace fixups. | Steve Kemp | |
No functional changes. | |||
2015-02-17 | Allow multiple handlers to register themselves for | Steve Kemp | |
a given input-line. | |||
2012-11-25 | Parse the "otherwise 'xxxx'." part of the tests. | Steve Kemp | |
2012-11-24 | The argument to our class factories must be a non-nil string. | Steve Kemp | |
2012-11-24 | Added test_type() to return the name this class was registered with. | Steve Kemp | |
2012-11-24 | Quote the test-type if we fail to create one. | 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-22 | Removed JSON-decoding. | Steve Kemp | |
2012-11-22 | Updated comments. Added 'port' | Steve Kemp | |
2012-11-22 | Add accessfor for target | Steve Kemp | |
2012-11-22 | Whitespace updates. | Steve Kemp | |
2012-11-22 | Moved TestFactory to the custodian-namespace. | Steve Kemp | |
2012-11-22 | Renamed | Steve Kemp | |
--HG-- rename : lib/custodian/protocoltest.rb => lib/custodian/testfactory.rb |