net.sf.jour.signature
Class APICompare
java.lang.Object
net.sf.jour.signature.APICompare
public class APICompare
- extends java.lang.Object
- Author:
- vlads
Method Summary |
boolean |
assertEquals(java.lang.String message,
boolean expected,
boolean actual)
|
boolean |
assertEquals(java.lang.String message,
int expected,
int actual)
|
boolean |
assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
|
boolean |
assertFalse(java.lang.String message,
boolean condition)
|
boolean |
assertNotNull(java.lang.String message,
java.lang.Object object)
|
boolean |
assertNull(java.lang.String message,
java.lang.Object object)
|
boolean |
assertTrue(java.lang.String message,
boolean condition)
|
static void |
compare(javassist.CtClass refClass,
javassist.CtClass implClass)
|
static void |
compare(java.lang.String classpath,
java.lang.String signatureFileName,
APICompareConfig config,
boolean useSystemClassPath,
java.lang.String supportingJars)
|
java.util.List |
compareClasses(javassist.CtClass refClass,
javassist.CtClass implClass)
|
void |
fail(java.lang.String message)
|
java.util.Iterator |
getChangesChanges()
|
java.util.Iterator |
getChangesExtra()
|
java.util.Iterator |
getChangesMissing()
|
static long |
getClassesCount()
|
static java.util.List |
listChanges(java.lang.String classpath,
java.lang.String signatureFileName,
APICompareConfig config,
boolean useSystemClassPath,
java.lang.String supportingJars)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APICompare
public APICompare()
compare
public static void compare(java.lang.String classpath,
java.lang.String signatureFileName,
APICompareConfig config,
boolean useSystemClassPath,
java.lang.String supportingJars)
throws ChangeDetectedException
- Throws:
ChangeDetectedException
listChanges
public static java.util.List listChanges(java.lang.String classpath,
java.lang.String signatureFileName,
APICompareConfig config,
boolean useSystemClassPath,
java.lang.String supportingJars)
getClassesCount
public static long getClassesCount()
compare
public static void compare(javassist.CtClass refClass,
javassist.CtClass implClass)
throws ChangeDetectedException
- Throws:
ChangeDetectedException
getChangesMissing
public java.util.Iterator getChangesMissing()
getChangesExtra
public java.util.Iterator getChangesExtra()
getChangesChanges
public java.util.Iterator getChangesChanges()
compareClasses
public java.util.List compareClasses(javassist.CtClass refClass,
javassist.CtClass implClass)
throws javassist.NotFoundException
- Throws:
javassist.NotFoundException
fail
public void fail(java.lang.String message)
assertTrue
public boolean assertTrue(java.lang.String message,
boolean condition)
assertFalse
public boolean assertFalse(java.lang.String message,
boolean condition)
assertNull
public boolean assertNull(java.lang.String message,
java.lang.Object object)
assertNotNull
public boolean assertNotNull(java.lang.String message,
java.lang.Object object)
assertEquals
public boolean assertEquals(java.lang.String message,
int expected,
int actual)
assertEquals
public boolean assertEquals(java.lang.String message,
boolean expected,
boolean actual)
assertEquals
public boolean assertEquals(java.lang.String message,
java.lang.Object expected,
java.lang.Object actual)
Copyright © 2004-2008 pyx4j.com. All Rights Reserved.