|
Keel 2.1RC2 | ||||||||||
| 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.avalon.framework.service.test.DefaultServiceManagerTestCase
Test the basic public methods of DefaultComponentManager.
| Nested Class Summary | |
(package private) class |
DefaultServiceManagerTestCase.DefaultRoleA |
(package private) class |
DefaultServiceManagerTestCase.DefaultRoleB |
| Field Summary | |
private DefaultServiceManager |
m_componentManager |
protected boolean |
m_exceptionThrown |
| Fields inherited from class junit.framework.TestCase |
|
| Constructor Summary | |
DefaultServiceManagerTestCase() |
|
DefaultServiceManagerTestCase(java.lang.String name) |
|
| Method Summary | |
protected void |
setUp() |
protected void |
tearDown() |
void |
testhasComponent() |
void |
testlookup1()lookup contract: return first component found for role search in hirarchy from current componentManager up. |
void |
testlookup2() |
void |
testmakeReadOnly() |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, 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 |
private DefaultServiceManager m_componentManager
protected boolean m_exceptionThrown
| Constructor Detail |
public DefaultServiceManagerTestCase()
public DefaultServiceManagerTestCase(java.lang.String name)
| Method Detail |
protected void setUp()
throws java.lang.Exception
java.lang.Exception
protected void tearDown()
throws java.lang.Exception
java.lang.Exception
public void testlookup1()
throws java.lang.Exception
java.lang.Exception
public void testlookup2()
throws java.lang.Exception
java.lang.Exception
public void testhasComponent()
throws java.lang.Exception
java.lang.Exception
public void testmakeReadOnly()
throws java.lang.Exception
java.lang.Exception
|
Keel 2.1RC2 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||