public class BaseContextTest extends Object
| Constructor and Description |
|---|
BaseContextTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
testAddRemoveSubcontexts()
Test basic adding and removing of subcontexts.
|
void |
testAddWith2Parents()
Test adding a subcontext to a parent, and then adding it to another parent.
|
void |
testAutoCreateSubcontext()
Test auto creation of subcontexts.
|
void |
testBasicIteration()
Test basic iteration of subcontexts.
|
void |
testClearSubcontexts()
Test clearing all subcontexts from the parent.
|
void |
testDuplicateAddWithoutReplace()
Test case of attempting to add a duplicate subcontext class to a parent,
when replace is not in effect.
|
void |
testDuplicateAddWithReplace()
Test case of attempting to add a duplicate subcontext class to a parent,
when replace is in effect.
|
void |
testNoArgConstructor()
Test the no-arg constructor.
|
void |
testNoRemoveIterator()
Test that calling remove() on the iterator throws the expected exception.
|
void |
testStringAccess() |
public void testNoArgConstructor()
public void testAddRemoveSubcontexts()
public void testClearSubcontexts()
public void testBasicIteration()
public void testNoRemoveIterator()
public void testAutoCreateSubcontext()
public void testDuplicateAddWithReplace()
public void testDuplicateAddWithoutReplace()
public void testAddWith2Parents()
public void testStringAccess()
throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 1999–2015. All rights reserved.