| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY_INIT |
List<Integer> |
captureIds |
static String |
COLLECTION_INIT |
List<String> |
descList |
static String |
EMPTY_DESC |
static String |
END_CAPTURE_PSEUDO_METHOD |
static String |
GETFIELD |
static String |
GETSTATIC |
List<Boolean> |
isStaticCallList |
static String |
MAP_INIT |
List<String> |
methodNames |
static Object[] |
NO_ARGS |
static int |
NO_DEPENDENCY |
static String |
NOT_OBSERVED_INIT |
List<Integer> |
objectIds |
static String |
OBSERVED_INIT |
List<Object[]> |
params
FIXME: this seems always containing Integer objects, representing either
null or an object identifier (oid).
|
static String |
PLAIN_INIT |
static int |
PSEUDO_CAPTURE_ID |
static String |
PUTFIELD |
static String |
PUTSTATIC |
static Object |
RETURN_TYPE_VOID |
List<Object> |
returnValues |
| Constructor and Description |
|---|
CaptureLog()
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
CaptureLog |
clone() |
int |
getDependencyOID(int oid) |
String |
getNameOfAccessedFields(int captureId) |
List<String> |
getObservedClasses() |
int |
getOID(int recordIndex) |
int |
getRecordIndex(int oid) |
int |
getRecordIndexOfWhereObjectWasInitializedFirst(int oid) |
List<Integer> |
getTargetOIDs(Set<String> observedClassNames) |
String |
getTypeName(int oid) |
void |
log(int captureId,
Object receiver,
String methodName,
String methodDesc,
Object... methodParams) |
void |
logEnd(int captureId,
Object receiver,
Object returnValue)
if there is an return value and the return value creation has not been
logged before (may happen, if, for example, the constructor is private),
save the information that the value comes from a finished method call
|
String |
toString() |
void |
updateWhereObjectWasInitializedFirst(int oid,
int recordIndex) |
public static final Object[] NO_ARGS
public static final String OBSERVED_INIT
public static final String PLAIN_INIT
public static final String COLLECTION_INIT
public static final String MAP_INIT
public static final String ARRAY_INIT
public static final String NOT_OBSERVED_INIT
public static final String END_CAPTURE_PSEUDO_METHOD
public static final int PSEUDO_CAPTURE_ID
public static final String EMPTY_DESC
public static final int NO_DEPENDENCY
public static final String PUTFIELD
public static final String PUTSTATIC
public static final String GETFIELD
public static final String GETSTATIC
public static final Object RETURN_TYPE_VOID
public final List<Object[]> params
public String getNameOfAccessedFields(int captureId)
public int getDependencyOID(int oid)
public String getTypeName(int oid) throws IllegalArgumentException
IllegalArgumentExceptionpublic int getRecordIndex(int oid)
public int getOID(int recordIndex)
public int getRecordIndexOfWhereObjectWasInitializedFirst(int oid)
throws IllegalArgumentException
IllegalArgumentExceptionpublic void updateWhereObjectWasInitializedFirst(int oid,
int recordIndex)
throws IllegalArgumentException
IllegalArgumentExceptionpublic CaptureLog clone()
public void clear()
public void logEnd(int captureId,
Object receiver,
Object returnValue)
captureId - receiver - returnValue - public void log(int captureId,
Object receiver,
String methodName,
String methodDesc,
Object... methodParams)
Copyright © 2010–2017 EvoSuite. All rights reserved.