Fixed test case for Woody's DynamicSelectionList class. There's a NPE when the test is finished that I wasn't able to remove, but it shouldn't influence the outcome of the test.
Here's the stack trace. It would be great if someone with more Avalon knowledge than me would try to get rid of this warning.
Ugo
WARN 2003-10-19 19:21:23.391 [cm ] (): Error decommissioning component:
org.apache.cocoon.woody.datatype.DefaultDatatypeManager
java.lang.NullPointerException
at org.apache.avalon.excalibur.component.DefaultComponentFactory$ServiceManagerProxy.access$100(DefaultComponentFactory.java:500)
at org.apache.avalon.excalibur.component.DefaultComponentFactory.decommission(DefaultComponentFactory.java:396)
at org.apache.avalon.excalibur.component.ThreadSafeComponentHandler.dispose(ThreadSafeComponentHandler.java:198)
at org.apache.avalon.excalibur.component.ExcaliburComponentManager.dispose(ExcaliburComponentManager.java:653)
at org.apache.avalon.excalibur.testcase.ExcaliburTestCase.done(ExcaliburTestCase.java:343)
at org.apache.avalon.excalibur.testcase.ExcaliburTestCase.run(ExcaliburTestCase.java:423)
at junit.framework.TestSuite.runTest(TestSuite.java:173)
at junit.framework.TestSuite.run(TestSuite.java:168)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:536)
