LWN.net Logo

Subverting Java Access Protection for Unit Testing (O'ReillyNet)

O'Reilly has published an article on Java unit testing. "Ross Burton describes how to use reflection to subvert Java class-member access protection to improve unit testing, by accessing private and protected members as required."
(Log in to post comments)

Copyright © 2003, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds