org.apache.commons.beanutils.converters
Class BooleanConverterTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.beanutils.converters.BooleanConverterTestCase
All Implemented Interfaces:
junit.framework.Test

public class BooleanConverterTestCase
extends junit.framework.TestCase


Field Summary
static String[] STANDARD_FALSES
           
static String[] STANDARD_TRUES
           
 
Constructor Summary
BooleanConverterTestCase(String name)
           
 
Method Summary
 void testAdditionalStrings()
           
 void testCaseInsensitivity()
           
protected  void testConversionValues(BooleanConverter converter, String[] trueValues, String[] falseValues)
           
 void testDefaultValue()
           
 void testInvalidString()
           
 void testStandardValues()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

STANDARD_TRUES

public static final String[] STANDARD_TRUES

STANDARD_FALSES

public static final String[] STANDARD_FALSES
Constructor Detail

BooleanConverterTestCase

public BooleanConverterTestCase(String name)
Method Detail

testStandardValues

public void testStandardValues()

testCaseInsensitivity

public void testCaseInsensitivity()

testInvalidString

public void testInvalidString()

testDefaultValue

public void testDefaultValue()

testAdditionalStrings

public void testAdditionalStrings()

testConversionValues

protected void testConversionValues(BooleanConverter converter,
                                    String[] trueValues,
                                    String[] falseValues)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.