Uses of Class
org.springframework.core.test.tools.SourceFiles
Packages that use SourceFiles
Package
Description
Support classes for compiling and testing generated code.
-
Uses of SourceFiles in org.springframework.core.test.tools
Methods in org.springframework.core.test.tools that return SourceFilesModifier and TypeMethodDescriptionSourceFiles.and(Iterable<SourceFile> sourceFiles) Return a newSourceFilesinstance that merges files from another array ofSourceFileinstances.SourceFiles.and(SourceFile... sourceFiles) Return a newSourceFilesinstance that merges files from another array ofSourceFileinstances.SourceFiles.and(SourceFiles sourceFiles) Return a newSourceFilesinstance that merges files from anotherSourceFilesinstance.Compiled.getSourceFiles()Return all source files that were compiled.static SourceFilesSourceFiles.none()Return aSourceFilesinstance with no items.static SourceFilesSourceFiles.of(SourceFile... sourceFiles) Factory method that can be used to create aSourceFilesinstance containing the specified files.Methods in org.springframework.core.test.tools with parameters of type SourceFilesModifier and TypeMethodDescriptionSourceFiles.and(SourceFiles sourceFiles) Return a newSourceFilesinstance that merges files from anotherSourceFilesinstance.voidTestCompiler.compile(SourceFiles sourceFiles, Consumer<Compiled> compiled) Compile content from this instance along with the additional provided source files.voidTestCompiler.compile(SourceFiles sourceFiles, ResourceFiles resourceFiles, Consumer<Compiled> compiled) Compile content from this instance along with the additional provided source and resource files.TestCompiler.withSources(SourceFiles sourceFiles) Create a newTestCompilerinstance with additional source files.