...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
// Recursive helper method - always called with a lock on this. private int find(Object key, Object[] arr, int start, int len) { assert Thread.holdsLock(this); // lock-status assertion ... } |
Info | ||
---|---|---|
| ||
Al in all, I really do feel that you would be better of writing unit tests using something like JUnit and NUnit, and writing Acceptance level tests using something like fitnesse. |