java.lang.Object
com.github.mizosoft.methanol.testing.store.StoreTesting
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertEntryEquals(Store.Viewer viewer, String metadata, String data) static voidassertEntryEquals(Store store, String key, String metadata, String data) static voidassertUnreadable(Store store, String... keys) static voidcommit(Store.Editor editor, String metadata) static voidcommit(Store.Editor editor, String metadata, String data) static Store.Editoredit(Store.Viewer viewer) static Store.Editorstatic Stringread(Store.EntryReader reader) static Stringread(Store.Viewer viewer) static voidsetMetadata(Store store, String key, String metadata) static longstatic Store.Viewerstatic voidwrite(Store.Editor editor, String data) static voidwrite(Store.EntryWriter writer, String data) static void
-
Method Details
-
assertUnreadable
- Throws:
IOException
-
sizeOf
-
view
- Throws:
IOException
-
edit
- Throws:
IOException
-
edit
- Throws:
IOException
-
assertEntryEquals
public static void assertEntryEquals(Store store, String key, String metadata, String data) throws IOException - Throws:
IOException
-
assertEntryEquals
public static void assertEntryEquals(Store.Viewer viewer, String metadata, String data) throws IOException - Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
setMetadata
- Throws:
IOException
-
commit
- Throws:
IOException
-
commit
- Throws:
IOException
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-