Class SchemaBuilderTest
- java.lang.Object
-
- net.shibboleth.utilities.java.support.xml.SchemaBuilderTest
-
public class SchemaBuilderTest extends Object
Tests forNamespaceSupport
-
-
Constructor Summary
Constructors Constructor Description SchemaBuilderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private StreamSourcefailingSource()voidsetup()voidtestFiles()voidtestInputStream()voidtestResource()private StreamSourceworkingSource()
-
-
-
Field Detail
-
TEST_DIR
private static final String TEST_DIR
- See Also:
- Constant Field Values
-
FILE_ROOT
private static final String FILE_ROOT
- See Also:
- Constant Field Values
-
FIRST_SCHEMA_FILE
private static final String FIRST_SCHEMA_FILE
- See Also:
- Constant Field Values
-
SECOND_SCHEMA_FILE
private static final String SECOND_SCHEMA_FILE
- See Also:
- Constant Field Values
-
works
private Resource works
-
fails
private Resource fails
-
-
Method Detail
-
workingSource
private StreamSource workingSource() throws IOException
- Throws:
IOException
-
failingSource
private StreamSource failingSource() throws IOException
- Throws:
IOException
-
setup
@BeforeClass public void setup()
-
testFiles
public void testFiles() throws SAXException, IOException- Throws:
SAXExceptionIOException
-
testInputStream
public void testInputStream() throws SAXException, IOException, ComponentInitializationException
-
testResource
public void testResource() throws SAXException, IOException, ComponentInitializationException
-
-