From: Kent B. <ken...@cs...> - 2001-10-21 18:06:59
|
It seems like we want a method that means "get the displayable name of this implementor of Test". getName() could be it, but it would change the semantics in TestCase. If we want to do this, we should first deprecate getName and define a new method (getDisplayName()?), then in the next release delete getName, then in the next release deprecate getDisplayName and rename it to getName, then in the next release delete getDisplayName. Or, we could just add getDisplayName (or some such) to Test and implement it in TestCase, TestSuite, and TestDecorator. I vote for the latter. I also hate the redundant "get", so I would call it displayName, but I'm willing to defer to the collective "wisdom" of the Java community on this one. Barely. Kent |