Polishing
This commit is contained in:
parent
26e485ce40
commit
66395502db
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
package org.springframework.test.context.aot;
|
||||
|
||||
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.util.List;
|
||||
|
|
Loading…
Reference in New Issue