Uses of Class
org.springframework.core.test.tools.TestCompiler
Package
Description
Test support for core AOT classes.
Support classes for compiling and testing generated code.
-
Uses of TestCompiler in org.springframework.aot.test.generate
Modifier and TypeMethodDescriptionCompilerFiles.apply
(TestCompiler testCompiler) TestGenerationContext.apply
(TestCompiler testCompiler) Configure the specifiedTestCompiler
with the state of this context.Modifier and TypeMethodDescriptionstatic UnaryOperator<TestCompiler>
CompilerFiles.from
(InMemoryGeneratedFiles generatedFiles) Modifier and TypeMethodDescriptionCompilerFiles.apply
(TestCompiler testCompiler) TestGenerationContext.apply
(TestCompiler testCompiler) Configure the specifiedTestCompiler
with the state of this context. -
Uses of TestCompiler in org.springframework.core.test.tools
Modifier and TypeMethodDescriptionstatic TestCompiler
TestCompiler.forCompiler
(JavaCompiler javaCompiler) Create a newTestCompiler
backed by the givenJavaCompiler
.static TestCompiler
TestCompiler.forSystem()
Create a newTestCompiler
backed by the system java compiler.TestCompiler.printFiles
(PrintStream printStream) Print the contents of the source and resource files to the specifiedPrintStream
.TestCompiler.with
(UnaryOperator<TestCompiler> customizer) Apply customization to this compiler.TestCompiler.withClasses
(Iterable<ClassFile> classFiles) Create a newTestCompiler
instance with additional classes.TestCompiler.withProcessors
(Iterable<Processor> processors) Create a newTestCompiler
instance with additional annotation processors.TestCompiler.withProcessors
(Processor... processors) Create a newTestCompiler
instance with additional annotation processors.TestCompiler.withResources
(Iterable<ResourceFile> resourceFiles) Create a newTestCompiler
instance with additional source files.TestCompiler.withResources
(ResourceFile... resourceFiles) Create a newTestCompiler
instance with additional resource files.TestCompiler.withResources
(ResourceFiles resourceFiles) Create a newTestCompiler
instance with additional resource files.TestCompiler.withSources
(Iterable<SourceFile> sourceFiles) Create a newTestCompiler
instance with additional source files.TestCompiler.withSources
(SourceFile... sourceFiles) Create a newTestCompiler
instance with additional source files.TestCompiler.withSources
(SourceFiles sourceFiles) Create a newTestCompiler
instance with additional source files.Modifier and TypeMethodDescriptionTestCompiler.with
(UnaryOperator<TestCompiler> customizer) Apply customization to this compiler.