org.apache.commons.lang.enum
Class EnumTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.commons.lang.enum.EnumTest
- All Implemented Interfaces:
- junit.framework.Test
- public final class EnumTest
- extends junit.framework.TestCase
Test cases for the Enum class.
- Version:
- $Id: EnumTest.java 501606 2007-01-30 22:26:38Z bayard $
- Author:
- Stephen Colebourne, Gary D. Gregory
|
Constructor Summary |
EnumTest(java.lang.String name)
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
EnumTest
public EnumTest(java.lang.String name)
setUp
public void setUp()
suite
public static junit.framework.Test suite()
testName
public void testName()
testCompareTo
public void testCompareTo()
testEquals
public void testEquals()
testHashCode
public void testHashCode()
testToString
public void testToString()
testIterator
public void testIterator()
testList
public void testList()
testMap
public void testMap()
testGet
public void testGet()
testSerialization
public void testSerialization()
testBroken1
public void testBroken1()
testBroken2
public void testBroken2()
testBroken3
public void testBroken3()
testBroken1Operation
public void testBroken1Operation()
testBroken2Operation
public void testBroken2Operation()
testBroken3Operation
public void testBroken3Operation()
testBroken4Operation
public void testBroken4Operation()
testBroken5Operation
public void testBroken5Operation()
testOperationGet
public void testOperationGet()
testOperationSerialization
public void testOperationSerialization()
testOperationToString
public void testOperationToString()
testOperationList
public void testOperationList()
testOperationMap
public void testOperationMap()
testOperationCalculation
public void testOperationCalculation()
testExtended1Get
public void testExtended1Get()
testExtended2Get
public void testExtended2Get()
testExtended3Get
public void testExtended3Get()
testExtendedSerialization
public void testExtendedSerialization()
testExtendedToString
public void testExtendedToString()
testExtended1List
public void testExtended1List()
testExtended2List
public void testExtended2List()
testExtended3List
public void testExtended3List()
testExtended1Map
public void testExtended1Map()
testExtended2Map
public void testExtended2Map()
testExtended3Map
public void testExtended3Map()
testNested
public void testNested()
testNestedBroken
public void testNestedBroken()
testNestedLinked
public void testNestedLinked()
testNestedReferenced
public void testNestedReferenced()
testColorEnumEqualsWithDifferentClassLoaders
public void testColorEnumEqualsWithDifferentClassLoaders()
throws java.lang.SecurityException,
java.lang.IllegalArgumentException,
java.lang.ClassNotFoundException,
java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
- Throws:
java.lang.SecurityException
java.lang.IllegalArgumentException
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException
testEqualsToWrongInstance
public void testEqualsToWrongInstance()
Copyright © 2001-2008 The Apache Software Foundation. All Rights Reserved.