PET: Partial Evaluation-based Test Case Generator for Bytecode

Target Class and its Dependencies


Class: SortedListInt

Dependencies:

PET Arguments

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

string(65) "javap -classpath ../../../../examples/heap -s SortedListInt 2>&1 " string(100) "Warning: File ../../../../examples/heap/SortedListInt.class does not contain class SortedListInt
" string(38) "Compiled from "SortedListInt.java"
" string(37) "public class heap.SortedListInt {
" array(4) { [0]=> string(28) "c class heap.SortedListInt {" [1]=> string(2) "c " ["name"]=> string(18) "heap.SortedListInt" [2]=> string(18) "heap.SortedListInt" } <init>()V
empty()Z
insert(I)V
reverse(Lheap/SortedListInt;)V
insertAll([I)V
merge(Lheap/SortedListInt;)V
mergeAll([Lheap/SortedListInt;)V
toString()Ljava/lang/String;
equals(Ljava/lang/Object;)Z
main([Ljava/lang/String;)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