public class ClassIndexedSetTest extends Object
| Modifier and Type | Class and Description |
|---|---|
private class |
ClassIndexedSetTest.A |
private class |
ClassIndexedSetTest.AbstractMember |
private class |
ClassIndexedSetTest.B |
private class |
ClassIndexedSetTest.C |
private class |
ClassIndexedSetTest.D |
private static interface |
ClassIndexedSetTest.Member |
| Modifier and Type | Field and Description |
|---|---|
private net.shibboleth.utilities.java.support.collection.ClassIndexedSet<ClassIndexedSetTest.Member> |
memberSet
Set to use as target for tests.
|
| Constructor and Description |
|---|
ClassIndexedSetTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testClear()
Tests clearing the set.
|
void |
testDupInstance()
Test failure of adding a duplicate instance.
|
void |
testDupType()
Test failure of adding a duplicate member type.
|
void |
testDupTypeWithReplacement()
Test success of adding a duplicate member type with replacement.
|
void |
testEqualsHash() |
void |
testGetType()
Test getting member instance from set by type.
|
void |
testIterator()
Tests proper iterator iterating behavior.
|
void |
testIteratorRemove()
Tests proper iterator remove() behavior.
|
void |
testIteratorRemoveIllegal()
Tests proper iterator remove() behavior when called illegally.
|
void |
testRemove()
Tests removing member from set by instance.
|
private net.shibboleth.utilities.java.support.collection.ClassIndexedSet<ClassIndexedSetTest.Member> memberSet
public void testDupInstance()
public void testDupType()
public void testDupTypeWithReplacement()
public void testGetType()
public void testRemove()
public void testClear()
public void testIterator()
public void testIteratorRemove()
public void testIteratorRemoveIllegal()
public void testEqualsHash()
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.