public class SchemaValidateXMLMessageTest
extends org.opensaml.core.xml.XMLObjectBaseTestCase
SchemaValidateXMLMessage.| Modifier and Type | Field and Description |
|---|---|
private static String |
INVALID_XML_FILE
Invalid xml file.
|
private Schema |
schema
The simple xml object schema.
|
private static String |
SCHEMA_FILE
Simple xml object schema file.
|
private static String |
VALID_XML_FILE
Valid xml file.
|
| Constructor and Description |
|---|
SchemaValidateXMLMessageTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp()
Build the schema.
|
void |
testInvalidSchema()
Test validation of an invalid xml file.
|
void |
testNullDom()
Test a null dom.
|
void |
testNullInboundMessageContext()
Test a null inbound message context.
|
void |
testValidSchema()
Test validation of a valid xml file.
|
assertXMLEquals, assertXMLEquals, buildXMLObject, fetchDuration, getBuilder, getMarshaller, getMarshaller, getUnmarshaller, getUnmarshaller, getUnmarshaller, initXMLObjectSupport, parseXMLDocument, printXML, printXML, unmarshallElementprivate static final String SCHEMA_FILE
private static final String INVALID_XML_FILE
private static final String VALID_XML_FILE
private Schema schema
Copyright © 1999–2014. All rights reserved.