This commit is contained in:
Stéphane Nicoll
2024-01-08 16:30:49 +01:00
parent cffc8835c6
commit 1f2d29ee08
553 changed files with 1340 additions and 1295 deletions

View File

@@ -32,7 +32,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for aop namespace.
* Tests for {@link AopNamespaceHandler}.
*
* @author Rob Harrop
* @author Chris Beams

View File

@@ -64,7 +64,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
/**
* Unit tests for custom XML namespace handler implementations.
* Tests for custom XML namespace handler implementations.
*
* @author Rob Harrop
* @author Rick Evans

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
/**
* Unit tests for {@link AnnotationBeanNameGenerator}.
* Tests for {@link AnnotationBeanNameGenerator}.
*
* @author Rick Evans
* @author Juergen Hoeller

View File

@@ -37,7 +37,7 @@ import static org.springframework.context.annotation.ScopedProxyMode.NO;
import static org.springframework.context.annotation.ScopedProxyMode.TARGET_CLASS;
/**
* Unit tests for {@link AnnotationScopeMetadataResolver}.
* Tests for {@link AnnotationScopeMetadataResolver}.
*
* @author Rick Evans
* @author Chris Beams

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,7 +24,7 @@ import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.core.type.filter.TypeFilter;
/**
* Unit tests for the @ComponentScan annotation.
* Tests for the {@code @ComponentScan} annotation.
*
* @author Chris Beams
* @since 3.1

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.verifyNoInteractions;
/**
* Unit tests for @EnableLoadTimeWeaving
* Tests for {@code @EnableLoadTimeWeaving}.
*
* @author Chris Beams
* @since 3.1

View File

@@ -30,7 +30,7 @@ import org.springframework.beans.factory.support.RootBeanDefinition;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for SPR-8954, in which a custom {@link InstantiationAwareBeanPostProcessor}
* Tests for SPR-8954, in which a custom {@link InstantiationAwareBeanPostProcessor}
* forces the predicted type of a FactoryBean, effectively preventing retrieval of the
* bean from calls to #getBeansOfType(FactoryBean.class). The implementation of
* {@link AbstractBeanFactory#isFactoryBean(String, RootBeanDefinition)} now ensures

View File

@@ -32,7 +32,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
/**
* Unit tests for expressions accessing beans and factory beans.
* Tests for expressions accessing beans and factory beans.
*
* @author Andy Clement
*/

View File

@@ -29,7 +29,7 @@ import org.springframework.expression.spel.support.StandardEvaluationContext;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for compilation of {@link MapAccessor}.
* Tests for {@link MapAccessor}.
*
* @author Andy Clement
*/

View File

@@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.InstanceOfAssertFactories.BOOLEAN;
/**
* Unit tests for {@link MethodBasedEvaluationContext}.
* Tests for {@link MethodBasedEvaluationContext}.
*
* @author Stephane Nicoll
* @author Juergen Hoeller

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,7 +23,7 @@ import org.springframework.util.ClassUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link GenericXmlApplicationContext}.
* Tests for {@link GenericXmlApplicationContext}.
*
* See SPR-7530.
*

View File

@@ -38,7 +38,7 @@ import static java.time.ZoneId.systemDefault;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link InstantFormatter}.
* Tests for {@link InstantFormatter}.
*
* @author Andrei Nevedomskii
* @author Sam Brannen

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
/**
* Unit tests for the {@link ReflectiveLoadTimeWeaver} class.
* Tests for {@link ReflectiveLoadTimeWeaver}.
*
* @author Rick Evans
* @author Chris Beams

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -37,7 +37,7 @@ import org.springframework.util.ObjectUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link JmxUtils}.
* Tests for {@link JmxUtils}.
*
* @author Rob Harrop
* @author Juergen Hoeller

View File

@@ -25,7 +25,7 @@ import org.springframework.context.testfixture.jndi.SimpleNamingContext;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link JndiPropertySource}.
* Tests for {@link JndiPropertySource}.
*
* @author Chris Beams
* @author Juergen Hoeller

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link AnnotationAsyncExecutionInterceptor}.
* Tests for {@link AnnotationAsyncExecutionInterceptor}.
*
* @author Chris Beams
* @since 3.1.2

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
import static org.assertj.core.api.InstanceOfAssertFactories.type;
/**
* Unit tests for {@link ThreadPoolTaskExecutor}.
* Tests for {@link ThreadPoolTaskExecutor}.
*
* @author Juergen Hoeller
* @author Sam Brannen

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.mockito.Mockito.mock;
/**
* Unit tests for {@link ScheduledTaskRegistrar}.
* Tests for {@link ScheduledTaskRegistrar}.
*
* @author Tobias Montagna-Hay
* @author Juergen Hoeller

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for {@link BitsCronField}.
* Tests for {@link BitsCronField}.
*
* @author Arjen Poutsma
* @author Sam Brannen

View File

@@ -37,7 +37,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.junit.jupiter.params.provider.Arguments.arguments;
/**
* Unit tests for {@link CronTrigger}.
* Tests for {@link CronTrigger}.
*
* @author Dave Syer
* @author Mark Fisher

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for {@link QuartzCronField}.
* Tests for {@link QuartzCronField}.
*
* @author Arjen Poutsma
*/

View File

@@ -22,7 +22,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for the StaticScriptSource class.
* Tests for {@link StaticScriptSource}.
*
* @author Rick Evans
* @author Sam Brannen

View File

@@ -32,7 +32,7 @@ import org.springframework.util.Assert;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link DataBinder} with constructor binding.
* Tests for {@link DataBinder} with constructor binding.
*
* @author Rossen Stoyanchev
*/

View File

@@ -72,7 +72,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
import static org.assertj.core.api.Assertions.entry;
/**
* Unit tests for {@link DataBinder}.
* Tests for {@link DataBinder}.
*
* @author Rod Johnson
* @author Juergen Hoeller

View File

@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
/**
* Unit tests for {@link ValidationUtils}.
* Tests for {@link ValidationUtils}.
*
* @author Juergen Hoeller
* @author Rick Evans

View File

@@ -41,7 +41,7 @@ import org.springframework.validation.method.ParameterValidationResult;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link MethodValidationAdapter}.
* Tests for {@link MethodValidationAdapter}.
*
* @author Rossen Stoyanchev
* @author Sam Brannen