public class DocumentTransformerTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PARTS_SCHEMA_URI |
| Constructor and Description |
|---|
DocumentTransformerTest() |
| Modifier and Type | Method and Description |
|---|---|
static void |
beforeAll() |
void |
beforeEach() |
protected static org.modeshape.schematic.document.Document |
doc(String content) |
protected static InputStream |
resource(String resourcePath) |
void |
shouldNotTransformDocumentWithNoMismatchedValues() |
void |
shouldTransformDocumentWithStringValueWhereIntegerExpected() |
protected static org.modeshape.schematic.document.Document |
transform(org.modeshape.schematic.document.Document doc,
String schemaUri,
int numExpectedMismatchedValues) |
protected static final String PARTS_SCHEMA_URI
public DocumentTransformerTest()
public void beforeEach()
public void shouldNotTransformDocumentWithNoMismatchedValues() throws Exception
Exceptionpublic void shouldTransformDocumentWithStringValueWhereIntegerExpected() throws Exception
Exceptionprotected static InputStream resource(String resourcePath)
protected static org.modeshape.schematic.document.Document doc(String content) throws org.modeshape.schematic.document.ParsingException
org.modeshape.schematic.document.ParsingExceptionCopyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.