Class BaseContextTest

java.lang.Object
org.opensaml.messaging.context.BaseContextTest

public class BaseContextTest extends Object
Test the BaseContext implementation.
  • Constructor Details

    • BaseContextTest

      public BaseContextTest()
  • Method Details

    • testNoArgConstructor

      public void testNoArgConstructor()
      Test the no-arg constructor.
    • testAddRemoveSubcontexts

      public void testAddRemoveSubcontexts()
      Test basic adding and removing of subcontexts.
    • testClearSubcontexts

      public void testClearSubcontexts()
      Test clearing all subcontexts from the parent.
    • testBasicIteration

      public void testBasicIteration()
      Test basic iteration of subcontexts.
    • testNoRemoveIterator

      public void testNoRemoveIterator()
      Test that calling remove() on the iterator throws the expected exception.
    • testDuplicateAddWithReplace

      public void testDuplicateAddWithReplace()
      Test case of attempting to add a duplicate subcontext class to a parent, when replace is in effect.
    • testDuplicateAddWithoutReplace

      public void testDuplicateAddWithoutReplace()
      Test case of attempting to add a duplicate subcontext class to a parent, when replace is not in effect.
    • testAddWith2Parents

      public void testAddWith2Parents()
      Test adding a subcontext to a parent, and then adding it to another parent.
    • testStringAccess

      public void testStringAccess()
      Test accessing context by class name.
    • testStringAccessMissing

      public void testStringAccessMissing()
      Test accessing missing context by class name.
    • testSimpleStringAccess

      public void testSimpleStringAccess()
      Test accessing context by truncated class name.
    • testSimpleStringError

      public void testSimpleStringError()
      Test accessing context using non-existent truncated class name.