Class ConcurrencySignatureTestRunner

java.lang.Object
ee.jakarta.tck.concurrent.common.signature.SigTestEE
ee.jakarta.tck.concurrent.common.signature.ConcurrencySignatureTestRunner

public class ConcurrencySignatureTestRunner extends SigTestEE
  • Field Details

  • Constructor Details

    • ConcurrencySignatureTestRunner

      public ConcurrencySignatureTestRunner()
  • Method Details

    • 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 vehicle the signature tests should be conducted in. Valid values for this property are ejb, servlet, ejb and appclient.
      Returns:
      String[] The names of the packages whose signatures should be verified.
    • getClasspath

      protected String getClasspath()
      Returns the classpath for the packages we are interested in.
    • writeStreamToTempFile

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

      protected File writeStreamToSigFile(InputStream inputStream) throws IOException
      Throws:
      IOException
    • signatureTest

      public void signatureTest() throws SigTestEE.Fault
      Boilerplate Code /* The following comments are specified in the base class that defines the signature tests. This is done so the test finders will find the right class to run. The implementation of these methods is inherited from the super class which is part of the signature test framework.
      Overrides:
      signatureTest in class SigTestEE
      Throws:
      SigTestEE.Fault - When an error occurs executing the signature tests.
    • assertProjectSetup

      public static void assertProjectSetup()
      Ensures the test project to configured correctly to run signature tests before attempting to run signature tests.