Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.enterprise.deploy.shared.factories
Class DeploymentFactoryManagerTest  view DeploymentFactoryManagerTest download DeploymentFactoryManagerTest.java

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byjavax.enterprise.deploy.shared.factories.DeploymentFactoryManagerTest
All Implemented Interfaces:
junit.framework.Test

public class DeploymentFactoryManagerTest
extends junit.framework.TestCase

Low level tests on the DeploymentFactoryManager.


Field Summary
private  DeploymentFactoryManager factoryManager
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
DeploymentFactoryManagerTest()
           
 
Method Summary
private  void ensureFactoryRegistered()
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testDeploymentManagerCreationException()
           
 void testDisconnectedGetDeploymentManagerWithNullURI()
           
 void testDisconnectedGetDeploymentManagerWithoutAnyRegisteredFactories()
           
 void testGetDeploymentManager()
           
 void testGetDeploymentManagerWithNullURI()
           
 void testGetDeploymentManagerWithoutAnyRegisteredFactories()
           
 void testGetDisconnectedDeploymentManager()
           
 void testRegisterDeploymentFactory()
           
 void testRegisterNull()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Field Detail

factoryManager

private DeploymentFactoryManager factoryManager
Constructor Detail

DeploymentFactoryManagerTest

public DeploymentFactoryManagerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.


tearDown

protected void tearDown()
                 throws java.lang.Exception
Description copied from class: junit.framework.TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.


testGetDeploymentManagerWithoutAnyRegisteredFactories

public void testGetDeploymentManagerWithoutAnyRegisteredFactories()

testDisconnectedGetDeploymentManagerWithoutAnyRegisteredFactories

public void testDisconnectedGetDeploymentManagerWithoutAnyRegisteredFactories()

testGetDeploymentManagerWithNullURI

public void testGetDeploymentManagerWithNullURI()

testDisconnectedGetDeploymentManagerWithNullURI

public void testDisconnectedGetDeploymentManagerWithNullURI()

testRegisterNull

public void testRegisterNull()

testRegisterDeploymentFactory

public void testRegisterDeploymentFactory()

testGetDeploymentManager

public void testGetDeploymentManager()

testGetDisconnectedDeploymentManager

public void testGetDisconnectedDeploymentManager()

testDeploymentManagerCreationException

public void testDeploymentManagerCreationException()

ensureFactoryRegistered

private void ensureFactoryRegistered()