public class CharPrimitiveStatement extends NumericalPrimitiveStatement<Character>
CharPrimitiveStatement class.
AbstractStatement.Executervalueassertions, comment, logger, retval, tc| Constructor and Description |
|---|
CharPrimitiveStatement(TestCase tc)
Constructor for CharPrimitiveStatement.
|
CharPrimitiveStatement(TestCase tc,
Character value)
Constructor for CharPrimitiveStatement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decrement()
Decrease value by smallest possible increment
|
void |
delta()
Add a random delta to the value
|
void |
increment()
Increase value by smallest possible increment
|
void |
increment(long delta)
Change value by delta
|
boolean |
isPositive()
Is the value >= 0?
|
void |
randomize()
Set to a random value
|
void |
setMid(Character min,
Character max)
Needed for binary search
|
void |
zero()
Reset value to default value 0
|
incrementchangeClassLoader, copy, equals, execute, getAccessibleObject, getPrimitiveStatement, getPrimitiveStatement, getRandomStatement, getUniqueVariableReferences, getValue, getVariableReferences, hashCode, hasMoreThanOneValue, isAssignmentStatement, mutate, replace, same, setValue, toStringaddAssertion, addComment, clone, clone, copyAssertions, exceptionHandler, getAssertionCode, getAssertionReferences, getAssertions, getCode, getCode, getComment, getDeclaredExceptions, getExceptionClass, getNumParameters, getPosition, getReturnClass, getReturnType, getReturnValue, getTestCase, hasAssertions, isAccessible, isDeclaredException, isReflectionStatement, isValid, negate, references, removeAssertion, removeAssertions, setAssertions, setRetvalpublic CharPrimitiveStatement(TestCase tc, Character value)
Constructor for CharPrimitiveStatement.
public void zero()
zero in class PrimitiveStatement<Character>public void delta()
delta in class PrimitiveStatement<Character>public void increment(long delta)
increment in class NumericalPrimitiveStatement<Character>delta - a long.public void randomize()
randomize in class PrimitiveStatement<Character>public void increment()
increment in class NumericalPrimitiveStatement<Character>public void setMid(Character min, Character max)
setMid in class NumericalPrimitiveStatement<Character>min - a T object.max - a T object.public void decrement()
decrement in class NumericalPrimitiveStatement<Character>public boolean isPositive()
isPositive in class NumericalPrimitiveStatement<Character>Copyright © 2010–2017 EvoSuite. All rights reserved.