[root]/cdx/scorebot/net/tests/generic
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 24 (100.0%) | 334 (100.0%) | 13.9 |
genned | 2 (8.3%) | 162 (48.5%) | 81.0 |
dound | 17 (70.8%) | 113 (33.8%) | 6.6 |
veryoriginal | 2 (8.3%) | 50 (15.0%) | 25.0 |
rreagan3 | 3 (12.5%) | 9 (2.7%) | 3.0 |
fixed serialVersionUID visibility / constancy
6 lines of code changed in:
Added public long serialVersionUID = 102L; to all serializable classes.
8 lines of code changed in:
Options which don't require values are no longer forced to have values (sendmail->subject, sendmail->body, readfile->expected_value and integritycheck->expected_value).
3 lines of code changed in:
set the default timeout to 1000 ms
3 lines of code changed in:
Framework Change: Test now manages the service field. Also, setService has been added. Also, Test now takes a generic parameter which allows children to specify what kind of Service they require.
6 lines of code changed in:
oops, making the service final (i didn't need to change it in the first place)
3 lines of code changed in:
making the service not final
3 lines of code changed in:
Fixed up the tests packages. Change summary:
1) Method added which asks the Test to add the "default" results (to ensure all results are given a value!)
2) Option naming, usage, and verification fixed
3) MD5 class move to cdx.scorebot.util
4) IntegrityCheck class created to make it easy to do multiple kinds of verification including MD5, Regular Expressions/Pattern Matching, or nothing (i.e. just complete the retrieval).
5) Deleted unused packages -- mysql and vtc
6) Removed unused connect and disconnect methods
7) Updated the ReadFile class so that it can now verify what it retrieved instead of just retrieving the file.
8) Minor bug fixes in several files (really, just mismatched option and result names)
9) Replaced all usages of "details" result returns with setExplanation calls. Standardized these calls as well.
38 lines of code changed in:
Updated results
11 lines of code changed in:
An extension of Service for which isn't specific to any service. This may be used to hold tests which may apply to any service. Also, this allows one to test a service which isn't directly supported with any of the generic tests.
23 lines of code changed in:
TargetIP is now stored as a string. New methods get/setTargetInetAddress have been added to support the old get/setTargetIP which returned/took an InetAddress vice the new String type.
4 lines of code changed in:
Remove getName and getDescription methods. This static information will come from cdx.scorebot.app.util.ScoringInfo now.
2 lines of code changed in:
javadoc updates
3 lines of code changed in:
Changed the call to run so it uses the wrapper run method.
3 lines of code changed in:
Significant Change: results are now stored as Objects vice Strings. Only Double, Integer, String, and Boolean types should be used. This accomodates a more robust scoring language.
4 lines of code changed in:
Adjusted Method. Test.getDefaultConfigValues is now protected. A new public method Test.getDefaultConfigValueCopy returns a copy of what Test.getDefaultConfigValues returns.
The constructor for TestItem now initializes its options with the default values of options for the test being tested.
3 lines of code changed in:
1) All classes which store data now implement java.io.serializable so that we can serialize them to XML or binary format as needed.
3 lines of code changed in:
Implemented w/o exceptions handled well
39 lines of code changed in:
1) Class added. TestMisconfigurationException added -- used to potentially log and explain errors
2) Method signature changed. Test.verifyConfigValue(...) -- Now throws a TestMisconfigurationException instead of returning a string explaining the error.
5 lines of code changed in:
1) The abstract run method now has void for its return type. The results are being returned through the TestEvent passed in the argument list.
2) New Method: Test.getConfig( String optionName ) returns the value of the requested configuration option. This method was added for convenience.
2 lines of code changed in:
(1 more)