I made some modifications in ClassFinder a couple of days ago(?) to look for inner
classes as well 'cos AllTests which uses jUnit to do tests uses it to look for classes
that extend TestCase.
However, this resulted in some inner classes being displayed in the JMeter gui, namely
the one under Listener submenu. I didn't realize that there were other inner classes.
Method findClassesThatExtend(Class[], boolean) is added to enable inner classes to be
searched if boolean is set to true. The original method findClassesThatExtend(Class[])
calls findClassesThatExtend(Class[], boolean) with boolean set to false so that inner
classes are not searched. This is also better 'cos no searching for unnecessary
classes.
The new ClassFinder is below. It's got log4j statements. Hope it's ok. If anyone
feels that putting log4j statements in there is not ok, please let me know and I'll
remove them before posting next time.
Thanks.
--
__________________________________________________
Get FREE 50 MB email @ http://www.AtoZasia.com
Powered by Outblaze
ClassFinder.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]