Uses of Class
org.springframework.aot.test.generator.file.ResourceFiles
Packages that use ResourceFiles
Package
Description
Support classes for compiling and testing generated code.
Support classes for running assertions on generated files.
-
Uses of ResourceFiles in org.springframework.aot.test.generator.compile
Methods in org.springframework.aot.test.generator.compile that return ResourceFilesModifier and TypeMethodDescriptionCompiled.getResourceFiles()
Return all resource files that were compiled.Methods in org.springframework.aot.test.generator.compile with parameters of type ResourceFilesModifier and TypeMethodDescriptionvoid
TestCompiler.compile
(SourceFiles sourceFiles, ResourceFiles resourceFiles, Consumer<Compiled> compiled) Compile content from this instance along with the additional provided source and resource files.TestCompiler.withResources
(ResourceFiles resourceFiles) Return a newTestCompiler
instance with addition resource files.Constructors in org.springframework.aot.test.generator.compile with parameters of type ResourceFilesModifierConstructorDescriptionDynamicClassLoader
(ClassLoader sourceLoader, SourceFiles sourceFiles, ResourceFiles resourceFiles, Map<String, org.springframework.aot.test.generator.compile.DynamicClassFileObject> classFiles) -
Uses of ResourceFiles in org.springframework.aot.test.generator.file
Methods in org.springframework.aot.test.generator.file that return ResourceFilesModifier and TypeMethodDescriptionResourceFiles.and
(ResourceFile... ResourceFiles) Return a newResourceFiles
instance that merges files from another array ofResourceFile
instances.ResourceFiles.and
(ResourceFiles ResourceFiles) Return a newResourceFiles
instance that merges files from anotherResourceFiles
instance.static ResourceFiles
ResourceFiles.none()
Return aDynamicFiles
instance with no items.static ResourceFiles
ResourceFiles.of
(ResourceFile... ResourceFiles) Factory method that can be used to create aResourceFiles
instance containing the specified files.Methods in org.springframework.aot.test.generator.file with parameters of type ResourceFilesModifier and TypeMethodDescriptionResourceFiles.and
(ResourceFiles ResourceFiles) Return a newResourceFiles
instance that merges files from anotherResourceFiles
instance.