ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Subverting Java Access Protection for Unit Testing
Subject:   PrivateAccessor as a subclass
Date:   2003-11-13 12:13:46
From:   anonymous2
Mark -- I was originally planning on making PrivateAccessor a subclass of TestCase, but decided in the end that it is better being a fairly standalone class, in case someone is already using a subclass of TestCase.


Oh, and I originally sent the article to dW as I've written to them before. The turn around was very quick once the onjava editor, Daniel, had returned (I believe) from travelling. When contact was made there was about a week (maybe less) between my pre-first draft and the article appearing online, which is good.


Ross