FileDocCategorySizeDatePackage
AOPTester.javaAPI DocJBoss 4.2.12240Fri Jul 13 21:02:24 BST 2007org.jboss.test.aop.classinfopool

AOPTester

public class AOPTester extends TestCase
author
Bill Burke
version
$Revision: 57186 $

Fields Summary
Constructors Summary
public AOPTester(String name)

      super(name);
   
Methods Summary
public static voidmain(java.lang.String[] args)

      TestRunner.run(suite());
   
public static junit.framework.Testsuite()

      TestSuite suite = new TestSuite("AOPTester");
      suite.addTestSuite(AOPTester.class);
      return suite;
   
public voidtestClassInfoPool()

      ClassInfoPool pool = ClassInfoPool.getPool(Thread.currentThread().getContextClassLoader());
      ClassInfo ci = pool.getClassInfo("java.awt.BorderLayout");
      MethodInfo[] methods = ci.getDeclaredMethods();
      for (int i = 0; i < methods.length; i++)
      {
         System.out.println(methods[i].getName());
      }