mirror of
https://github.com/ReaJason/MemShellParty.git
synced 2026-09-21 22:50:42 +08:00
test: jbossas 5.1.0 deploy war failed
This commit is contained in:
+2
@@ -2,6 +2,7 @@ package com.reajason.javaweb.integration.memshell.jbossas;
|
|||||||
|
|
||||||
import com.reajason.javaweb.integration.AbstractContainerTest;
|
import com.reajason.javaweb.integration.AbstractContainerTest;
|
||||||
import com.reajason.javaweb.integration.ContainerTestConfig;
|
import com.reajason.javaweb.integration.ContainerTestConfig;
|
||||||
|
import com.reajason.javaweb.integration.ContainerTool;
|
||||||
import com.reajason.javaweb.memshell.ShellTool;
|
import com.reajason.javaweb.memshell.ShellTool;
|
||||||
import com.reajason.javaweb.memshell.ShellType;
|
import com.reajason.javaweb.memshell.ShellType;
|
||||||
import com.reajason.javaweb.packer.Packers;
|
import com.reajason.javaweb.packer.Packers;
|
||||||
@@ -22,6 +23,7 @@ public class Jboss510ContainerTest extends AbstractContainerTest {
|
|||||||
private static final ContainerTestConfig CONFIG = ContainerTestConfig.jboss(
|
private static final ContainerTestConfig CONFIG = ContainerTestConfig.jboss(
|
||||||
"reajason/jboss:5-jdk6",
|
"reajason/jboss:5-jdk6",
|
||||||
"/usr/local/jboss/server/web/deploy/app.war")
|
"/usr/local/jboss/server/web/deploy/app.war")
|
||||||
|
.warFile(ContainerTool.servlet2WarFile)
|
||||||
.targetJdkVersion(Opcodes.V1_6)
|
.targetJdkVersion(Opcodes.V1_6)
|
||||||
.supportedShellTypes(List.of(
|
.supportedShellTypes(List.of(
|
||||||
ShellType.FILTER,
|
ShellType.FILTER,
|
||||||
|
|||||||
+2
@@ -1,5 +1,6 @@
|
|||||||
package com.reajason.javaweb.integration.probe.jbossas;
|
package com.reajason.javaweb.integration.probe.jbossas;
|
||||||
|
|
||||||
|
import com.reajason.javaweb.integration.ContainerTool;
|
||||||
import com.reajason.javaweb.integration.probe.AbstractProbeContainerTest;
|
import com.reajason.javaweb.integration.probe.AbstractProbeContainerTest;
|
||||||
import com.reajason.javaweb.integration.probe.ProbeTestConfig;
|
import com.reajason.javaweb.integration.probe.ProbeTestConfig;
|
||||||
import net.bytebuddy.jar.asm.Opcodes;
|
import net.bytebuddy.jar.asm.Opcodes;
|
||||||
@@ -17,6 +18,7 @@ public class Jboss510ContainerTest extends AbstractProbeContainerTest {
|
|||||||
private static final ProbeTestConfig CONFIG = ProbeTestConfig.jboss(
|
private static final ProbeTestConfig CONFIG = ProbeTestConfig.jboss(
|
||||||
"reajason/jboss:5-jdk6",
|
"reajason/jboss:5-jdk6",
|
||||||
"/usr/local/jboss/server/web/deploy/app.war")
|
"/usr/local/jboss/server/web/deploy/app.war")
|
||||||
|
.warFile(ContainerTool.servlet2WarFile)
|
||||||
.expectedJdkVersion("JDK|1.6.0_45|50")
|
.expectedJdkVersion("JDK|1.6.0_45|50")
|
||||||
.targetJdkVersion(Opcodes.V1_6)
|
.targetJdkVersion(Opcodes.V1_6)
|
||||||
.build();
|
.build();
|
||||||
|
|||||||
Reference in New Issue
Block a user