From: Daryl V. H. <dva...@sf...> - 2005-07-03 03:57:12
|
Hi, all, I've gotten a little tired of writing simple tests and putting them in separate methods inside a source file, having a list of commented out method calls in the main() method, and having to uncomment out the test I want which (of course) makes Eclipse think that it needs to be committed to the server. I have now added a test class (called MethodMenu) that can take the Class object from the that contains the test methods (which are static void and don't take any parameters), an array of strings that represent the method names in that class, and the names to show the user (which can be the same). This new class is under misc.*, not csimage, etc. so it looks like it's more global. As an example, I have rewritten csimage.developers.dvanhumb.ButtonTest using this new tool so that you can see how to use it. If you have any questions, please ask. Thanks, Daryl. -- Get Firefox! <http://www.spreadfirefox.com/?q=affiliates&id=106297&t=65> -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.323 / Virus Database: 267.8.8/37 - Release Date: 01/07/05 |