org.apache.ws.jaxme.js.junit

Class TypesafeEnumerationTest


public class TypesafeEnumerationTest
extends TestCase

This example demonstrates implementation of multiple inheritance with the ProxyGenerator. The class MyObservableList, an extension of ObservableList, is a subclass of java.util.Observable, but can also be viewed as a subclass of java.util.ArrayList (or whatever implementation of java.util.List you choose in the constructor. The Observers are notified whenever an object is added to the list.
Version:
$Id: TypesafeEnumerationTest.java 231785 2004-02-16 23:39:59Z jochen $
Author:
Jochen Wiedmann

Constructor Summary

TypesafeEnumerationTest(String arg0)

Method Summary

void
testDONALD()
void
testEquals()
void
testGetInstances()
void
testHashCode()
void
testJOE()
void
testPOPEYE()
void
testgetInstanceByName()
void
testgetInstanceByValue()

Constructor Details

TypesafeEnumerationTest

public TypesafeEnumerationTest(String arg0)

Method Details

testDONALD

public void testDONALD()

testEquals

public void testEquals()

testGetInstances

public void testGetInstances()

testHashCode

public void testHashCode()

testJOE

public void testJOE()

testPOPEYE

public void testPOPEYE()

testgetInstanceByName

public void testgetInstanceByName()

testgetInstanceByValue

public void testgetInstanceByValue()