Package-level declarations

Types

Link copied to clipboard
class FakeFilesystemLoaderBackend(files: Map<String, String>) : ResourceLoader.Backend

A fake FilesystemLoaderBackend that loads file contents from an in-memory map. The map can be populated by adding to the ForFakeFiles map.

Link copied to clipboard
class FakeResourceLoaderBackend(fakeResources: Map<String, String>) : ResourceLoader.Backend

A fake ResourceLoader.Backend loads resources from an in-memory map. This does not have the same well-formed filepath guarantees that FakeFilesystemLoaderBackend provides, which assumes resource paths are file-like and will throw exceptions for malformed resource paths