org.apache.ws.jaxme.js.junit
Class TypesafeEnumerationTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.ws.jaxme.js.junit.TypesafeEnumerationTest
All Implemented Interfaces:
junit.framework.Test

public class TypesafeEnumerationTest
extends junit.framework.TestCase

This example demonstrates implementation of multiple inheritance with the ProxyGenerator. The class MyObservableList, an extension of ObservableList, is a subclass of Observable, but can also be viewed as a subclass of ArrayList (or whatever implementation of List you choose in the constructor. The Observers are notified whenever an object is added to the list.

Version:
$Id$
Author:
Jochen Wiedmann

Constructor Summary
TypesafeEnumerationTest(java.lang.String arg0)
           
 
Method Summary
 void testDONALD()
           
 void testEquals()
           
 void testgetInstanceByName()
           
 void testgetInstanceByValue()
           
 void testGetInstances()
           
 void testHashCode()
           
 void testJOE()
           
 void testPOPEYE()
           
 
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
 

Constructor Detail

TypesafeEnumerationTest

public TypesafeEnumerationTest(java.lang.String arg0)
Method Detail

testJOE

public void testJOE()

testPOPEYE

public void testPOPEYE()

testDONALD

public void testDONALD()

testgetInstanceByName

public void testgetInstanceByName()

testgetInstanceByValue

public void testgetInstanceByValue()

testGetInstances

public void testGetInstances()

testEquals

public void testEquals()

testHashCode

public void testHashCode()