Browse Source

Polishing

pull/1121/head
Juergen Hoeller 9 years ago
parent
commit
e03dea1d64
  1. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscoverAnnotationTests.java
  2. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJExpressionPointcutTests.java
  3. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutMatchingTests.java
  4. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPointTests.java
  5. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/TigerAspectJAdviceParameterNameDiscovererTests.java
  6. 8
      spring-aop/src/test/java/org/springframework/aop/aspectj/TypePatternClassFilterTests.java
  7. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java
  8. 4
      spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/ArgumentBindingTests.java
  9. 4
      spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectMetadataTests.java
  10. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/ReflectiveAspectJAdvisorFactoryTests.java
  11. 2
      spring-aop/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJNamespaceHandlerTests.java
  12. 2
      spring-aop/src/test/java/org/springframework/aop/config/AopNamespaceHandlerEventTests.java
  13. 2
      spring-aop/src/test/java/org/springframework/aop/config/AopNamespaceHandlerPointcutErrorTests.java
  14. 2
      spring-aop/src/test/java/org/springframework/aop/config/TopLevelAopTagTests.java
  15. 2
      spring-aop/src/test/java/org/springframework/aop/framework/IntroductionBenchmarkTests.java
  16. 2
      spring-aop/src/test/java/org/springframework/aop/framework/MethodInvocationTests.java
  17. 2
      spring-aop/src/test/java/org/springframework/aop/framework/PrototypeTargetTests.java
  18. 2
      spring-aop/src/test/java/org/springframework/aop/interceptor/ConcurrencyThrottleInterceptorTests.java
  19. 18
      spring-aop/src/test/java/org/springframework/aop/interceptor/CustomizableTraceInterceptorTests.java
  20. 2
      spring-aop/src/test/java/org/springframework/aop/interceptor/DebugInterceptorTests.java
  21. 2
      spring-aop/src/test/java/org/springframework/aop/interceptor/ExposeBeanNameAdvisorsTests.java
  22. 2
      spring-aop/src/test/java/org/springframework/aop/interceptor/ExposeInvocationInterceptorTests.java
  23. 2
      spring-aop/src/test/java/org/springframework/aop/interceptor/PerformanceMonitorInterceptorTests.java
  24. 2
      spring-aop/src/test/java/org/springframework/aop/interceptor/SimpleTraceInterceptorTests.java
  25. 10
      spring-aop/src/test/java/org/springframework/aop/scope/DefaultScopedObjectTests.java
  26. 2
      spring-aop/src/test/java/org/springframework/aop/scope/ScopedProxyAutowireTests.java
  27. 2
      spring-aop/src/test/java/org/springframework/aop/support/AopUtilsTests.java
  28. 2
      spring-aop/src/test/java/org/springframework/aop/support/ClassFiltersTests.java
  29. 2
      spring-aop/src/test/java/org/springframework/aop/support/ControlFlowPointcutTests.java
  30. 4
      spring-aop/src/test/java/org/springframework/aop/support/DelegatingIntroductionInterceptorTests.java
  31. 2
      spring-aop/src/test/java/org/springframework/aop/support/JdkRegexpMethodPointcutTests.java
  32. 2
      spring-aop/src/test/java/org/springframework/aop/support/NameMatchMethodPointcutTests.java
  33. 2
      spring-aop/src/test/java/org/springframework/aop/support/RegexpMethodPointcutAdvisorIntegrationTests.java
  34. 2
      spring-aop/src/test/java/org/springframework/aop/target/CommonsPool2TargetSourceProxyTests.java
  35. 2
      spring-aop/src/test/java/org/springframework/aop/target/HotSwappableTargetSourceTests.java
  36. 2
      spring-aop/src/test/java/org/springframework/aop/target/LazyCreationTargetSourceTests.java
  37. 2
      spring-aop/src/test/java/org/springframework/aop/target/LazyInitTargetSourceTests.java
  38. 2
      spring-aop/src/test/java/org/springframework/aop/target/PrototypeBasedTargetSourceTests.java
  39. 2
      spring-aop/src/test/java/org/springframework/aop/target/PrototypeTargetSourceTests.java
  40. 2
      spring-aop/src/test/java/org/springframework/aop/target/dynamic/RefreshableTargetSourceTests.java
  41. 2
      spring-aspects/src/test/java/org/springframework/cache/config/SomeCustomKeyGenerator.java
  42. 2
      spring-beans/src/test/java/org/springframework/beans/BeanUtilsTests.java
  43. 2
      spring-beans/src/test/java/org/springframework/beans/BeanWrapperEnumTests.java
  44. 2
      spring-beans/src/test/java/org/springframework/beans/ConcurrentBeanWrapperTests.java
  45. 2
      spring-beans/src/test/java/org/springframework/beans/MutablePropertyValuesTests.java
  46. 2
      spring-beans/src/test/java/org/springframework/beans/PropertyAccessorUtilsTests.java
  47. 2
      spring-beans/src/test/java/org/springframework/beans/factory/BeanFactoryUtilsTests.java
  48. 2
      spring-beans/src/test/java/org/springframework/beans/factory/ConcurrentBeanFactoryTests.java
  49. 2
      spring-beans/src/test/java/org/springframework/beans/factory/annotation/AnnotationBeanWiringInfoResolverTests.java
  50. 2
      spring-beans/src/test/java/org/springframework/beans/factory/annotation/CustomAutowireConfigurerTests.java
  51. 2
      spring-beans/src/test/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessorTests.java
  52. 2
      spring-beans/src/test/java/org/springframework/beans/factory/config/CustomEditorConfigurerTests.java
  53. 8
      spring-beans/src/test/java/org/springframework/beans/factory/config/CustomScopeConfigurerTests.java
  54. 2
      spring-beans/src/test/java/org/springframework/beans/factory/config/FieldRetrievingFactoryBeanTests.java
  55. 2
      spring-beans/src/test/java/org/springframework/beans/factory/config/PropertiesFactoryBeanTests.java
  56. 12
      spring-beans/src/test/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBeanTests.java
  57. 2
      spring-beans/src/test/java/org/springframework/beans/factory/config/SimpleScopeTests.java
  58. 4
      spring-beans/src/test/java/org/springframework/beans/factory/parsing/ConstructorArgumentEntryTests.java
  59. 2
      spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java
  60. 4
      spring-beans/src/test/java/org/springframework/beans/factory/parsing/FailFastProblemReporterTests.java
  61. 2
      spring-beans/src/test/java/org/springframework/beans/factory/parsing/NullSourceExtractorTests.java
  62. 2
      spring-beans/src/test/java/org/springframework/beans/factory/parsing/PassThroughSourceExtractorTests.java
  63. 8
      spring-beans/src/test/java/org/springframework/beans/factory/parsing/PropertyEntryTests.java
  64. 2
      spring-beans/src/test/java/org/springframework/beans/factory/wiring/BeanWiringInfoTests.java
  65. 2
      spring-beans/src/test/java/org/springframework/beans/factory/wiring/ClassNameBeanWiringInfoResolverTests.java
  66. 8
      spring-beans/src/test/java/org/springframework/beans/factory/xml/DelegatingEntityResolverTests.java
  67. 2
      spring-beans/src/test/java/org/springframework/beans/factory/xml/ProfileXmlBeanDefinitionTests.java
  68. 2
      spring-beans/src/test/java/org/springframework/beans/factory/xml/support/DefaultNamespaceHandlerResolverTests.java
  69. 2
      spring-beans/src/test/java/org/springframework/beans/propertyeditors/ByteArrayPropertyEditorTests.java
  70. 2
      spring-beans/src/test/java/org/springframework/beans/propertyeditors/CharArrayPropertyEditorTests.java
  71. 8
      spring-beans/src/test/java/org/springframework/beans/propertyeditors/CustomCollectionEditorTests.java
  72. 6
      spring-context-support/src/test/java/org/springframework/mail/SimpleMailMessageTests.java
  73. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/AfterAdviceBindingTests.java
  74. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/AfterReturningAdviceBindingTests.java
  75. 14
      spring-context/src/test/java/org/springframework/aop/aspectj/AfterThrowingAdviceBindingTests.java
  76. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/AroundAdviceCircularTests.java
  77. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/AspectAndAdvicePrecedenceTests.java
  78. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/AspectJExpressionPointcutAdvisorTests.java
  79. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutTests.java
  80. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/BeforeAdviceBindingTests.java
  81. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/DeclarationOrderIndependenceTests.java
  82. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/DeclareParentsTests.java
  83. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/ImplicitJPArgumentMatchingAtAspectJTests.java
  84. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/ImplicitJPArgumentMatchingTests.java
  85. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/OverloadedAdviceTests.java
  86. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/ProceedTests.java
  87. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/PropertyDependentAspectTests.java
  88. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/SharedPointcutWithArgsMismatchTests.java
  89. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/SubtypeSensitiveMatchingTests.java
  90. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/TargetPointcutSelectionTests.java
  91. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/ThisAndTargetSelectionOnlyPointcutsAtAspectJTests.java
  92. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/ThisAndTargetSelectionOnlyPointcutsTests.java
  93. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AnnotationPointcutTests.java
  94. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectImplementingInterfaceTests.java
  95. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJAutoProxyCreatorAndLazyInitTargetSourceTests.java
  96. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJAutoProxyCreatorTests.java
  97. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AtAspectJAfterThrowingTests.java
  98. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AtAspectJAnnotationBindingTests.java
  99. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/benchmark/BenchmarkTests.java
  100. 2
      spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/spr3064/SPR3064Tests.java
  101. Some files were not shown because too many files have changed in this diff Show More

