Merge branch '6.0.x'
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2023 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.
|
||||
@@ -16,14 +16,18 @@
|
||||
|
||||
package org.springframework.context.annotation
|
||||
|
||||
|
||||
import org.assertj.core.api.Assertions.assertThat
|
||||
import org.assertj.core.api.Assertions.assertThatExceptionOfType
|
||||
import org.junit.jupiter.api.Test
|
||||
import org.springframework.beans.factory.getBean
|
||||
import org.springframework.beans.factory.parsing.BeanDefinitionParsingException
|
||||
|
||||
class KotlinConfigurationClassTests {
|
||||
/**
|
||||
* Integration tests for Kotlin configuration classes.
|
||||
*
|
||||
* @author Sebastien Deleuze
|
||||
*/
|
||||
class ConfigurationClassKotlinTests {
|
||||
|
||||
@Test
|
||||
fun `Final configuration with default proxyBeanMethods value`() {
|
||||
@@ -30,11 +30,11 @@ import org.springframework.beans.factory.support.RootBeanDefinition
|
||||
import org.springframework.validation.beanvalidation.BeanValidationBeanRegistrationAotProcessorTests.*
|
||||
|
||||
/**
|
||||
* Kotlin tests for {@link BeanValidationBeanRegistrationAotProcessor}.
|
||||
* Kotlin tests for [BeanValidationBeanRegistrationAotProcessor].
|
||||
*
|
||||
* @author Sebastien Deleuze
|
||||
*/
|
||||
class KotlinBeanValidationBeanRegistrationAotProcessorTests {
|
||||
class BeanValidationBeanRegistrationAotProcessorKotlinTests {
|
||||
|
||||
private val processor = BeanValidationBeanRegistrationAotProcessor()
|
||||
|
||||
@@ -32,7 +32,7 @@ import org.springframework.validation.annotation.Validated
|
||||
* @author Sebastien Deleuze
|
||||
*/
|
||||
@Suppress("UsePropertyAccessSyntax")
|
||||
class KotlinMethodValidationTests {
|
||||
class MethodValidationKotlinTests {
|
||||
|
||||
@Test
|
||||
fun parameterValidation() {
|
||||
Reference in New Issue
Block a user