public class CollectionTest extends Object
Collection tester| Modifier and Type | Class and Description |
|---|---|
static class |
CollectionTest.UpcaseFunction |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.base.Function<String,com.google.common.base.Optional<? extends String>> |
nullRemoveFunction |
private static String |
STRING_1 |
private static String |
STRING_2 |
private static String |
STRING_3 |
static com.google.common.base.Function<String,com.google.common.base.Optional<? extends String>> |
upcaseNotNull |
| Constructor and Description |
|---|
CollectionTest() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
testArrayCollection(Collection<String> testCollection,
Collection<String> knownGoodCollection) |
protected static void |
testIteratorCollection(Collection<String> testCollection,
Collection<String> workCollection)
Test the iterator.
|
protected static void |
testSimpleCollection(Collection<String> collection,
boolean allowDuplicates) |
void |
verifyTests() |
private static final String STRING_1
private static final String STRING_2
private static final String STRING_3
public static final com.google.common.base.Function<String,com.google.common.base.Optional<? extends String>> nullRemoveFunction
public void verifyTests()
protected static void testArrayCollection(Collection<String> testCollection, Collection<String> knownGoodCollection)
protected static void testIteratorCollection(Collection<String> testCollection, Collection<String> workCollection)
testCollection - The collection under test.workCollection - A collection of the same basic type (List or Set) to test with.protected static void testSimpleCollection(Collection<String> collection, boolean allowDuplicates)
Copyright © 1999–2019 Shibboleth Consortium. All rights reserved.