java.lang.Object
junit.framework.Assert
junit.framework.TestCase
javax.enterprise.deploy.shared.factories.DeploymentFactoryManagerTest
- All Implemented Interfaces:
- junit.framework.Test
- public class DeploymentFactoryManagerTest
- extends junit.framework.TestCase
Low level tests on the DeploymentFactoryManager.
| Fields inherited from class junit.framework.TestCase |
|
| 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 |
factoryManager
private DeploymentFactoryManager factoryManager
DeploymentFactoryManagerTest
public DeploymentFactoryManagerTest()
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()