2
spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJAdviceParameterNameDiscoverAnnotationTests.java

@ -30,7 +30,7 @@ import org.junit.Test; @@ -30,7 +30,7 @@ import org.junit.Test;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class AspectJAdviceParameterNameDiscoverAnnotationTests
public class AspectJAdviceParameterNameDiscoverAnnotationTests
extends AspectJAdviceParameterNameDiscovererTests {
@Retention(RetentionPolicy.RUNTIME)

2
spring-aop/src/test/java/org/springframework/aop/aspectj/AspectJExpressionPointcutTests.java

@ -43,7 +43,7 @@ import static org.junit.Assert.*; @@ -43,7 +43,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class AspectJExpressionPointcutTests {
public class AspectJExpressionPointcutTests {
public static final String MATCH_ALL_METHODS = "execution(* *(..))";

2
spring-aop/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutMatchingTests.java

@ -28,7 +28,7 @@ import static org.junit.Assert.*; @@ -28,7 +28,7 @@ import static org.junit.Assert.*;
* @author Ramnivas Laddad
* @author Chris Beams
*/
public final class BeanNamePointcutMatchingTests {
public class BeanNamePointcutMatchingTests {
@Test
public void testMatchingPointcuts() {

2
spring-aop/src/test/java/org/springframework/aop/aspectj/MethodInvocationProceedingJoinPointTests.java

@ -44,7 +44,7 @@ import static org.junit.Assert.*; @@ -44,7 +44,7 @@ import static org.junit.Assert.*;
* @author Ramnivas Laddad
* @since 2.0
*/
public final class MethodInvocationProceedingJoinPointTests {
public class MethodInvocationProceedingJoinPointTests {
@Test
public void testingBindingWithJoinPoint() {

2
spring-aop/src/test/java/org/springframework/aop/aspectj/TigerAspectJAdviceParameterNameDiscovererTests.java

@ -27,7 +27,7 @@ import org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer.Ambi @@ -27,7 +27,7 @@ import org.springframework.aop.aspectj.AspectJAdviceParameterNameDiscoverer.Ambi
* @author Adrian Colyer
* @author Chris Beams
*/
public final class TigerAspectJAdviceParameterNameDiscovererTests
public class TigerAspectJAdviceParameterNameDiscovererTests
extends AspectJAdviceParameterNameDiscovererTests {
@Test

8
spring-aop/src/test/java/org/springframework/aop/aspectj/TypePatternClassFilterTests.java

@ -35,9 +35,9 @@ import static org.junit.Assert.*; @@ -35,9 +35,9 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class TypePatternClassFilterTests {
public class TypePatternClassFilterTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testInvalidPattern() {
// should throw - pattern must be recognized as invalid
new TypePatternClassFilter("-");
@ -78,12 +78,12 @@ public final class TypePatternClassFilterTests { @@ -78,12 +78,12 @@ public final class TypePatternClassFilterTests {
assertTrue("matches Double",tpcf.matches(Double.class));
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetTypePatternWithNullArgument() throws Exception {
new TypePatternClassFilter(null);
}
@Test(expected=IllegalStateException.class)
@Test(expected = IllegalStateException.class)
public void testInvocationOfMatchesMethodBlowsUpWhenNoTypePatternHasBeenSet() throws Exception {
new TypePatternClassFilter().matches(String.class);
}

2
spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AbstractAspectJAdvisorFactoryTests.java

@ -586,7 +586,7 @@ public abstract class AbstractAspectJAdvisorFactoryTests { @@ -586,7 +586,7 @@ public abstract class AbstractAspectJAdvisorFactoryTests {
itb.getAge();
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testDeclarePrecedenceNotSupported() {
TestBean target = new TestBean();
MetadataAwareAspectInstanceFactory aspectInstanceFactory = new SingletonMetadataAwareAspectInstanceFactory(

4
spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/ArgumentBindingTests.java

@ -39,7 +39,7 @@ import static org.junit.Assert.*; @@ -39,7 +39,7 @@ import static org.junit.Assert.*;
*/
public class ArgumentBindingTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testBindingInPointcutUsedByAdvice() {
TestBean tb = new TestBean();
AspectJProxyFactory proxyFactory = new AspectJProxyFactory(tb);
@ -49,7 +49,7 @@ public class ArgumentBindingTests { @@ -49,7 +49,7 @@ public class ArgumentBindingTests {
proxiedTestBean.setName("Supercalifragalisticexpialidocious");
}
@Test(expected=IllegalStateException.class)
@Test(expected = IllegalStateException.class)
public void testAnnotationArgumentNameBinding() {
TransactionalBean tb = new TransactionalBean();
AspectJProxyFactory proxyFactory = new AspectJProxyFactory(tb);

4
spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/AspectMetadataTests.java

@ -30,9 +30,9 @@ import static org.junit.Assert.*; @@ -30,9 +30,9 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class AspectMetadataTests {
public class AspectMetadataTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testNotAnAspect() {
new AspectMetadata(String.class,"someBean");
}

2
spring-aop/src/test/java/org/springframework/aop/aspectj/annotation/ReflectiveAspectJAdvisorFactoryTests.java

@ -23,7 +23,7 @@ package org.springframework.aop.aspectj.annotation; @@ -23,7 +23,7 @@ package org.springframework.aop.aspectj.annotation;
* @author Rod Johnson
* @since 2.0
*/
public final class ReflectiveAspectJAdvisorFactoryTests extends AbstractAspectJAdvisorFactoryTests {
public class ReflectiveAspectJAdvisorFactoryTests extends AbstractAspectJAdvisorFactoryTests {
@Override
protected AspectJAdvisorFactory getFixture() {

2
spring-aop/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJNamespaceHandlerTests.java

@ -37,7 +37,7 @@ import static org.junit.Assert.*; @@ -37,7 +37,7 @@ import static org.junit.Assert.*;
* @author Rob Harrop
* @author Chris Beams
*/
public final class AspectJNamespaceHandlerTests {
public class AspectJNamespaceHandlerTests {
private ParserContext parserContext;

2
spring-aop/src/test/java/org/springframework/aop/config/AopNamespaceHandlerEventTests.java

@ -40,7 +40,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -40,7 +40,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class AopNamespaceHandlerEventTests {
public class AopNamespaceHandlerEventTests {
private static final Class<?> CLASS = AopNamespaceHandlerEventTests.class;

2
spring-aop/src/test/java/org/springframework/aop/config/AopNamespaceHandlerPointcutErrorTests.java

@ -30,7 +30,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -30,7 +30,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Mark Fisher
* @author Chris Beams
*/
public final class AopNamespaceHandlerPointcutErrorTests {
public class AopNamespaceHandlerPointcutErrorTests {
@Test
public void testDuplicatePointcutConfig() {

2
spring-aop/src/test/java/org/springframework/aop/config/TopLevelAopTagTests.java

@ -31,7 +31,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -31,7 +31,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Rob Harrop
* @author Chris Beams
*/
public final class TopLevelAopTagTests {
public class TopLevelAopTagTests {
private static final Resource CONTEXT = qualifiedResource(TopLevelAopTagTests.class, "context.xml");

2
spring-aop/src/test/java/org/springframework/aop/framework/IntroductionBenchmarkTests.java

@ -32,7 +32,7 @@ import org.springframework.util.StopWatch; @@ -32,7 +32,7 @@ import org.springframework.util.StopWatch;
* @author Chris Beams
* @since 2.0
*/
public final class IntroductionBenchmarkTests {
public class IntroductionBenchmarkTests {
private static final int EXPECTED_COMPARE = 13;

2
spring-aop/src/test/java/org/springframework/aop/framework/MethodInvocationTests.java

@ -33,7 +33,7 @@ import static org.junit.Assert.*; @@ -33,7 +33,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 14.03.2003
*/
public final class MethodInvocationTests {
public class MethodInvocationTests {
@Test
public void testValidInvocation() throws Throwable {

2
spring-aop/src/test/java/org/springframework/aop/framework/PrototypeTargetTests.java

@ -32,7 +32,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -32,7 +32,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 03.09.2004
*/
public final class PrototypeTargetTests {
public class PrototypeTargetTests {
private static final Resource CONTEXT = qualifiedResource(PrototypeTargetTests.class, "context.xml");

2
spring-aop/src/test/java/org/springframework/aop/interceptor/ConcurrencyThrottleInterceptorTests.java

@ -34,7 +34,7 @@ import static org.junit.Assert.*; @@ -34,7 +34,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 06.04.2004
*/
public final class ConcurrencyThrottleInterceptorTests {
public class ConcurrencyThrottleInterceptorTests {
protected static final Log logger = LogFactory.getLog(ConcurrencyThrottleInterceptorTests.class);

18
spring-aop/src/test/java/org/springframework/aop/interceptor/CustomizableTraceInterceptorTests.java

@ -29,51 +29,51 @@ import static org.mockito.BDDMockito.*; @@ -29,51 +29,51 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class CustomizableTraceInterceptorTests {
public class CustomizableTraceInterceptorTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetEmptyEnterMessage() {
// Must not be able to set empty enter message
new CustomizableTraceInterceptor().setEnterMessage("");
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetEnterMessageWithReturnValuePlaceholder() {
// Must not be able to set enter message with return value placeholder
new CustomizableTraceInterceptor().setEnterMessage(CustomizableTraceInterceptor.PLACEHOLDER_RETURN_VALUE);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetEnterMessageWithExceptionPlaceholder() {
// Must not be able to set enter message with exception placeholder
new CustomizableTraceInterceptor().setEnterMessage(CustomizableTraceInterceptor.PLACEHOLDER_EXCEPTION);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetEnterMessageWithInvocationTimePlaceholder() {
// Must not be able to set enter message with invocation time placeholder
new CustomizableTraceInterceptor().setEnterMessage(CustomizableTraceInterceptor.PLACEHOLDER_INVOCATION_TIME);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetEmptyExitMessage() {
// Must not be able to set empty exit message
new CustomizableTraceInterceptor().setExitMessage("");
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetExitMessageWithExceptionPlaceholder() {
// Must not be able to set exit message with exception placeholder
new CustomizableTraceInterceptor().setExitMessage(CustomizableTraceInterceptor.PLACEHOLDER_EXCEPTION);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetEmptyExceptionMessage() {
// Must not be able to set empty exception message
new CustomizableTraceInterceptor().setExceptionMessage("");
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testSetExceptionMethodWithReturnValuePlaceholder() {
// Must not be able to set exception message with return value placeholder
new CustomizableTraceInterceptor().setExceptionMessage(CustomizableTraceInterceptor.PLACEHOLDER_RETURN_VALUE);

2
spring-aop/src/test/java/org/springframework/aop/interceptor/DebugInterceptorTests.java

@ -29,7 +29,7 @@ import static org.mockito.BDDMockito.*; @@ -29,7 +29,7 @@ import static org.mockito.BDDMockito.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class DebugInterceptorTests {
public class DebugInterceptorTests {
@Test
public void testSunnyDayPathLogsCorrectly() throws Throwable {

2
spring-aop/src/test/java/org/springframework/aop/interceptor/ExposeBeanNameAdvisorsTests.java

@ -29,7 +29,7 @@ import static org.junit.Assert.*; @@ -29,7 +29,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class ExposeBeanNameAdvisorsTests {
public class ExposeBeanNameAdvisorsTests {
private class RequiresBeanNameBoundTestBean extends TestBean {
private final String beanName;

2
spring-aop/src/test/java/org/springframework/aop/interceptor/ExposeInvocationInterceptorTests.java

@ -34,7 +34,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -34,7 +34,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class ExposeInvocationInterceptorTests {
public class ExposeInvocationInterceptorTests {
private static final Resource CONTEXT =
qualifiedResource(ExposeInvocationInterceptorTests.class, "context.xml");

2
spring-aop/src/test/java/org/springframework/aop/interceptor/PerformanceMonitorInterceptorTests.java

@ -28,7 +28,7 @@ import static org.mockito.BDDMockito.*; @@ -28,7 +28,7 @@ import static org.mockito.BDDMockito.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class PerformanceMonitorInterceptorTests {
public class PerformanceMonitorInterceptorTests {
@Test
public void testSuffixAndPrefixAssignment() {

2
spring-aop/src/test/java/org/springframework/aop/interceptor/SimpleTraceInterceptorTests.java

@ -29,7 +29,7 @@ import static org.mockito.BDDMockito.*; @@ -29,7 +29,7 @@ import static org.mockito.BDDMockito.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class SimpleTraceInterceptorTests {
public class SimpleTraceInterceptorTests {
@Test
public void testSunnyDayPathLogsCorrectly() throws Throwable {

10
spring-aop/src/test/java/org/springframework/aop/scope/DefaultScopedObjectTests.java

@ -28,27 +28,27 @@ import static org.mockito.BDDMockito.*; @@ -28,27 +28,27 @@ import static org.mockito.BDDMockito.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class DefaultScopedObjectTests {
public class DefaultScopedObjectTests {
private static final String GOOD_BEAN_NAME = "foo";
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWithNullBeanFactory() throws Exception {
new DefaultScopedObject(null, GOOD_BEAN_NAME);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWithNullTargetBeanName() throws Exception {
testBadTargetBeanName(null);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWithEmptyTargetBeanName() throws Exception {
testBadTargetBeanName("");
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWithJustWhitespacedTargetBeanName() throws Exception {
testBadTargetBeanName(" ");
}

2
spring-aop/src/test/java/org/springframework/aop/scope/ScopedProxyAutowireTests.java

@ -29,7 +29,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -29,7 +29,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Mark Fisher
* @author Chris Beams
*/
public final class ScopedProxyAutowireTests {
public class ScopedProxyAutowireTests {
private static final Class<?> CLASS = ScopedProxyAutowireTests.class;

2
spring-aop/src/test/java/org/springframework/aop/support/AopUtilsTests.java

@ -35,7 +35,7 @@ import static org.junit.Assert.*; @@ -35,7 +35,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class AopUtilsTests {
public class AopUtilsTests {
@Test
public void testPointcutCanNeverApply() {

2
spring-aop/src/test/java/org/springframework/aop/support/ClassFiltersTests.java

@ -29,7 +29,7 @@ import static org.junit.Assert.*; @@ -29,7 +29,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class ClassFiltersTests {
public class ClassFiltersTests {
private ClassFilter exceptionFilter = new RootClassFilter(Exception.class);

2
spring-aop/src/test/java/org/springframework/aop/support/ControlFlowPointcutTests.java

@ -30,7 +30,7 @@ import static org.junit.Assert.*; @@ -30,7 +30,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class ControlFlowPointcutTests {
public class ControlFlowPointcutTests {
@Test
public void testMatches() {

4
spring-aop/src/test/java/org/springframework/aop/support/DelegatingIntroductionInterceptorTests.java

@ -43,9 +43,9 @@ import static org.mockito.BDDMockito.*; @@ -43,9 +43,9 @@ import static org.mockito.BDDMockito.*;
* @author Chris Beams
* @since 13.05.2003
*/
public final class DelegatingIntroductionInterceptorTests {
public class DelegatingIntroductionInterceptorTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testNullTarget() throws Exception {
// Shouldn't accept null target
new DelegatingIntroductionInterceptor(null);

2
spring-aop/src/test/java/org/springframework/aop/support/JdkRegexpMethodPointcutTests.java

@ -19,7 +19,7 @@ package org.springframework.aop.support; @@ -19,7 +19,7 @@ package org.springframework.aop.support;
/**
* @author Dmitriy Kopylenko
*/
public final class JdkRegexpMethodPointcutTests extends AbstractRegexpMethodPointcutTests {
public class JdkRegexpMethodPointcutTests extends AbstractRegexpMethodPointcutTests {
@Override
protected AbstractRegexpMethodPointcut getRegexpMethodPointcut() {

2
spring-aop/src/test/java/org/springframework/aop/support/NameMatchMethodPointcutTests.java

@ -33,7 +33,7 @@ import static org.junit.Assert.*; @@ -33,7 +33,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class NameMatchMethodPointcutTests {
public class NameMatchMethodPointcutTests {
protected NameMatchMethodPointcut pc;

2
spring-aop/src/test/java/org/springframework/aop/support/RegexpMethodPointcutAdvisorIntegrationTests.java

@ -36,7 +36,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -36,7 +36,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class RegexpMethodPointcutAdvisorIntegrationTests {
public class RegexpMethodPointcutAdvisorIntegrationTests {
private static final Resource CONTEXT =
qualifiedResource(RegexpMethodPointcutAdvisorIntegrationTests.class, "context.xml");

2
spring-aop/src/test/java/org/springframework/aop/target/CommonsPool2TargetSourceProxyTests.java

@ -30,7 +30,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -30,7 +30,7 @@ import static org.springframework.tests.TestResourceUtils.*;
/**
* @author Stephane Nicoll
*/
public final class CommonsPool2TargetSourceProxyTests {
public class CommonsPool2TargetSourceProxyTests {
private static final Resource CONTEXT =
qualifiedResource(CommonsPool2TargetSourceProxyTests.class, "context.xml");

2
spring-aop/src/test/java/org/springframework/aop/target/HotSwappableTargetSourceTests.java

@ -39,7 +39,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -39,7 +39,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class HotSwappableTargetSourceTests {
public class HotSwappableTargetSourceTests {
private static final Resource CONTEXT = qualifiedResource(HotSwappableTargetSourceTests.class, "context.xml");

2
spring-aop/src/test/java/org/springframework/aop/target/LazyCreationTargetSourceTests.java

@ -28,7 +28,7 @@ import static org.junit.Assert.*; @@ -28,7 +28,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class LazyCreationTargetSourceTests {
public class LazyCreationTargetSourceTests {
@Test
public void testCreateLazy() {

2
spring-aop/src/test/java/org/springframework/aop/target/LazyInitTargetSourceTests.java

@ -34,7 +34,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -34,7 +34,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 07.01.2005
*/
public final class LazyInitTargetSourceTests {
public class LazyInitTargetSourceTests {
private static final Class<?> CLASS = LazyInitTargetSourceTests.class;

2
spring-aop/src/test/java/org/springframework/aop/target/PrototypeBasedTargetSourceTests.java

@ -35,7 +35,7 @@ import static org.junit.Assert.*; @@ -35,7 +35,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class PrototypeBasedTargetSourceTests {
public class PrototypeBasedTargetSourceTests {
@Test
public void testSerializability() throws Exception {

2
spring-aop/src/test/java/org/springframework/aop/target/PrototypeTargetSourceTests.java

@ -33,7 +33,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -33,7 +33,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class PrototypeTargetSourceTests {
public class PrototypeTargetSourceTests {
private static final Resource CONTEXT = qualifiedResource(PrototypeTargetSourceTests.class, "context.xml");

2
spring-aop/src/test/java/org/springframework/aop/target/dynamic/RefreshableTargetSourceTests.java

@ -27,7 +27,7 @@ import static org.junit.Assert.*; @@ -27,7 +27,7 @@ import static org.junit.Assert.*;
* @author Rob Harrop
* @author Chris Beams
*/
public final class RefreshableTargetSourceTests {
public class RefreshableTargetSourceTests {
/**
* Test what happens when checking for refresh but not refreshing object.

2
spring-aspects/src/test/java/org/springframework/cache/config/SomeCustomKeyGenerator.java vendored

@ -26,7 +26,7 @@ import org.springframework.cache.interceptor.KeyGenerator; @@ -26,7 +26,7 @@ import org.springframework.cache.interceptor.KeyGenerator;
*
* @author Stephane Nicoll
*/
public final class SomeCustomKeyGenerator implements KeyGenerator {
public class SomeCustomKeyGenerator implements KeyGenerator {
@Override
public Object generate(Object target, Method method, Object... params) {

2
spring-beans/src/test/java/org/springframework/beans/BeanUtilsTests.java

@ -42,7 +42,7 @@ import static org.junit.Assert.*; @@ -42,7 +42,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 19.05.2003
*/
public final class BeanUtilsTests {
public class BeanUtilsTests {
@Test
public void testInstantiateClass() {

2
spring-beans/src/test/java/org/springframework/beans/BeanWrapperEnumTests.java

@ -31,7 +31,7 @@ import static org.junit.Assert.*; @@ -31,7 +31,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class BeanWrapperEnumTests {
public class BeanWrapperEnumTests {
@Test
public void testCustomEnum() {

2
spring-beans/src/test/java/org/springframework/beans/ConcurrentBeanWrapperTests.java

@ -36,7 +36,7 @@ import static org.junit.Assert.*; @@ -36,7 +36,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 08.03.2004
*/
public final class ConcurrentBeanWrapperTests {
public class ConcurrentBeanWrapperTests {
private final Log logger = LogFactory.getLog(getClass());

2
spring-beans/src/test/java/org/springframework/beans/MutablePropertyValuesTests.java

@ -26,7 +26,7 @@ import static org.junit.Assert.*; @@ -26,7 +26,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class MutablePropertyValuesTests extends AbstractPropertyValuesTests {
public class MutablePropertyValuesTests extends AbstractPropertyValuesTests {
@Test
public void testValid() throws Exception {

2
spring-beans/src/test/java/org/springframework/beans/PropertyAccessorUtilsTests.java

@ -26,7 +26,7 @@ import static org.junit.Assert.*; @@ -26,7 +26,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class PropertyAccessorUtilsTests {
public class PropertyAccessorUtilsTests {
@Test
public void testCanonicalPropertyName() {

2
spring-beans/src/test/java/org/springframework/beans/factory/BeanFactoryUtilsTests.java

@ -43,7 +43,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -43,7 +43,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 04.07.2003
*/
public final class BeanFactoryUtilsTests {
public class BeanFactoryUtilsTests {
private static final Class<?> CLASS = BeanFactoryUtilsTests.class;
private static final Resource ROOT_CONTEXT = qualifiedResource(CLASS, "root.xml");

2
spring-beans/src/test/java/org/springframework/beans/factory/ConcurrentBeanFactoryTests.java

@ -48,7 +48,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -48,7 +48,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 10.03.2004
*/
public final class ConcurrentBeanFactoryTests {
public class ConcurrentBeanFactoryTests {
private static final Log logger = LogFactory.getLog(ConcurrentBeanFactoryTests.class);
private static final Resource CONTEXT = qualifiedResource(ConcurrentBeanFactoryTests.class, "context.xml");

2
spring-beans/src/test/java/org/springframework/beans/factory/annotation/AnnotationBeanWiringInfoResolverTests.java

@ -26,7 +26,7 @@ import static org.junit.Assert.*; @@ -26,7 +26,7 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class AnnotationBeanWiringInfoResolverTests {
public class AnnotationBeanWiringInfoResolverTests {
@Test
public void testResolveWiringInfo() throws Exception {

2
spring-beans/src/test/java/org/springframework/beans/factory/annotation/CustomAutowireConfigurerTests.java

@ -36,7 +36,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -36,7 +36,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class CustomAutowireConfigurerTests {
public class CustomAutowireConfigurerTests {
private static final Resource CONTEXT = qualifiedResource(CustomAutowireConfigurerTests.class, "context.xml");

2
spring-beans/src/test/java/org/springframework/beans/factory/annotation/RequiredAnnotationBeanPostProcessorTests.java

@ -39,7 +39,7 @@ import static org.junit.Assert.*; @@ -39,7 +39,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 2.0
*/
public final class RequiredAnnotationBeanPostProcessorTests {
public class RequiredAnnotationBeanPostProcessorTests {
@Test
public void testWithRequiredPropertyOmitted() {

2
spring-beans/src/test/java/org/springframework/beans/factory/config/CustomEditorConfigurerTests.java

@ -42,7 +42,7 @@ import static org.junit.Assert.*; @@ -42,7 +42,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 31.07.2004
*/
public final class CustomEditorConfigurerTests {
public class CustomEditorConfigurerTests {
@Test
public void testCustomEditorConfigurerWithPropertyEditorRegistrar() throws ParseException {

8
spring-beans/src/test/java/org/springframework/beans/factory/config/CustomScopeConfigurerTests.java

@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.*; @@ -34,7 +34,7 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class CustomScopeConfigurerTests {
public class CustomScopeConfigurerTests {
private static final String FOO_SCOPE = "fooScope";
private ConfigurableListableBeanFactory factory;
@ -81,7 +81,7 @@ public final class CustomScopeConfigurerTests { @@ -81,7 +81,7 @@ public final class CustomScopeConfigurerTests {
assertTrue(factory.getRegisteredScope(FOO_SCOPE) instanceof NoOpScope);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testWhereScopeMapHasNullScopeValueInEntrySet() throws Exception {
Map<String, Object> scopes = new HashMap<>();
scopes.put(FOO_SCOPE, null);
@ -90,7 +90,7 @@ public final class CustomScopeConfigurerTests { @@ -90,7 +90,7 @@ public final class CustomScopeConfigurerTests {
figurer.postProcessBeanFactory(factory);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testWhereScopeMapHasNonScopeInstanceInEntrySet() throws Exception {
Map<String, Object> scopes = new HashMap<>();
scopes.put(FOO_SCOPE, this); // <-- not a valid value...
@ -100,7 +100,7 @@ public final class CustomScopeConfigurerTests { @@ -100,7 +100,7 @@ public final class CustomScopeConfigurerTests {
}
@SuppressWarnings("unchecked")
@Test(expected=ClassCastException.class)
@Test(expected = ClassCastException.class)
public void testWhereScopeMapHasNonStringTypedScopeNameInKeySet() throws Exception {
Map scopes = new HashMap();
scopes.put(this, new NoOpScope()); // <-- not a valid value (the key)...

2
spring-beans/src/test/java/org/springframework/beans/factory/config/FieldRetrievingFactoryBeanTests.java

@ -35,7 +35,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -35,7 +35,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 31.07.2004
*/
public final class FieldRetrievingFactoryBeanTests {
public class FieldRetrievingFactoryBeanTests {
private static final Resource CONTEXT =
qualifiedResource(FieldRetrievingFactoryBeanTests.class, "context.xml");

2
spring-beans/src/test/java/org/springframework/beans/factory/config/PropertiesFactoryBeanTests.java

@ -32,7 +32,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -32,7 +32,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 01.11.2003
*/
public final class PropertiesFactoryBeanTests {
public class PropertiesFactoryBeanTests {
private static final Class<?> CLASS = PropertiesFactoryBeanTests.class;
private static final Resource TEST_PROPS = qualifiedResource(CLASS, "test.properties");

12
spring-beans/src/test/java/org/springframework/beans/factory/config/ServiceLocatorFactoryBeanTests.java

@ -38,7 +38,7 @@ import static org.springframework.beans.factory.support.BeanDefinitionBuilder.*; @@ -38,7 +38,7 @@ import static org.springframework.beans.factory.support.BeanDefinitionBuilder.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class ServiceLocatorFactoryBeanTests {
public class ServiceLocatorFactoryBeanTests {
private DefaultListableBeanFactory bf;
@ -237,12 +237,12 @@ public final class ServiceLocatorFactoryBeanTests { @@ -237,12 +237,12 @@ public final class ServiceLocatorFactoryBeanTests {
assertTrue(testBean4 instanceof ExtendedTestService);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testNoServiceLocatorInterfaceSupplied() throws Exception {
new ServiceLocatorFactoryBean().afterPropertiesSet();
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testWhenServiceLocatorInterfaceIsNotAnInterfaceType() throws Exception {
ServiceLocatorFactoryBean factory = new ServiceLocatorFactoryBean();
factory.setServiceLocatorInterface(getClass());
@ -250,14 +250,14 @@ public final class ServiceLocatorFactoryBeanTests { @@ -250,14 +250,14 @@ public final class ServiceLocatorFactoryBeanTests {
// should throw, bad (non-interface-type) serviceLocator interface supplied
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testWhenServiceLocatorExceptionClassToExceptionTypeWithOnlyNoArgCtor() throws Exception {
ServiceLocatorFactoryBean factory = new ServiceLocatorFactoryBean();
factory.setServiceLocatorExceptionClass(ExceptionClassWithOnlyZeroArgCtor.class);
// should throw, bad (invalid-Exception-type) serviceLocatorException class supplied
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
@SuppressWarnings("unchecked")
public void testWhenServiceLocatorExceptionClassIsNotAnExceptionSubclass() throws Exception {
ServiceLocatorFactoryBean factory = new ServiceLocatorFactoryBean();
@ -265,7 +265,7 @@ public final class ServiceLocatorFactoryBeanTests { @@ -265,7 +265,7 @@ public final class ServiceLocatorFactoryBeanTests {
// should throw, bad (non-Exception-type) serviceLocatorException class supplied
}
@Test(expected=UnsupportedOperationException.class)
@Test(expected = UnsupportedOperationException.class)
public void testWhenServiceLocatorMethodCalledWithTooManyParameters() throws Exception {
ServiceLocatorFactoryBean factory = new ServiceLocatorFactoryBean();
factory.setServiceLocatorInterface(ServiceLocatorInterfaceWithExtraNonCompliantMethod.class);

2
spring-beans/src/test/java/org/springframework/beans/factory/config/SimpleScopeTests.java

@ -38,7 +38,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -38,7 +38,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class SimpleScopeTests {
public class SimpleScopeTests {
private static final Resource CONTEXT = qualifiedResource(SimpleScopeTests.class, "context.xml");

4
spring-beans/src/test/java/org/springframework/beans/factory/parsing/ConstructorArgumentEntryTests.java

@ -24,9 +24,9 @@ import org.junit.Test; @@ -24,9 +24,9 @@ import org.junit.Test;
* @author Rick Evans
* @author Chris Beams
*/
public final class ConstructorArgumentEntryTests {
public class ConstructorArgumentEntryTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorBailsOnNegativeCtorIndexArgument() {
new ConstructorArgumentEntry(-1);
}

2
spring-beans/src/test/java/org/springframework/beans/factory/parsing/CustomProblemReporterTests.java

@ -35,7 +35,7 @@ import static org.springframework.tests.TestResourceUtils.*; @@ -35,7 +35,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 2.0
*/
public final class CustomProblemReporterTests {
public class CustomProblemReporterTests {
private static final Resource CONTEXT = qualifiedResource(CustomProblemReporterTests.class, "context.xml");

4
spring-beans/src/test/java/org/springframework/beans/factory/parsing/FailFastProblemReporterTests.java

@ -28,9 +28,9 @@ import static org.mockito.BDDMockito.*; @@ -28,9 +28,9 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class FailFastProblemReporterTests {
public class FailFastProblemReporterTests {
@Test(expected=BeanDefinitionParsingException.class)
@Test(expected = BeanDefinitionParsingException.class)
public void testError() throws Exception {
FailFastProblemReporter reporter = new FailFastProblemReporter();
reporter.error(new Problem("VGER", new Location(new DescriptiveResource("here")),

2
spring-beans/src/test/java/org/springframework/beans/factory/parsing/NullSourceExtractorTests.java

@ -24,7 +24,7 @@ import static org.junit.Assert.*; @@ -24,7 +24,7 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class NullSourceExtractorTests {
public class NullSourceExtractorTests {
@Test
public void testPassThroughContract() throws Exception {

2
spring-beans/src/test/java/org/springframework/beans/factory/parsing/PassThroughSourceExtractorTests.java

@ -26,7 +26,7 @@ import static org.junit.Assert.*; @@ -26,7 +26,7 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class PassThroughSourceExtractorTests {
public class PassThroughSourceExtractorTests {
@Test
public void testPassThroughContract() throws Exception {

8
spring-beans/src/test/java/org/springframework/beans/factory/parsing/PropertyEntryTests.java

@ -24,19 +24,19 @@ import org.junit.Test; @@ -24,19 +24,19 @@ import org.junit.Test;
* @author Rick Evans
* @author Chris Beams
*/
public final class PropertyEntryTests {
public class PropertyEntryTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorBailsOnNullPropertyNameArgument() throws Exception {
new PropertyEntry(null);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorBailsOnEmptyPropertyNameArgument() throws Exception {
new PropertyEntry("");
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorBailsOnWhitespacedPropertyNameArgument() throws Exception {
new PropertyEntry("\t ");
}

2
spring-beans/src/test/java/org/springframework/beans/factory/wiring/BeanWiringInfoTests.java

@ -26,7 +26,7 @@ import static org.junit.Assert.*; @@ -26,7 +26,7 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Sam Brannen
*/
public final class BeanWiringInfoTests {
public class BeanWiringInfoTests {
@Test(expected = IllegalArgumentException.class)
public void ctorWithNullBeanName() throws Exception {

2
spring-beans/src/test/java/org/springframework/beans/factory/wiring/ClassNameBeanWiringInfoResolverTests.java

@ -25,7 +25,7 @@ import static org.junit.Assert.*; @@ -25,7 +25,7 @@ import static org.junit.Assert.*;
*
* @author Rick Evans
*/
public final class ClassNameBeanWiringInfoResolverTests {
public class ClassNameBeanWiringInfoResolverTests {
@Test(expected = IllegalArgumentException.class)
public void resolveWiringInfoWithNullBeanInstance() throws Exception {

8
spring-beans/src/test/java/org/springframework/beans/factory/xml/DelegatingEntityResolverTests.java

@ -26,19 +26,19 @@ import org.xml.sax.InputSource; @@ -26,19 +26,19 @@ import org.xml.sax.InputSource;
* @author Rick Evans
* @author Chris Beams
*/
public final class DelegatingEntityResolverTests {
public class DelegatingEntityResolverTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWhereDtdEntityResolverIsNull() throws Exception {
new DelegatingEntityResolver(null, new NoOpEntityResolver());
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWhereSchemaEntityResolverIsNull() throws Exception {
new DelegatingEntityResolver(new NoOpEntityResolver(), null);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWhereEntityResolversAreBothNull() throws Exception {
new DelegatingEntityResolver(null, null);
}

2
spring-beans/src/test/java/org/springframework/beans/factory/xml/ProfileXmlBeanDefinitionTests.java

@ -61,7 +61,7 @@ public class ProfileXmlBeanDefinitionTests { @@ -61,7 +61,7 @@ public class ProfileXmlBeanDefinitionTests {
private static final String TARGET_BEAN = "foo";
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testProfileValidation() {
beanFactoryFor(PROD_ELIGIBLE_XML, NULL_ACTIVE);
}

2
spring-beans/src/test/java/org/springframework/beans/factory/xml/support/DefaultNamespaceHandlerResolverTests.java

@ -77,7 +77,7 @@ public class DefaultNamespaceHandlerResolverTests { @@ -77,7 +77,7 @@ public class DefaultNamespaceHandlerResolverTests {
new DefaultNamespaceHandlerResolver(null);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWithNullClassLoaderArgumentAndNullMappingLocationArgument() throws Exception {
new DefaultNamespaceHandlerResolver(null, null);
}

2
spring-beans/src/test/java/org/springframework/beans/propertyeditors/ByteArrayPropertyEditorTests.java

@ -27,7 +27,7 @@ import static org.junit.Assert.*; @@ -27,7 +27,7 @@ import static org.junit.Assert.*;
*
* @author Rick Evans
*/
public final class ByteArrayPropertyEditorTests {
public class ByteArrayPropertyEditorTests {
private final PropertyEditor byteEditor = new ByteArrayPropertyEditor();

2
spring-beans/src/test/java/org/springframework/beans/propertyeditors/CharArrayPropertyEditorTests.java

@ -27,7 +27,7 @@ import static org.junit.Assert.*; @@ -27,7 +27,7 @@ import static org.junit.Assert.*;
*
* @author Rick Evans
*/
public final class CharArrayPropertyEditorTests {
public class CharArrayPropertyEditorTests {
private final PropertyEditor charEditor = new CharArrayPropertyEditor();

8
spring-beans/src/test/java/org/springframework/beans/propertyeditors/CustomCollectionEditorTests.java

@ -30,20 +30,20 @@ import static org.junit.Assert.*; @@ -30,20 +30,20 @@ import static org.junit.Assert.*;
* @author Rick Evans
* @author Chris Beams
*/
public final class CustomCollectionEditorTests {
public class CustomCollectionEditorTests {
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCtorWithNullCollectionType() throws Exception {
new CustomCollectionEditor(null);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
@SuppressWarnings("unchecked")
public void testCtorWithNonCollectionType() throws Exception {
new CustomCollectionEditor((Class) String.class);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testWithCollectionTypeThatDoesNotExposeAPublicNoArgCtor() throws Exception {
CustomCollectionEditor editor = new CustomCollectionEditor(CollectionTypeWithNoNoArgCtor.class);
editor.setValue("1");

6
spring-context-support/src/test/java/org/springframework/mail/SimpleMailMessageTests.java

@ -31,7 +31,7 @@ import static org.junit.Assert.*; @@ -31,7 +31,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 10.09.2003
*/
public final class SimpleMailMessageTests {
public class SimpleMailMessageTests {
@Test
public void testSimpleMessageCopyCtor() {
@ -155,12 +155,12 @@ public final class SimpleMailMessageTests { @@ -155,12 +155,12 @@ public final class SimpleMailMessageTests {
assertTrue(message1.equals(message2));
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCopyCtorChokesOnNullOriginalMessage() throws Exception {
new SimpleMailMessage(null);
}
@Test(expected=IllegalArgumentException.class)
@Test(expected = IllegalArgumentException.class)
public void testCopyToChokesOnNullTargetMessage() throws Exception {
new SimpleMailMessage().copyTo(null);
}

2
spring-context/src/test/java/org/springframework/aop/aspectj/AfterAdviceBindingTests.java

@ -36,7 +36,7 @@ import static org.mockito.BDDMockito.*; @@ -36,7 +36,7 @@ import static org.mockito.BDDMockito.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class AfterAdviceBindingTests {
public class AfterAdviceBindingTests {
private AdviceBindingCollaborator mockCollaborator;

2
spring-context/src/test/java/org/springframework/aop/aspectj/AfterReturningAdviceBindingTests.java

@ -37,7 +37,7 @@ import static org.mockito.BDDMockito.*; @@ -37,7 +37,7 @@ import static org.mockito.BDDMockito.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class AfterReturningAdviceBindingTests {
public class AfterReturningAdviceBindingTests {
private AfterReturningAdviceBindingTestAspect afterAdviceAspect;

14
spring-context/src/test/java/org/springframework/aop/aspectj/AfterThrowingAdviceBindingTests.java

@ -31,7 +31,7 @@ import static org.mockito.BDDMockito.*; @@ -31,7 +31,7 @@ import static org.mockito.BDDMockito.*;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class AfterThrowingAdviceBindingTests {
public class AfterThrowingAdviceBindingTests {
private ITestBean testBean;
@ -51,20 +51,20 @@ public final class AfterThrowingAdviceBindingTests { @@ -51,20 +51,20 @@ public final class AfterThrowingAdviceBindingTests {
afterThrowingAdviceAspect.setCollaborator(mockCollaborator);
}
@Test(expected=Throwable.class)
@Test(expected = Throwable.class)
public void testSimpleAfterThrowing() throws Throwable {
this.testBean.exceptional(new Throwable());
verify(mockCollaborator).noArgs();
}
@Test(expected=Throwable.class)
@Test(expected = Throwable.class)
public void testAfterThrowingWithBinding() throws Throwable {
Throwable t = new Throwable();
this.testBean.exceptional(t);
verify(mockCollaborator).oneThrowable(t);
}
@Test(expected=Throwable.class)
@Test(expected = Throwable.class)
public void testAfterThrowingWithNamedTypeRestriction() throws Throwable {
Throwable t = new Throwable();
this.testBean.exceptional(t);
@ -73,20 +73,20 @@ public final class AfterThrowingAdviceBindingTests { @@ -73,20 +73,20 @@ public final class AfterThrowingAdviceBindingTests {
verify(mockCollaborator).noArgsOnThrowableMatch();
}
@Test(expected=Throwable.class)
@Test(expected = Throwable.class)
public void testAfterThrowingWithRuntimeExceptionBinding() throws Throwable {
RuntimeException ex = new RuntimeException();
this.testBean.exceptional(ex);
verify(mockCollaborator).oneRuntimeException(ex);
}
@Test(expected=Throwable.class)
@Test(expected = Throwable.class)
public void testAfterThrowingWithTypeSpecified() throws Throwable {
this.testBean.exceptional(new Throwable());
verify(mockCollaborator).noArgsOnThrowableMatch();
}
@Test(expected=Throwable.class)
@Test(expected = Throwable.class)
public void testAfterThrowingWithRuntimeTypeSpecified() throws Throwable {
this.testBean.exceptional(new RuntimeException());
verify(mockCollaborator).noArgsOnRuntimeExceptionMatch();

2
spring-context/src/test/java/org/springframework/aop/aspectj/AroundAdviceCircularTests.java

@ -26,7 +26,7 @@ import static org.junit.Assert.*; @@ -26,7 +26,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class AroundAdviceCircularTests extends AroundAdviceBindingTests {
public class AroundAdviceCircularTests extends AroundAdviceBindingTests {
@Test
public void testBothBeansAreProxies() {

2
spring-context/src/test/java/org/springframework/aop/aspectj/AspectAndAdvicePrecedenceTests.java

@ -34,7 +34,7 @@ import static org.junit.Assert.*; @@ -34,7 +34,7 @@ import static org.junit.Assert.*;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class AspectAndAdvicePrecedenceTests {
public class AspectAndAdvicePrecedenceTests {
private PrecedenceTestAspect highPrecedenceAspect;

2
spring-context/src/test/java/org/springframework/aop/aspectj/AspectJExpressionPointcutAdvisorTests.java

@ -31,7 +31,7 @@ import static org.junit.Assert.*; @@ -31,7 +31,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class AspectJExpressionPointcutAdvisorTests {
public class AspectJExpressionPointcutAdvisorTests {
private ITestBean testBean;

2
spring-context/src/test/java/org/springframework/aop/aspectj/BeanNamePointcutTests.java

@ -37,7 +37,7 @@ import static org.junit.Assert.*; @@ -37,7 +37,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class BeanNamePointcutTests {
public class BeanNamePointcutTests {
private ITestBean testBean1;
private ITestBean testBean2;

2
spring-context/src/test/java/org/springframework/aop/aspectj/BeforeAdviceBindingTests.java

@ -36,7 +36,7 @@ import static org.mockito.BDDMockito.*; @@ -36,7 +36,7 @@ import static org.mockito.BDDMockito.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class BeforeAdviceBindingTests {
public class BeforeAdviceBindingTests {
private AdviceBindingCollaborator mockCollaborator;

2
spring-context/src/test/java/org/springframework/aop/aspectj/DeclarationOrderIndependenceTests.java

@ -31,7 +31,7 @@ import static org.junit.Assert.*; @@ -31,7 +31,7 @@ import static org.junit.Assert.*;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class DeclarationOrderIndependenceTests {
public class DeclarationOrderIndependenceTests {
private TopsyTurvyAspect aspect;

2
spring-context/src/test/java/org/springframework/aop/aspectj/DeclareParentsTests.java

@ -33,7 +33,7 @@ import static org.junit.Assert.*; @@ -33,7 +33,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class DeclareParentsTests {
public class DeclareParentsTests {
private ITestBean testBeanProxy;

2
spring-context/src/test/java/org/springframework/aop/aspectj/ImplicitJPArgumentMatchingAtAspectJTests.java

@ -30,7 +30,7 @@ import org.springframework.tests.sample.beans.TestBean; @@ -30,7 +30,7 @@ import org.springframework.tests.sample.beans.TestBean;
* @author Ramnivas Laddad
* @author Chris Beams
*/
public final class ImplicitJPArgumentMatchingAtAspectJTests {
public class ImplicitJPArgumentMatchingAtAspectJTests {
@Test
public void testAspect() {

2
spring-context/src/test/java/org/springframework/aop/aspectj/ImplicitJPArgumentMatchingTests.java

@ -27,7 +27,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext; @@ -27,7 +27,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
* @author Ramnivas Laddad
* @author Chris Beams
*/
public final class ImplicitJPArgumentMatchingTests {
public class ImplicitJPArgumentMatchingTests {
@Test
public void testAspect() {

2
spring-context/src/test/java/org/springframework/aop/aspectj/OverloadedAdviceTests.java

@ -29,7 +29,7 @@ import static org.junit.Assert.*; @@ -29,7 +29,7 @@ import static org.junit.Assert.*;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class OverloadedAdviceTests {
public class OverloadedAdviceTests {
@Test
public void testExceptionOnConfigParsingWithMismatchedAdviceMethod() {

2
spring-context/src/test/java/org/springframework/aop/aspectj/ProceedTests.java

@ -33,7 +33,7 @@ import static org.junit.Assert.*; @@ -33,7 +33,7 @@ import static org.junit.Assert.*;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class ProceedTests {
public class ProceedTests {
private SimpleBean testBean;

2
spring-context/src/test/java/org/springframework/aop/aspectj/PropertyDependentAspectTests.java

@ -36,7 +36,7 @@ import static org.junit.Assert.*; @@ -36,7 +36,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
*/
@SuppressWarnings("resource")
public final class PropertyDependentAspectTests {
public class PropertyDependentAspectTests {
@Test
public void propertyDependentAspectWithPropertyDeclaredBeforeAdvice()

2
spring-context/src/test/java/org/springframework/aop/aspectj/SharedPointcutWithArgsMismatchTests.java

@ -27,7 +27,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext; @@ -27,7 +27,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class SharedPointcutWithArgsMismatchTests {
public class SharedPointcutWithArgsMismatchTests {
private ToBeAdvised toBeAdvised;

2
spring-context/src/test/java/org/springframework/aop/aspectj/SubtypeSensitiveMatchingTests.java

@ -30,7 +30,7 @@ import static org.junit.Assert.*; @@ -30,7 +30,7 @@ import static org.junit.Assert.*;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class SubtypeSensitiveMatchingTests {
public class SubtypeSensitiveMatchingTests {
private NonSerializableFoo nonSerializableBean;

2
spring-context/src/test/java/org/springframework/aop/aspectj/TargetPointcutSelectionTests.java

@ -33,7 +33,7 @@ import static org.junit.Assert.*; @@ -33,7 +33,7 @@ import static org.junit.Assert.*;
* @author Ramnivas Laddad
* @author Chris Beams
*/
public final class TargetPointcutSelectionTests {
public class TargetPointcutSelectionTests {
public TestInterface testImpl1;

2
spring-context/src/test/java/org/springframework/aop/aspectj/ThisAndTargetSelectionOnlyPointcutsAtAspectJTests.java

@ -30,7 +30,7 @@ import static org.junit.Assert.*; @@ -30,7 +30,7 @@ import static org.junit.Assert.*;
* @author Ramnivas Laddad
* @author Chris Beams
*/
public final class ThisAndTargetSelectionOnlyPointcutsAtAspectJTests {
public class ThisAndTargetSelectionOnlyPointcutsAtAspectJTests {
private TestInterface testBean;

2
spring-context/src/test/java/org/springframework/aop/aspectj/ThisAndTargetSelectionOnlyPointcutsTests.java

@ -27,7 +27,7 @@ import static org.junit.Assert.*; @@ -27,7 +27,7 @@ import static org.junit.Assert.*;
* @author Ramnivas Laddad
* @author Chris Beams
*/
public final class ThisAndTargetSelectionOnlyPointcutsTests {
public class ThisAndTargetSelectionOnlyPointcutsTests {
private TestInterface testBean;

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AnnotationPointcutTests.java

@ -29,7 +29,7 @@ import static org.junit.Assert.*; @@ -29,7 +29,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class AnnotationPointcutTests {
public class AnnotationPointcutTests {
private AnnotatedTestBean testBean;

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectImplementingInterfaceTests.java

@ -31,7 +31,7 @@ import static org.junit.Assert.*; @@ -31,7 +31,7 @@ import static org.junit.Assert.*;
* @author Ramnivas Laddad
* @author Chris Beams
*/
public final class AspectImplementingInterfaceTests {
public class AspectImplementingInterfaceTests {
@Test
public void testProxyCreation() {

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJAutoProxyCreatorAndLazyInitTargetSourceTests.java

@ -29,7 +29,7 @@ import static org.junit.Assert.*; @@ -29,7 +29,7 @@ import static org.junit.Assert.*;
* @author Rob Harrop
* @author Chris Beams
*/
public final class AspectJAutoProxyCreatorAndLazyInitTargetSourceTests {
public class AspectJAutoProxyCreatorAndLazyInitTargetSourceTests {
@Test
public void testAdrian() {

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AspectJAutoProxyCreatorTests.java

@ -68,7 +68,7 @@ import static org.junit.Assert.*; @@ -68,7 +68,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @author Sam Brannen
*/
public final class AspectJAutoProxyCreatorTests {
public class AspectJAutoProxyCreatorTests {
private static final Log factoryLog = LogFactory.getLog(DefaultListableBeanFactory.class);

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AtAspectJAfterThrowingTests.java

@ -33,7 +33,7 @@ import static org.junit.Assert.*; @@ -33,7 +33,7 @@ import static org.junit.Assert.*;
* @author Chris Beams
* @since 2.0
*/
public final class AtAspectJAfterThrowingTests {
public class AtAspectJAfterThrowingTests {
@Test
public void testAccessThrowable() throws Exception {

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/AtAspectJAnnotationBindingTests.java

@ -33,7 +33,7 @@ import static org.junit.Assert.*; @@ -33,7 +33,7 @@ import static org.junit.Assert.*;
* @author Juergen Hoeller
* @author Chris Beams
*/
public final class AtAspectJAnnotationBindingTests {
public class AtAspectJAnnotationBindingTests {
private AnnotatedTestBean testBean;
private ClassPathXmlApplicationContext ctx;

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/benchmark/BenchmarkTests.java

@ -45,7 +45,7 @@ import static org.junit.Assert.*; @@ -45,7 +45,7 @@ import static org.junit.Assert.*;
* @author Rod Johnson
* @author Chris Beams
*/
public final class BenchmarkTests {
public class BenchmarkTests {
private static final Class<?> CLASS = BenchmarkTests.class;

2
spring-context/src/test/java/org/springframework/aop/aspectj/autoproxy/spr3064/SPR3064Tests.java

@ -32,7 +32,7 @@ import static org.junit.Assert.*; @@ -32,7 +32,7 @@ import static org.junit.Assert.*;
* @author Adrian Colyer
* @author Chris Beams
*/
public final class SPR3064Tests {
public class SPR3064Tests {
private Service service;

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save