public class EnumeratedPropertyTest extends AbstractPropertyDescriptorTester
allChars, alphaChars, alphaNumericChars, digitChars, punctuationChars, typeName, whitespaceChars
Constructor and Description |
---|
EnumeratedPropertyTest() |
Modifier and Type | Method and Description |
---|---|
protected PropertyDescriptor |
createBadProperty(boolean multiValue)
Method createBadProperty.
|
protected Object |
createBadValue(int count)
Returns a (count) number of values that are not in the set of legal
values.
|
protected PropertyDescriptor |
createProperty(boolean multiValue)
Method createProperty.
|
protected Object |
createValue(int count)
Method createValue.
|
void |
testFactoryMultiValueCustomDelimiter() |
void |
testFactoryMultiValueDefaultDelimiter() |
void |
testFactorySingleValue() |
filter, getMultiFactory, getSingleFactory, randomBool, randomChar, randomChoice, randomDouble, randomFloat, randomInt, randomInt, randomString, testAsDelimitedString, testConstructors, testErrorFor, testErrorForBad, testType, testValueFrom
protected Object createValue(int count)
createValue
in class AbstractPropertyDescriptorTester
count
- intprotected Object createBadValue(int count)
createBadValue
in class AbstractPropertyDescriptorTester
count
- intprotected PropertyDescriptor createProperty(boolean multiValue)
createProperty
in class AbstractPropertyDescriptorTester
multiValue
- booleanprotected PropertyDescriptor createBadProperty(boolean multiValue)
createBadProperty
in class AbstractPropertyDescriptorTester
multiValue
- booleanpublic void testFactorySingleValue()
testFactorySingleValue
in class AbstractPropertyDescriptorTester
public void testFactoryMultiValueCustomDelimiter()
testFactoryMultiValueCustomDelimiter
in class AbstractPropertyDescriptorTester
public void testFactoryMultiValueDefaultDelimiter()
testFactoryMultiValueDefaultDelimiter
in class AbstractPropertyDescriptorTester
Copyright © 2002–2016 InfoEther. All rights reserved.