public class BasicParserPoolTest
extends junit.framework.TestCase
| Modifier and Type | Field and Description |
|---|---|
private org.opensaml.xml.parse.BasicParserPool |
pool
Pool instance to test.
|
| Constructor and Description |
|---|
BasicParserPoolTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
setUp() |
void |
testExplicitMultipleReturn()
Test for caller (illegally) returning a builder multiple times to pool.
|
void |
testFinalize()
Test issue reported in JXT-46 - a parser should not be checked into the pool multiple times
via the auto-checkin mechanism by the proxy finalize().
|
void |
testMaxPoolSize()
Test that only maxPoolSize parsers are ever cached.
|
void |
testParserUseAfterReturn()
Test for a caller illegally using a parser proxy after it has been returned.
|
void |
testPoolVersioning()
Test that pool versioning is working properly.
|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toStringassertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSameprotected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void testFinalize()
throws org.opensaml.xml.parse.XMLParserException
XMLParserExceptionInterruptedExceptionpublic void testExplicitMultipleReturn()
throws org.opensaml.xml.parse.XMLParserException
XMLParserExceptionpublic void testParserUseAfterReturn()
throws org.opensaml.xml.parse.XMLParserException,
URISyntaxException
XMLParserExceptionURISyntaxExceptionIOExceptionpublic void testMaxPoolSize()
throws org.opensaml.xml.parse.XMLParserException
XMLParserExceptionpublic void testPoolVersioning()
throws org.opensaml.xml.parse.XMLParserException
XMLParserExceptionCopyright © 1999-2014. All Rights Reserved.