public sealed class StorageDomain

Known direct subclasses
StorageDomain.BinaryFile

Targets local raw binary files stored within internal app storage.

StorageDomain.Database

Targets structured SQLite/Room database records.

StorageDomain.Preference

Targets on-device SharedPreferences XML files.

StorageDomain.TextFile

Targets local raw text files stored within internal app storage.


Defines target data coordinates in the device sandbox that are seeded and verified.

Provides strongly-typed, compile-time safe data structures for zero-boilerplate testing. The framework uses these to automatically drive the PopulateStorageAction and AssertStorageAction helpers.

Note: This sealed class is open to future additions. Consumers should use a non-exhaustive 'when' pattern-matching approach (incorporating an explicit 'else' branch) to ensure binary compatibility when new subclasses are introduced.

Summary

Nested types

public final class StorageDomain.BinaryFile extends StorageDomain

Targets local raw binary files stored within internal app storage.

public final class StorageDomain.Database extends StorageDomain

Targets structured SQLite/Room database records.

public final class StorageDomain.Preference extends StorageDomain

Targets on-device SharedPreferences XML files.

public final class StorageDomain.TextFile extends StorageDomain

Targets local raw text files stored within internal app storage.

Protected constructors

Protected constructors

StorageDomain

protected StorageDomain()