Use consistently *KotlinTests naming for Kotlin tests

Closes gh-30837
This commit is contained in:
Sébastien Deleuze
2023-07-07 18:39:02 +02:00
parent fb17e283d1
commit b3de1b8e95
26 changed files with 76 additions and 55 deletions

View File

@@ -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`() {

View File

@@ -34,7 +34,7 @@ import org.springframework.validation.beanvalidation.BeanValidationBeanRegistrat
*
* @author Sebastien Deleuze
*/
class KotlinBeanValidationBeanRegistrationAotProcessorTests {
class BeanValidationBeanRegistrationAotProcessorKotlinTests {
private val processor = BeanValidationBeanRegistrationAotProcessor()

View File

@@ -32,7 +32,7 @@ import org.springframework.validation.annotation.Validated
* @author Sebastien Deleuze
*/
@Suppress("UsePropertyAccessSyntax")
class KotlinMethodValidationTests {
class MethodValidationKotlinTests {
@Test
fun parameterValidation() {