net.sourceforge.pmd.properties
Class BooleanPropertyTest
java.lang.Object
net.sourceforge.pmd.properties.AbstractPropertyDescriptorTester
net.sourceforge.pmd.properties.BooleanPropertyTest
public class BooleanPropertyTest
- extends AbstractPropertyDescriptorTester
- Author:
- Brian Remedios
Methods inherited from class net.sourceforge.pmd.properties.AbstractPropertyDescriptorTester |
filter, getMultiFactory, getSingleFactory, randomBool, randomChar, randomChoice, randomDouble, randomFloat, randomInt, randomInt, randomString, testAsDelimitedString, testConstructors, testErrorFor, testFactoryMultiValueCustomDelimiter, testFactoryMultiValueDefaultDelimiter, testFactorySingleValue, testType, testValueFrom |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BooleanPropertyTest
public BooleanPropertyTest()
createValue
protected Object createValue(int valueCount)
- Method createValue.
- Specified by:
createValue
in class AbstractPropertyDescriptorTester
- Parameters:
valueCount
- int
- Returns:
- Object
testErrorForBad
public void testErrorForBad()
- Overrides:
testErrorForBad
in class AbstractPropertyDescriptorTester
createBadValue
protected Object createBadValue(int count)
- Description copied from class:
AbstractPropertyDescriptorTester
- Return a value(s) that is known to be faulty per the general scope of the
descriptor.
- Specified by:
createBadValue
in class AbstractPropertyDescriptorTester
- Parameters:
count
- int
- Returns:
- Object
createProperty
protected PropertyDescriptor createProperty(boolean multiValue)
- Method createProperty.
- Specified by:
createProperty
in class AbstractPropertyDescriptorTester
- Parameters:
multiValue
- boolean
- Returns:
- PropertyDescriptor
createBadProperty
protected PropertyDescriptor createBadProperty(boolean multiValue)
- Method createBadProperty.
- Specified by:
createBadProperty
in class AbstractPropertyDescriptorTester
- Parameters:
multiValue
- boolean
- Returns:
- PropertyDescriptor
Copyright © 2002–2015 InfoEther. All rights reserved.