|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.turbine.test.BaseTestCase
org.apache.turbine.services.LoadingComponentsTest
public class LoadingComponentsTest
Unit test for verifing that we can load all the appropriate components from the appropriate Container. For now that is just ECM (AvalonComponentService) but in the future with mixed containers there could be multiple.
Constructor Summary | |
---|---|
LoadingComponentsTest(String name)
|
Method Summary | |
---|---|
void |
setUp()
|
void |
tearDown()
|
void |
testAvalonComponentServiceShutdown()
Shutdown the AvalonComponentService where the MimeTypeService resides and lookup the MimeTypeService. |
void |
testLoadingByAvalonComponentService()
Test to load a couple of Avalon services directly by the AvalonComponentService. |
void |
testLoadingByTurbineServices()
Test to load a couple of Avalon services by using the TurbineServices which delegate the service retrieval to the AvalonComponentService |
void |
testLookupUnknownService()
Lookup up an unknown servie |
Methods inherited from class org.apache.turbine.test.BaseTestCase |
---|
getMockRequest, getPipelineData, getRunData |
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 |
---|
public LoadingComponentsTest(String name) throws Exception
Exception
Method Detail |
---|
public void testLoadingByAvalonComponentService() throws Exception
Exception
- loading failedpublic void testLoadingByTurbineServices() throws Exception
Exception
- loading failedpublic void testLookupUnknownService() throws Exception
Exception
public void testAvalonComponentServiceShutdown() throws Exception
Exception
public void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void tearDown() throws Exception
tearDown
in class junit.framework.TestCase
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |