wt.introspection
Class WTIntrospectorVerify

java.lang.Object
  extended bywt.introspection.WTIntrospectorVerify

public class WTIntrospectorVerify
extends Object

WTIntrospectorTest is a test utility for the Introspection package.


  


Supported API: false

Extendable: false

See Also:
WTIntrospector, ClassInfo, LinkInfo, AttributeDescriptor

Field Summary
private  String classname
           
private static MappedRegistry modelRegistry
           
 
Constructor Summary
WTIntrospectorVerify()
           
 
Method Summary
 void executeApp(String classNames)
           
protected  void exerciseClassInfo(ClassInfo classInfo)
          Exercise the methods of the ClassInfo class.
protected  void exerciseLinkInfo(LinkInfo linkInfo)
          Exercise the methods of the LinkInfo class.
protected  void exerciseRoleInfo(RoleDescriptor role)
          Exercise the methods of the RoleDescriptor.
protected  void exerciseRoleInfos(RoleDescriptor[] roles)
          Exercise an array of RoleDescriptors.
static void main(String[] args)
           
protected  void processPackage(String pckg)
           
protected  void processRegistry()
           
static void propertySetup(String[] args)
           
 void report(String classNames, boolean ignoreProblems)
          Exercise the methods of the classes in the Introspector package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classname

private String classname

modelRegistry

private static MappedRegistry modelRegistry
Constructor Detail

WTIntrospectorVerify

public WTIntrospectorVerify()
Method Detail

executeApp

public void executeApp(String classNames)
                throws Exception
Throws:
Exception

exerciseClassInfo

protected void exerciseClassInfo(ClassInfo classInfo)
Exercise the methods of the ClassInfo class.

Parameters:
classInfo - is the ClassInfo instance to exercise

exerciseLinkInfo

protected void exerciseLinkInfo(LinkInfo linkInfo)
Exercise the methods of the LinkInfo class.

Parameters:
linkInfo - is the LinkInfo instance to exercise

exerciseRoleInfo

protected void exerciseRoleInfo(RoleDescriptor role)
Exercise the methods of the RoleDescriptor.

Parameters:
role - is role descriptor to exercise

exerciseRoleInfos

protected void exerciseRoleInfos(RoleDescriptor[] roles)
Exercise an array of RoleDescriptors.

Parameters:
roles - is array of descriptors to exercise

main

public static void main(String[] args)

processPackage

protected void processPackage(String pckg)

processRegistry

protected void processRegistry()

propertySetup

public static void propertySetup(String[] args)
                          throws Exception
Throws:
Exception

report

public void report(String classNames,
                   boolean ignoreProblems)
Exercise the methods of the classes in the Introspector package.

Parameters:
classNames - is a comma delimited list of fully qualified classnames to report on