Class ConcurrencySignatureTestRunner
java.lang.Object
ee.jakarta.tck.concurrent.common.signature.SigTestEE
ee.jakarta.tck.concurrent.common.signature.ConcurrencySignatureTestRunner
-
Nested Class Summary
Nested classes/interfaces inherited from class ee.jakarta.tck.concurrent.common.signature.SigTestEE
SigTestEE.Fault
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Ensures the test project to configured correctly to run signature tests before attempting to run signature tests.protected String
Returns the classpath for the packages we are interested in.protected String[]
getPackages
(String vehicleName) Returns a list of strings where each string represents a package name.void
Boilerplate Code /* The following comments are specified in the base class that defines the signature tests.protected File
writeStreamToSigFile
(InputStream inputStream) protected File
writeStreamToTempFile
(InputStream inputStream, String tempFilePrefix, String tempFileSuffix) Methods inherited from class ee.jakarta.tck.concurrent.common.signature.SigTestEE
cleanup, getClasses, getMapFile, getPackageFile, getRepositoryDir, getSigTestDriver, getUnlistedOptionalPackages, setup
-
Field Details
-
SIG_FILE_NAME
- See Also:
-
SIG_MAP_NAME
- See Also:
-
SIG_PKG_NAME
- See Also:
-
SIG_RESOURCES
-
-
Constructor Details
-
ConcurrencySignatureTestRunner
public ConcurrencySignatureTestRunner()
-
-
Method Details
-
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.- Specified by:
getPackages
in classSigTestEE
- 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
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
- Throws:
IOException
-
signatureTest
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 classSigTestEE
- 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.
-