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

@@ -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.
@@ -52,7 +52,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.assertj.core.api.SoftAssertions.assertSoftly;
/**
* Unit tests for {@link BeanUtils}.
* Tests for {@link BeanUtils}.
*
* @author Juergen Hoeller
* @author Rob Harrop

View File

@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link PropertyAccessorUtils}.
* Tests for {@link PropertyAccessorUtils}.
*
* @author Juergen Hoeller
* @author Chris Beams

View File

@@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.core.testfixture.io.ResourceTestUtils.qualifiedResource;
/**
* Unit tests for {@link CustomAutowireConfigurer}.
* Tests for {@link CustomAutowireConfigurer}.
*
* @author Mark Fisher
* @author Juergen Hoeller

View File

@@ -50,8 +50,8 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
/**
* Unit tests for {@link org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor}
* processing the JSR-330 {@link jakarta.inject.Inject} annotation.
* Tests for {@link AutowiredAnnotationBeanPostProcessor} processing
* the JSR-330 {@link jakarta.inject.Inject} annotation.
*
* @author Juergen Hoeller
* @since 3.0

View File

@@ -35,7 +35,7 @@ import static org.mockito.BDDMockito.given;
import static org.mockito.Mockito.mock;
/**
* Unit tests for {@link ParameterResolutionDelegate}.
* Tests for {@link ParameterResolutionDelegate}.
*
* @author Sam Brannen
* @author Juergen Hoeller

View File

@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.mockito.Mockito.mock;
/**
* Unit tests for {@link CustomScopeConfigurer}.
* Tests for {@link CustomScopeConfigurer}.
*
* @author Rick Evans
* @author Juergen Hoeller

View File

@@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.core.testfixture.io.ResourceTestUtils.qualifiedResource;
/**
* Unit tests for {@link FieldRetrievingFactoryBean}.
* Tests for {@link FieldRetrievingFactoryBean}.
*
* @author Juergen Hoeller
* @author Chris Beams

View File

@@ -31,7 +31,7 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for {@link MethodInvokingFactoryBean} and {@link MethodInvokingBean}.
* Tests for {@link MethodInvokingFactoryBean} and {@link MethodInvokingBean}.
*
* @author Colin Sampaleanu
* @author Juergen Hoeller

View File

@@ -26,7 +26,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.core.testfixture.io.ResourceTestUtils.qualifiedResource;
/**
* Unit tests for {@link PropertiesFactoryBean}.
* Tests for {@link PropertiesFactoryBean}.
*
* @author Juergen Hoeller
* @author Chris Beams

View File

@@ -28,7 +28,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.springframework.core.testfixture.io.ResourceTestUtils.qualifiedResource;
/**
* Unit tests for {@link PropertyPathFactoryBean}.
* Tests for {@link PropertyPathFactoryBean}.
*
* @author Juergen Hoeller
* @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.
@@ -39,7 +39,7 @@ import static org.springframework.beans.factory.support.BeanDefinitionBuilder.ro
import static org.springframework.beans.factory.support.BeanDefinitionReaderUtils.registerWithGeneratedName;
/**
* Unit tests for {@link PropertyPlaceholderConfigurer}.
* Tests for {@link PropertyPlaceholderConfigurer}.
*
* @author Chris Beams
* @author Sam Brannen

View File

@@ -49,7 +49,7 @@ import static org.springframework.beans.factory.support.BeanDefinitionBuilder.ge
import static org.springframework.core.testfixture.io.ResourceTestUtils.qualifiedResource;
/**
* Unit tests for various {@link PropertyResourceConfigurer} implementations including:
* Tests for various {@link PropertyResourceConfigurer} implementations including:
* {@link PropertyPlaceholderConfigurer}, {@link PropertyOverrideConfigurer} and
* {@link PreferencesPlaceholderConfigurer}.
*

View File

@@ -34,7 +34,7 @@ import static org.mockito.Mockito.mock;
import static org.springframework.beans.factory.support.BeanDefinitionBuilder.genericBeanDefinition;
/**
* Unit tests for {@link ServiceLocatorFactoryBean}.
* Tests for {@link ServiceLocatorFactoryBean}.
*
* @author Colin Sampaleanu
* @author Rick Evans

View File

@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for {@link ConstructorArgumentEntry}.
* Tests for {@link ConstructorArgumentEntry}.
*
* @author Rick Evans
* @author Chris Beams

View File

@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link PassThroughSourceExtractor}.
* Tests for {@link PassThroughSourceExtractor}.
*
* @author Rick Evans
* @author Chris Beams

View File

@@ -21,7 +21,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for {@link PropertyEntry}.
* Tests for {@link PropertyEntry}.
*
* @author Rick Evans
* @author Chris Beams

View File

@@ -27,7 +27,7 @@ import org.springframework.util.ReflectionUtils;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link AutowireUtils}.
* Tests for {@link AutowireUtils}.
*
* @author Juergen Hoeller
* @author Sam Brannen

View File

@@ -25,7 +25,7 @@ import org.springframework.beans.testfixture.beans.TestBean;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@code equals()} and {@code hashCode()} in bean definitions.
* Tests for {@code equals()} and {@code hashCode()} in bean definitions.
*
* @author Rob Harrop
* @author Sam Brannen

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.
@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
/**
* Unit tests for {@link ManagedList}.
* Tests for {@link ManagedList}.
*
* @author Rick Evans
* @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.
@@ -25,7 +25,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.assertj.core.api.Assertions.assertThatIllegalStateException;
/**
* Unit tests for {@link ManagedSet}.
* Tests for {@link ManagedSet}.
*
* @author Rick Evans
* @author Juergen Hoeller

View File

@@ -30,7 +30,7 @@ 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 that

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 BeanWiringInfo class.
* Tests for {@link BeanWiringInfo}.
*
* @author Rick Evans
* @author Sam Brannen

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 ClassNameBeanWiringInfoResolver class.
* Tests for {@link ClassNameBeanWiringInfoResolver}.
*
* @author Rick Evans
*/

View File

@@ -23,7 +23,7 @@ import org.xml.sax.InputSource;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for the {@link DelegatingEntityResolver} class.
* Tests for {@link DelegatingEntityResolver}.
*
* @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.
@@ -29,7 +29,7 @@ import static org.assertj.core.api.Assertions.assertThatExceptionOfType;
import static org.mockito.Mockito.mock;
/**
* Unit tests for ResourceEntityResolver.
* Tests for {@link ResourceEntityResolver}.
*
* @author Simon Baslé
* @author Sam Brannen

View File

@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for the {@link ByteArrayPropertyEditor} class.
* Tests for {@link ByteArrayPropertyEditor}.
*
* @author Rick Evans
*/

View File

@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for the {@link CharArrayPropertyEditor} class.
* Tests for {@link CharArrayPropertyEditor}.
*
* @author Rick Evans
*/

View File

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

View File

@@ -54,7 +54,7 @@ import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException
import static org.assertj.core.api.Assertions.within;
/**
* Unit tests for the various PropertyEditors in Spring.
* Tests for the various PropertyEditors in Spring.
*
* @author Juergen Hoeller
* @author Rick Evans

View File

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

View File

@@ -27,7 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatIllegalArgumentException;
/**
* Unit tests for the {@link ReaderEditor} class.
* Tests for {@link ReaderEditor}.
*
* @author Juergen Hoeller
* @since 4.2

View File

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

View File

@@ -23,7 +23,7 @@ import org.junit.jupiter.api.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* Unit tests for {@link PropertyComparator}.
* Tests for {@link PropertyComparator}.
*
* @author Keith Donald
* @author Chris Beams