public class MethodPropertyTest extends AbstractPropertyDescriptorTester
allChars, alphaChars, alphaNumericChars, digitChars, punctuationChars, whitespaceChars
Constructor and Description |
---|
MethodPropertyTest () |
Modifier and Type | Method and Description |
---|---|
protected PropertyDescriptor |
createBadProperty (boolean multiValue)
Attempt to create a property with faulty configuration values.
|
protected Object |
createBadValue (int count)
Return a value(s) that is known to be faulty per the general scope of the descriptor.
|
protected PropertyDescriptor |
createProperty (boolean multiValue)
Creates and returns a properly configured property descriptor.
|
protected Object |
createValue (int count)
Return a legal value(s) per the general scope of the descriptor.
|
static junit.framework.Test |
suite () |
void |
testAsMethodOn () |
void |
testAsStringOn () |
filter, randomBool, randomChar, randomChoice, randomDouble, randomFloat, randomInt, randomInt, randomString, testAsDelimitedString, testConstructors, testErrorFor, testErrorForBad, testType, testValueFrom
public MethodPropertyTest()
public void testAsStringOn()
public void testAsMethodOn()
protected PropertyDescriptor createBadProperty(boolean multiValue)
AbstractPropertyDescriptorTester
createBadProperty
in class AbstractPropertyDescriptorTester
multiValue
- booleanprotected Object createBadValue(int count)
AbstractPropertyDescriptorTester
createBadValue
in class AbstractPropertyDescriptorTester
count
- intprotected PropertyDescriptor createProperty(boolean multiValue)
AbstractPropertyDescriptorTester
createProperty
in class AbstractPropertyDescriptorTester
multiValue
- booleanprotected Object createValue(int count)
AbstractPropertyDescriptorTester
createValue
in class AbstractPropertyDescriptorTester
count
- intpublic static junit.framework.Test suite()
Copyright © 2002-2014 InfoEther. All Rights Reserved.