Polishing

This commit is contained in:
Sam Brannen 2022-10-05 18:56:35 +02:00
parent 26e485ce40
commit 66395502db
3 changed files with 3 additions and 3 deletions

View File

@ -48,6 +48,8 @@ class AotTestAttributesCodeGenerator {
private static final String GENERATED_SUFFIX = "Generated";
// TODO Consider an alternative means for specifying the name of the generated class.
// Ideally we would generate a class named: org.springframework.test.context.aot.GeneratedAotTestAttributes
static final String GENERATED_ATTRIBUTES_CLASS_NAME = AotTestAttributes.class.getName() + "__" + GENERATED_SUFFIX;
static final String GENERATED_ATTRIBUTES_METHOD_NAME = "getAttributes";

View File

@ -63,8 +63,7 @@ class AotTestContextInitializersCodeGenerator {
private static final String GENERATED_SUFFIX = "Generated";
// TODO Add support in ClassNameGenerator for supplying a predefined class name.
// There is a similar issue in Spring Boot where code relies on a generated name.
// TODO Consider an alternative means for specifying the name of the generated class.
// Ideally we would generate a class named: org.springframework.test.context.aot.GeneratedAotTestContextInitializers
static final String GENERATED_MAPPINGS_CLASS_NAME = AotTestContextInitializers.class.getName() + "__" + GENERATED_SUFFIX;

View File

@ -16,7 +16,6 @@
package org.springframework.test.context.aot;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;