org.jboss.test.kernel.junit
Class WiredMicrocontainerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.jboss.test.AbstractTestCase
              extended by org.jboss.test.AbstractTestCaseWithSetup
                  extended by org.jboss.test.kernel.junit.MicrocontainerTest
                      extended by org.jboss.test.kernel.junit.WiredMicrocontainerTest
All Implemented Interfaces:
junit.framework.Test

public abstract class WiredMicrocontainerTest
extends MicrocontainerTest

A Wired MicrocontainerTest.

Author:
Ales Justin

Constructor Summary
protected WiredMicrocontainerTest(String name)
          Create a new Wired Microcontainer test
 
Method Summary
protected  void afterSetUp()
          Configure after set up.
protected  String createTestBeanName()
          Get the test's bean name.
protected  String getTestBeanName()
          Get the test's bean name.
protected  void tearDown()
           
 
Methods inherited from class org.jboss.test.kernel.junit.MicrocontainerTest
change, deploy, deploy, getBean, getBean, getControllerContext, getControllerContext, getDelegate, getMCDelegate, getMetaDataRepository, setUp, shutdown, undeploy, undeploy, validate
 
Methods inherited from class org.jboss.test.AbstractTestCaseWithSetup
enableTrace, getDelegate, getLog, resumeSecurity, suite, suspendSecurity
 
Methods inherited from class org.jboss.test.AbstractTestCase
assertEmpty, assertEmpty, assertEmpty, assertEquals, assertEquals, assertEquals, assertEquals, assertInstanceOf, assertInstanceOf, checkDeepThrowable, checkDeepThrowableRethrow, checkThrowable, checkThrowableRethrow, configureLogging, deserialize, failure, findResource, getResource, serialize, serializeDeserialize
 
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
 

Constructor Detail

WiredMicrocontainerTest

protected WiredMicrocontainerTest(String name)
Create a new Wired Microcontainer test

Parameters:
name - the test name
Method Detail

afterSetUp

protected void afterSetUp()
                   throws Exception
Description copied from class: MicrocontainerTest
Configure after set up.

Overrides:
afterSetUp in class MicrocontainerTest
Throws:
Exception - for any error

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class org.jboss.test.AbstractTestCaseWithSetup
Throws:
Exception

createTestBeanName

protected String createTestBeanName()
Get the test's bean name. By default it's random uuid.

Returns:
test's bean name

getTestBeanName

protected String getTestBeanName()
Get the test's bean name. By default it's what create method returns.

Returns:
test's bean name


Copyright ? 2007 JBoss Inc.. All Rights Reserved.