Skip to content

Commit

Permalink
TCK regex issues
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAure committed Jul 13, 2023
1 parent 15a9470 commit 97a306a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,11 @@
</execution>
</executions>
</plugin>


<!--
FIXME currently suppressing javadoc checking
Lots of work to be done to fix our javadoc to meet standards.
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public class SigTestDriver extends SignatureTestDriver {
"java.io.InputStream", "java.lang.Deprecated", "java.io.Writer", "java.io.OutputStream", "java.util.List",
"java.util.Collection", "java.lang.instrument.IllegalClassFormatException",
"javax.transaction.xa.XAException", "java.lang.annotation.Repeatable", "java.lang.InterruptedException",
"java.lang.CloneNotSupportedException", "java.lang.Throwable", "java.lang.Thread", "java.lang.Enum"
"java.lang.CloneNotSupportedException", "java.lang.Throwable", "java.lang.Thread", "java.lang.Enum"
};

// ---------------------------------------- Methods from SignatureTestDriver
Expand Down Expand Up @@ -152,7 +152,7 @@ protected boolean runSignatureTest(final String packageOrClassName, final String

Method runMethod = sigTestClass.getDeclaredMethod("run",
new Class[] {
String[].class, PrintWriter.class, PrintWriter.class
String[].class, PrintWriter.class, PrintWriter.class
});
runMethod.invoke(sigTestInstance, new Object[] {
testArguments, new PrintWriter(output, true), null
Expand Down Expand Up @@ -195,7 +195,7 @@ protected boolean runPackageSearch(final String packageOrClassName, final String

Method runMethod = sigTestClass.getDeclaredMethod("run",
new Class[] {
String[].class, PrintWriter.class, PrintWriter.class
String[].class, PrintWriter.class, PrintWriter.class
});
runMethod.invoke(sigTestInstance, new Object[] {
testArguments, new PrintWriter(output, true), null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class ContextFullTests extends TestClient {
@Deployment(name = "ContextTests")
public static EnterpriseArchive createDeployment() {
WebArchive war = ShrinkWrap.create(WebArchive.class).addPackages(true, ContextFullTests.class.getPackage())
.addPackages(false, PACKAGE.TASKS.getPackageName()).deleteClass(SecurityTestEjb.class)
.addPackages(false, PACKAGE.TASKS.getPackageName()).deleteClass(SecurityTestEjb.class)
.deleteClass(SecurityTestInterface.class)
.addAsWebInfResource(ContextFullTests.class.getPackage(), "web.xml", "web.xml");

Expand Down

0 comments on commit 97a306a

Please sign in to comment.