public class ImmutableStringPrimitiveStatement extends StringPrimitiveStatement
AbstractStatement.Executervalueassertions, comment, logger, retval, tc| Constructor and Description |
|---|
ImmutableStringPrimitiveStatement(TestCase tc,
String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
delta()
Add a random delta to the value
|
void |
increment()
increment
|
boolean |
mutate(TestCase test,
TestFactory factory)
mutate
|
void |
negate()
negate
|
void |
randomize()
Set to a random value
|
void |
setValue(String val)
Set the value
|
execute, zerochangeClassLoader, copy, equals, getAccessibleObject, getPrimitiveStatement, getPrimitiveStatement, getRandomStatement, getUniqueVariableReferences, getValue, getVariableReferences, hashCode, hasMoreThanOneValue, isAssignmentStatement, replace, same, 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, references, removeAssertion, removeAssertions, setAssertions, setRetvalpublic boolean mutate(TestCase test, TestFactory factory)
PrimitiveStatementmutate
mutate in interface Statementmutate in class PrimitiveStatement<String>test - a TestCase object.factory - a TestFactory object.public void delta()
StringPrimitiveStatementdelta in class StringPrimitiveStatementpublic void increment()
StringPrimitiveStatementincrement
increment in class StringPrimitiveStatementpublic void negate()
AbstractStatementnegate
negate in class AbstractStatementpublic void randomize()
StringPrimitiveStatementrandomize in class StringPrimitiveStatementpublic void setValue(String val)
PrimitiveStatementsetValue in class PrimitiveStatement<String>val - a T object.Copyright © 2010–2017 EvoSuite. All rights reserved.