Browse Source

Rename JMX tests to avoid jmxremote_optional error

Even after applying @Ignore to these tests at the class level, they
still run (and fail) under ant when the jmxremote_optional jar is not
present. See the issues mentioned below for information on how these
tests will be re-enabled.

Issue: SPR-8089, SPR-8093, SPR-8458

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@4678 50f2f4bb-b051-0410-bef5-90022cba6387
pull/1/merge
Chris Beams 15 years ago
parent
commit
0130b15189
  1. 2
      org.springframework.context/src/test/java/org/springframework/jmx/access/RemoteMBeanClientInterceptorTestsIgnore.java
  2. 2
      org.springframework.context/src/test/java/org/springframework/jmx/support/ConnectorServerFactoryBeanTestsIgnore.java

2
org.springframework.context/src/test/java/org/springframework/jmx/access/RemoteMBeanClientInterceptorTests.java → org.springframework.context/src/test/java/org/springframework/jmx/access/RemoteMBeanClientInterceptorTestsIgnore.java

@ -38,7 +38,7 @@ import org.junit.Ignore; @@ -38,7 +38,7 @@ import org.junit.Ignore;
// fact get ignored. So we leave @Ignore here so that developers can
// easily search for ignored tests.
@Ignore("Requires jmxremote_optional.jar; see comments in AbstractMBeanServerTests for details.")
public class RemoteMBeanClientInterceptorTests extends MBeanClientInterceptorTests {
public class RemoteMBeanClientInterceptorTestsIgnore extends MBeanClientInterceptorTests {
private static final String SERVICE_URL = "service:jmx:jmxmp://localhost:9876";

2
org.springframework.context/src/test/java/org/springframework/jmx/support/ConnectorServerFactoryBeanTests.java → org.springframework.context/src/test/java/org/springframework/jmx/support/ConnectorServerFactoryBeanTestsIgnore.java

@ -41,7 +41,7 @@ import org.springframework.jmx.AbstractMBeanServerTests; @@ -41,7 +41,7 @@ import org.springframework.jmx.AbstractMBeanServerTests;
// fact get ignored. So we leave @Ignore here so that developers can
// easily search for ignored tests.
@Ignore("Requires jmxremote_optional.jar; see comments in AbstractMBeanServerTests for details.")
public class ConnectorServerFactoryBeanTests extends AbstractMBeanServerTests {
public class ConnectorServerFactoryBeanTestsIgnore extends AbstractMBeanServerTests {
private static final String OBJECT_NAME = "spring:type=connector,name=test";
Loading…
Cancel
Save