Uses of Class
org.springframework.aot.test.generator.file.ResourceFile
Packages that use ResourceFile
Package
Description
Support classes for compiling and testing generated code.
Support classes for running assertions on generated files.
-
Uses of ResourceFile in org.springframework.aot.test.generator.compile
Methods in org.springframework.aot.test.generator.compile that return ResourceFileModifier and TypeMethodDescriptionCompiled.getResourceFile()
Return the single resource file that was used when compiled.Methods in org.springframework.aot.test.generator.compile with parameters of type ResourceFileModifier and TypeMethodDescriptionTestCompiler.withResources
(ResourceFile... resourceFiles) Return a newTestCompiler
instance with addition resource files.Method parameters in org.springframework.aot.test.generator.compile with type arguments of type ResourceFileModifier and TypeMethodDescriptionTestCompiler.withResources
(Iterable<ResourceFile> resourceFiles) Return a newTestCompiler
instance with addition source files. -
Uses of ResourceFile in org.springframework.aot.test.generator.file
Methods in org.springframework.aot.test.generator.file that return ResourceFileModifier and TypeMethodDescriptionGet theResourceFile
with the givenDynamicFile#getPath() path
.ResourceFiles.getSingle()
Return the single source file contained in the collection.static ResourceFile
ResourceFile.of
(String path, CharSequence charSequence) Factory method to create a newResourceFile
from the givenCharSequence
.static ResourceFile
ResourceFile.of
(String path, WritableContent writableContent) Factory method to create a newSourceFile
from the givenWritableContent
.static ResourceFile
ResourceFile.of
(String path, InputStreamSource inputStreamSource) Factory method to create a newResourceFile
from the givenInputStreamSource
.Methods in org.springframework.aot.test.generator.file that return types with arguments of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.iterator()
ResourceFiles.stream()
Stream theResourceFile
instances contained in this collection.Methods in org.springframework.aot.test.generator.file with parameters of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.and
(ResourceFile... resourceFiles) Return a newResourceFiles
instance that merges files from another array ofResourceFile
instances.static ResourceFiles
ResourceFiles.of
(ResourceFile... ResourceFiles) Factory method that can be used to create aResourceFiles
instance containing the specified files.Method parameters in org.springframework.aot.test.generator.file with type arguments of type ResourceFileModifier and TypeMethodDescriptionResourceFiles.and
(Iterable<ResourceFile> resourceFiles) Return a newResourceFiles
instance that merges files from another iterable ofResourceFiles
instances.