|
JET | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Denotable | |
|---|---|
| edu.utep.cs.jet.rat | Contains the source code to automatically test methods and constructors by generating test cases randomly. |
| edu.utep.cs.jet.rat.gen | Contains the source code for generating various types of Java values randomly. |
| edu.utep.cs.jet.rat.val | Contains the source code for classes representing various types of Java values. |
| Uses of Denotable in edu.utep.cs.jet.rat |
|---|
| Methods in edu.utep.cs.jet.rat that return Denotable | |
|---|---|
Denotable[] |
TestCase.arguments()
Returns the arguments. |
Denotable |
ValueFactory.createArrayValue(Class<?> type,
Denotable[] elems)
Creates an array value. |
Denotable |
ValueFactory.createBooleanValue(boolean val)
Creates a boolean value. |
Denotable |
ValueFactory.createByteValue(byte val)
Creates a byte value. |
Denotable |
ValueFactory.createCharValue(char val)
Creates a char value. |
Denotable |
ValueFactory.createConstructorCall(Constructor<?> con,
Denotable[] args)
Creates a constructor-call value. |
Denotable |
ValueFactory.createDoubleValue(double val)
Creates a double value. |
Denotable |
ValueFactory.createFloatValue(float val)
Creates a float value. |
Denotable |
ValueFactory.createIntValue(int val)
Creates an int value. |
Denotable |
ValueFactory.createLongValue(long val)
Creates a long value. |
Denotable |
ValueFactory.createMethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a method-call value. |
Denotable |
ValueFactory.createNullValue(Class<?> type)
Creates a null value of the given type. |
Denotable |
ValueFactory.createShortValue(short val)
Creates a short value. |
Denotable |
ValueFactory.createStringValue(String val)
Creates a string value. |
Denotable |
ValueGenerator.generate(Class<?> type,
Context ctx,
int maxHeight)
Generates a new value of the given type under the given testing context. |
Denotable |
TestCase.receiver()
Returns the receiver. |
| Methods in edu.utep.cs.jet.rat with parameters of type Denotable | |
|---|---|
Denotable |
ValueFactory.createArrayValue(Class<?> type,
Denotable[] elems)
Creates an array value. |
Denotable |
ValueFactory.createConstructorCall(Constructor<?> con,
Denotable[] args)
Creates a constructor-call value. |
Denotable |
ValueFactory.createMethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a method-call value. |
Denotable |
ValueFactory.createMethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a method-call value. |
boolean |
Denotable.isEquivalentTo(Denotable other)
Returns true if the represented value is equivalent to the argument's represented value. |
| Constructors in edu.utep.cs.jet.rat with parameters of type Denotable | |
|---|---|
TestCase(Denotable receiver,
Denotable[] args)
Creates a new test case consisting of the given receiver and arguments. |
|
TestCase(Denotable receiver,
Denotable[] args)
Creates a new test case consisting of the given receiver and arguments. |
|
| Uses of Denotable in edu.utep.cs.jet.rat.gen |
|---|
| Methods in edu.utep.cs.jet.rat.gen that return Denotable | |
|---|---|
protected Denotable |
IncrementalClassValueGenerator.construct(int maxHeight)
Constructs an instance of the target class. |
protected Denotable |
ClassValueGenerator.construct(int maxHeight)
Constructs and returns an instance of the target class. |
protected Denotable |
ClassValueGenerator.createNullValue()
Creates a null value. |
Denotable |
SimpleValueGenerator.generate(Class<?> type,
Context ctx,
int maxHeight)
Generates a new value of the given type under the given testing context. |
Denotable |
IncrementalClassValueGenerator.generate(Class<?> type,
Context ctx,
int maxHeight)
Generates a value of the given class type under the given testing context. |
Denotable |
ClassValueGenerator.generate(Class<?> type,
Context ctx,
int maxHeight)
Generates a value of the given class type under the given testing context. |
protected Denotable[] |
ClassValueGenerator.generateArguments(Class<?>[] types,
int maxHeight)
Generates arguments of the given types. |
protected Denotable |
IncrementalClassValueGenerator.mutate(Denotable value,
double rate,
boolean mutated,
int maxHeight)
Mutates the given value by calling a sequence of mutators. |
protected Denotable |
ClassValueGenerator.mutate(Denotable value,
double rate,
boolean mutated,
int maxHeight)
Mutates the given value by calling a sequence of mutators. |
protected Denotable |
ClassValueGenerator.simpleMutate(Denotable value,
int maxHeight)
Mutates the given value by calling one of its mutator methods. |
| Methods in edu.utep.cs.jet.rat.gen with parameters of type Denotable | |
|---|---|
protected boolean |
IncrementalClassValueGenerator.canConstruct(Denotable value)
Returns true if the given value can actually be built. |
protected Denotable |
IncrementalClassValueGenerator.mutate(Denotable value,
double rate,
boolean mutated,
int maxHeight)
Mutates the given value by calling a sequence of mutators. |
protected Denotable |
ClassValueGenerator.mutate(Denotable value,
double rate,
boolean mutated,
int maxHeight)
Mutates the given value by calling a sequence of mutators. |
protected Denotable |
ClassValueGenerator.simpleMutate(Denotable value,
int maxHeight)
Mutates the given value by calling one of its mutator methods. |
| Uses of Denotable in edu.utep.cs.jet.rat.val |
|---|
| Classes in edu.utep.cs.jet.rat.val that implement Denotable | |
|---|---|
class |
ArrayValue
A class to represent an array value. |
class |
BooleanValue
A class to represent a boolean value. |
class |
ByteValue
A class to represent a byte value. |
class |
CharValue
A class to represent a char value. |
class |
CompositeValue
A class to represent an array value. |
class |
ConstructorCall
A class to represent a constructor call. |
class |
DoubleValue
A class to represent a double value. |
class |
FloatValue
A class to represent a float value. |
class |
IntValue
A class to represent a int value. |
class |
LongValue
A class to represent a long value. |
class |
MethodCall
A class to represent a method call. |
class |
NullValue
A class to represent the null value. |
class |
PrimitiveValue
An abstract class to denote various primitive values. |
class |
ShortValue
A class to represent a short value. |
class |
StringValue
A class to represent a String value. |
| Methods in edu.utep.cs.jet.rat.val that return Denotable | |
|---|---|
Denotable |
SimpleValueFactory.createArrayValue(Class<?> type,
Denotable[] elems)
Creates an array value. |
Denotable |
SimpleValueFactory.createBooleanValue(boolean val)
Creates a boolean value. |
Denotable |
SimpleValueFactory.createByteValue(byte val)
Creates a byte value. |
Denotable |
SimpleValueFactory.createCharValue(char val)
Creates a char value. |
Denotable |
SimpleValueFactory.createConstructorCall(Constructor<?> con,
Denotable[] args)
Creates a constructor-call value. |
Denotable |
SimpleValueFactory.createDoubleValue(double val)
Creates a double value. |
Denotable |
SimpleValueFactory.createFloatValue(float val)
Creates a float value. |
Denotable |
SimpleValueFactory.createIntValue(int val)
Creates an int value. |
Denotable |
SimpleValueFactory.createLongValue(long val)
Creates a long value. |
Denotable |
SimpleValueFactory.createMethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a method-call value. |
Denotable |
SimpleValueFactory.createNullValue(Class<?> type)
Creates a null value of the given type. |
Denotable |
SimpleValueFactory.createShortValue(short val)
Creates a short value. |
Denotable |
SimpleValueFactory.createStringValue(String val)
Creates a string value. |
Denotable[] |
CompositeValue.elems()
Returns the component values. |
Denotable |
MethodCall.getReceiver()
Returns the receiver object of the method call |
| Methods in edu.utep.cs.jet.rat.val with parameters of type Denotable | |
|---|---|
static void |
ArrayValue.assign(Object array,
int i,
Denotable elem)
Retrieves the Java value represented by the given Denotable, elem, and assigns it to the i-th element of the
given array, array. |
Denotable |
SimpleValueFactory.createArrayValue(Class<?> type,
Denotable[] elems)
Creates an array value. |
Denotable |
SimpleValueFactory.createConstructorCall(Constructor<?> con,
Denotable[] args)
Creates a constructor-call value. |
Denotable |
SimpleValueFactory.createMethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a method-call value. |
Denotable |
SimpleValueFactory.createMethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a method-call value. |
boolean |
PrimitiveValue.isEquivalentTo(Denotable another)
Returns true if the represented value is equal (==) to the argument's represented value. |
boolean |
NullValue.isEquivalentTo(Denotable another)
Returns true if the represented value is equal (==) to the argument's represented value. |
boolean |
MethodCall.isEquivalentTo(Denotable other)
Returns true if the represented value is equivalent to the argument's represented value. |
boolean |
ConstructorCall.isEquivalentTo(Denotable other)
Returns true if the represented value is equivalent to the argument's represented value. |
boolean |
CompositeValue.isEquivalentTo(Denotable other)
Returns true if the represented value is equivalent to the argument's represented value. |
| Constructors in edu.utep.cs.jet.rat.val with parameters of type Denotable | |
|---|---|
ArrayValue(Class<?> type,
Denotable[] elems)
Creates an array of the given type and elements. |
|
CompositeValue(Class<?> type,
Denotable[] elems)
Creates a composite value of the given type and elements. |
|
ConstructorCall(Constructor<?> con,
Denotable[] args)
Creates a new instance with the given constructor and arguments. |
|
MethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a new instance with the given constructor and arguments. |
|
MethodCall(Class<?> type,
Method meth,
Denotable receiver,
Denotable[] args)
Creates a new instance with the given constructor and arguments. |
|
|
JET | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||