PET: Partial Evaluation-based Test Case Generator for Bytecode

Target Class and its Dependencies


Class: DNode

Dependencies:

PET Arguments

a) Choose the method to generate test-cases for:

string(71) "javap -classpath ../../../../examples/net/datastructures -s DNode 2>&1 " string(98) "Warning: File ../../../../examples/net/datastructures/DNode.class does not contain class DNode
" string(30) "Compiled from "DNode.java"
" string(82) "public class net.datastructures.DNode implements net.datastructures.Position {
" array(4) { [0]=> string(73) "c class net.datastructures.DNode implements net.datastructures.Position {" [1]=> string(2) "c " ["name"]=> string(63) "net.datastructures.DNode implements net.datastructures.Position" [2]=> string(63) "net.datastructures.DNode implements net.datastructures.Position" } <init>(Lnet/datastructures/DNode;Lnet/datastructures/DNode;Ljava/lang/Object;)V
element()Ljava/lang/Object;
getNext()Lnet/datastructures/DNode;
getPrev()Lnet/datastructures/DNode;
setNext(Lnet/datastructures/DNode;)V
setPrev(Lnet/datastructures/DNode;)V
setElement(Ljava/lang/Object;)V

b) Coverage criterion: Block-k: Depth-k:

c) Get numeric test-cases or path-constraints: Path-constraints Numeric (In this case a range must be especified in step d)

d) Specify the range of integers to take data from: None Range: ..

e) Labeling strategy (see the SWI-Prolog CLPFD library) : ff    leftmost    min    max   

f) References aliasing: Don't alias    Might alias    CLP Heap Solver

g) Verbosity level: 1   2   3

h) Generate JUnit test:    Type: no   minimum complete   Use reflection: no yes

i) Tracing: no   statements   blocks

j) Check code coverage: no   yes

l) Compositional TDG: no   yes