@Service @Scope(value="prototype") public class ExtentionPointTestUtility extends Object
| Constructor and Description |
|---|
ExtentionPointTestUtility() |
| Modifier and Type | Method and Description |
|---|---|
void |
assertTestCaseExecutionStatus(InputStream inputExtension,
String testCaseName)
Asserts that actualValue and expectedValue are equals of a given testCase name
|
void |
validateAgainstXSD(InputStream importFileXML)
validate xml file against a standard schema
|
ExtensionPointTestSuite |
xmlToClass(InputStream importFileXML)
convert XML data to a java content tree
|
public ExtensionPointTestSuite xmlToClass(InputStream importFileXML) throws JAXBException
importFileXML - JAXBExceptionpublic void validateAgainstXSD(InputStream importFileXML) throws IOException, XMLToModelUnmarshalException
importFileXML - IOExceptionXMLToModelUnmarshalExceptionpublic void assertTestCaseExecutionStatus(InputStream inputExtension, String testCaseName) throws JAXBException, TestCaseNotFoundException
inputExtension - testCaseName - JAXBExceptionTestCaseNotFoundExceptionCopyright © 2005–2019 Alfresco Software. All rights reserved.