FileDocCategorySizeDatePackage
DeploymentProgressTest.javaAPI DocGlassfish v2 API3228Fri May 04 22:24:04 BST 2007com.sun.enterprise.management.deploy

DeploymentProgressTest

public final class DeploymentProgressTest extends TestCase

Fields Summary
Constructors Summary
public DeploymentProgressTest()

	
Methods Summary
public com.sun.appserv.management.deploy.DeploymentProgressImplcreateDeploymentProgress()

		final Object	id	= "deploy:999";
		
		final DeploymentProgressImpl	dp	=
			new DeploymentProgressImpl( (byte)99, "description", null );
		
		return( dp );
	
public voidtestCreateDeploymentProgress()

		createDeploymentProgress();
	
public voidtestDeploymentProgressAsMap()

		final DeploymentProgressImpl	dp	= createDeploymentProgress();
		
		final Map<String,Serializable>	data	= dp.asMap();
	
public voidtestDeploymentProgressFromMap()

		final DeploymentProgressImpl	dp	= createDeploymentProgress();
		
		final Map<String,Serializable>	data = dp.asMap();
		
		final DeploymentProgressImpl dp2	= new DeploymentProgressImpl( data );
		
		assert( dp2.equals( dp ) );