public class SchemaValidationTest extends Object
| Constructor and Description |
|---|
SchemaValidationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertNoProblems(org.modeshape.schematic.SchemaLibrary.Results results) |
static void |
beforeAll() |
void |
beforeEach() |
protected static InputStream |
resource(String resourcePath) |
void |
shouldBeAbleToValidateDocumentUsingCaseInsensitiveEnums() |
void |
shouldBeAbleToValidateDocumentUsingSimpleSchemaDocument() |
void |
shouldBeAbleToValidateSampleDocumentUsingSchemaDocument() |
void |
shouldNotBeAbleToValidateEmptyDocumentUsingSchemaDocument() |
protected org.modeshape.schematic.SchemaLibrary.Results |
validate(String documentUri,
String schemaUri) |
public SchemaValidationTest()
protected static InputStream resource(String resourcePath)
public void beforeEach()
protected void assertNoProblems(org.modeshape.schematic.SchemaLibrary.Results results)
protected org.modeshape.schematic.SchemaLibrary.Results validate(String documentUri, String schemaUri)
public void shouldBeAbleToValidateDocumentUsingSimpleSchemaDocument() throws Exception
Exceptionpublic void shouldBeAbleToValidateSampleDocumentUsingSchemaDocument() throws Exception
Exceptionpublic void shouldBeAbleToValidateDocumentUsingCaseInsensitiveEnums() throws Exception
Exceptionpublic void shouldNotBeAbleToValidateEmptyDocumentUsingSchemaDocument() throws Exception
ExceptionCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.