[root]/cdx/scorebot/net/tests/mysql
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 29 (100.0%) | 139 (100.0%) | 4.7 |
genned | 5 (17.2%) | 87 (62.6%) | 17.4 |
dound | 24 (82.8%) | 52 (37.4%) | 2.1 |
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.
0 lines of code changed in:
Remove getName and getDescription methods. This static information will come from cdx.scorebot.app.util.ScoringInfo now.
8 lines of code changed in:
javadoc updates
12 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.
6 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.
12 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.
10 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.
4 lines of code changed in:
Initial revision
87 lines of code changed in: