Fight Complexity with Complexity
Fight Complexity with Complexity
Submitted by Kevin Lawrence on Tue, 09/03/2004 - 02:17.We were using method and class and package names as keys to the various data structures that store test results and coverage data. Agitator told us that if you pass the string "123%%^*abc" to a method that expects a class name, it throws an IllegalArgumentException. "Well, duh!" we said and marked it expected. We added a factory to generate a variety of good and bad class names and got on with the task at hand.
