Polishing
This commit is contained in:
parent
7b564b72a1
commit
e03dea1d64
|
@ -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)
|
||||
|
|
|
@ -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(* *(..))";
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -35,7 +35,7 @@ import static org.junit.Assert.*;
|
|||
* @author Rick Evans
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class TypePatternClassFilterTests {
|
||||
public class TypePatternClassFilterTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testInvalidPattern() {
|
||||
|
|
|
@ -30,7 +30,7 @@ import static org.junit.Assert.*;
|
|||
* @author Rod Johnson
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class AspectMetadataTests {
|
||||
public class AspectMetadataTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testNotAnAspect() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ import static org.mockito.BDDMockito.*;
|
|||
* @author Juergen Hoeller
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class CustomizableTraceInterceptorTests {
|
||||
public class CustomizableTraceInterceptorTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testSetEmptyEnterMessage() {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -28,7 +28,7 @@ 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";
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -43,7 +43,7 @@ import static org.mockito.BDDMockito.*;
|
|||
* @author Chris Beams
|
||||
* @since 13.05.2003
|
||||
*/
|
||||
public final class DelegatingIntroductionInterceptorTests {
|
||||
public class DelegatingIntroductionInterceptorTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testNullTarget() throws Exception {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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());
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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");
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.junit.Test;
|
|||
* @author Rick Evans
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class ConstructorArgumentEntryTests {
|
||||
public class ConstructorArgumentEntryTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testCtorBailsOnNegativeCtorIndexArgument() {
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import static org.mockito.BDDMockito.*;
|
|||
* @author Juergen Hoeller
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class FailFastProblemReporterTests {
|
||||
public class FailFastProblemReporterTests {
|
||||
|
||||
@Test(expected = BeanDefinitionParsingException.class)
|
||||
public void testError() throws Exception {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -24,7 +24,7 @@ import org.junit.Test;
|
|||
* @author Rick Evans
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class PropertyEntryTests {
|
||||
public class PropertyEntryTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testCtorBailsOnNullPropertyNameArgument() throws Exception {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -26,7 +26,7 @@ import org.xml.sax.InputSource;
|
|||
* @author Rick Evans
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class DelegatingEntityResolverTests {
|
||||
public class DelegatingEntityResolverTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testCtorWhereDtdEntityResolverIsNull() throws Exception {
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ import static org.junit.Assert.*;
|
|||
* @author Rick Evans
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class CustomCollectionEditorTests {
|
||||
public class CustomCollectionEditorTests {
|
||||
|
||||
@Test(expected = IllegalArgumentException.class)
|
||||
public void testCtorWithNullCollectionType() throws Exception {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ import static org.junit.Assert.*;
|
|||
* @author Ramnivas Laddad
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class AfterReturningGenericTypeMatchingTests {
|
||||
public class AfterReturningGenericTypeMatchingTests {
|
||||
|
||||
private GenericReturnTypeVariationClass testBean;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ import static org.junit.Assert.*;
|
|||
* @author Ramnivas Laddad
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class GenericBridgeMethodMatchingClassProxyTests extends GenericBridgeMethodMatchingTests {
|
||||
public class GenericBridgeMethodMatchingClassProxyTests extends GenericBridgeMethodMatchingTests {
|
||||
|
||||
@Test
|
||||
public void testGenericDerivedInterfaceMethodThroughClass() {
|
||||
|
|
|
@ -34,7 +34,7 @@ import static org.junit.Assert.*;
|
|||
* @author Ramnivas Laddad
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class GenericParameterMatchingTests {
|
||||
public class GenericParameterMatchingTests {
|
||||
|
||||
private CounterAspect counterAspect;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ import static org.junit.Assert.*;
|
|||
* @author Adrian Colyer
|
||||
* @author Chris Beams
|
||||
*/
|
||||
public final class AopNamespaceHandlerAdviceTypeTests {
|
||||
public class AopNamespaceHandlerAdviceTypeTests {
|
||||
|
||||
@Test
|
||||
public void testParsingOfAdviceTypes() {
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue