public class InterfaceReport extends Object
| Constructor and Description |
|---|
InterfaceReport(String[] packages,
ClassFilter filter,
ClassLoader classLoader)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ClassFilter |
getClassFilter()
Get the filter
|
List<Throwable> |
getErrors()
Get the set of errors encountered when discovering contract tests.
|
Collection<InterfaceInfo> |
getInterfaceInfoCollection() |
Collection<Class<?>> |
getPackageClasses() |
Set<Class<?>> |
getUnImplementedTests()
Search for classes that extend interfaces with contract tests but that
don't have an implementation of the test producer.
|
Set<Class<?>> |
getUntestedInterfaces()
get a set of interfaces that do not have contract tests defined.
|
static void |
main(String[] args)
Run the interface report generation.
|
public InterfaceReport(String[] packages, ClassFilter filter, ClassLoader classLoader) throws MalformedURLException
packages - The list of packages to process.skipClasses - the list of classes to skip.classLoader - the class loader to use.MalformedURLExceptionpublic Collection<InterfaceInfo> getInterfaceInfoCollection()
public Collection<Class<?>> getPackageClasses()
public List<Throwable> getErrors()
public Set<Class<?>> getUntestedInterfaces()
public Set<Class<?>> getUnImplementedTests()
public ClassFilter getClassFilter()
public static void main(String[] args) throws org.apache.commons.cli.ParseException, MalformedURLException, IllegalArgumentException, IllegalAccessException, NoSuchFieldException, SecurityException, InstantiationException, InvocationTargetException, NoSuchMethodException, ClassNotFoundException
args - the command line arguments.org.apache.commons.cli.ParseExceptionMalformedURLExceptionClassNotFoundExceptionNoSuchMethodExceptionInvocationTargetExceptionInstantiationExceptionSecurityExceptionNoSuchFieldExceptionIllegalAccessExceptionIllegalArgumentExceptionCopyright © 2013-2015 XENEI.com. All Rights Reserved.