Class JAXRSSigTestIT

java.lang.Object
ee.jakarta.tck.ws.rs.signaturetest.SigTestEE
ee.jakarta.tck.ws.rs.signaturetest.jaxrs.JAXRSSigTestIT

public class JAXRSSigTestIT extends SigTestEE
  • Field Details

  • Constructor Details

    • JAXRSSigTestIT

      public JAXRSSigTestIT()
  • Method Details

    • getPackages

      protected String[] getPackages()
      Returns a list of strings where each string represents a package name. Each package name will have it's signature tested by the signature test framework.
      Returns:
      String[] The names of the packages whose signatures should be verified.
    • getPackages

      protected String[] getPackages(String vehicleName)
      Returns a list of strings where each string represents a package name. Each package name will have it's signature tested by the signature test framework.
      Specified by:
      getPackages in class SigTestEE
      Parameters:
      vehicleName - The name of the Jaspic container where the signature tests should be conducted.
      Returns:
      String[] The names of the packages whose signatures should be verified.
    • writeStreamToTempFile

      public File writeStreamToTempFile(InputStream inputStream, String tempFilePrefix, String tempFileSuffix) throws IOException
      Throws:
      IOException
    • writeStreamToSigFile

      public File writeStreamToSigFile(InputStream inputStream, String packageVersion) throws IOException
      Throws:
      IOException
    • signatureTest

      @Test public void signatureTest() throws SigTestEE.Fault
      Boilerplate Code
      Overrides:
      signatureTest in class SigTestEE
      Throws:
      SigTestEE.Fault - When an error occurs executing the signature tests.