Class ExtentionPointTestUtility


  • @Service
    @Scope("prototype")
    public class ExtentionPointTestUtility
    extends java.lang.Object
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void assertTestCaseExecutionStatus​(java.io.InputStream inputExtension, java.lang.String testCaseName)
      Asserts that actualValue and expectedValue are equals of a given testCase name
      void validateAgainstXSD​(java.io.InputStream importFileXML)
      validate xml file against a standard schema
      ExtensionPointTestSuite xmlToClass​(java.io.InputStream importFileXML)
      convert XML data to a java content tree
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExtentionPointTestUtility

        public ExtentionPointTestUtility()
    • Method Detail

      • xmlToClass

        public ExtensionPointTestSuite xmlToClass​(java.io.InputStream importFileXML)
                                           throws javax.xml.bind.JAXBException
        convert XML data to a java content tree
        Parameters:
        importFileXML -
        Returns:
        Throws:
        javax.xml.bind.JAXBException
      • assertTestCaseExecutionStatus

        public void assertTestCaseExecutionStatus​(java.io.InputStream inputExtension,
                                                  java.lang.String testCaseName)
                                           throws javax.xml.bind.JAXBException,
                                                  TestCaseNotFoundException
        Asserts that actualValue and expectedValue are equals of a given testCase name
        Parameters:
        inputExtension -
        testCaseName -
        Throws:
        javax.xml.bind.JAXBException
        TestCaseNotFoundException