geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Mulder <ammul...@alumni.princeton.edu>
Subject [PATCH] JSR-88 DeploymentFactoryManager + Test
Date Fri, 15 Aug 2003 18:55:14 GMT
	Here are two patches to:

 - update the deployment factory manager so that it throws an 
IllegalArgumentException for bad arguments, and doesn't re-register an 
identical factory more than once.

 - update the DFM tests to refer to the actual Geronimo DeploymentFactory
implementation instead of the "Mock" impls, actually test the 
DeploymentFactory registration and lookup, and revise the tests a bit 
(don't rely on previous tests having run and set up static objects, etc.)

	In addition, when these are applied, we should remove the classes

modules/core/src/test/javax/enterprise/deploy/spi/MockDeploymentManager

	and

modules/core/src/test/javax/enterprise/deploy/spi/factories/MockDeploymentFactory

	Because those were only used by the tests, and now the tests use 
the real thing instead of the "Mock" versions.

Aaron

Mime
View raw message