java.lang.Object
com.github.mizosoft.methanol.testing.store.StoreTesting
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertEntryEquals
(Store.Viewer viewer, String metadata, String data) static void
assertEntryEquals
(Store store, String key, String metadata, String data) static void
assertUnreadable
(Store store, String... keys) static void
commit
(Store.Editor editor, String metadata) static void
commit
(Store.Editor editor, String metadata, String data) static Store.Editor
edit
(Store.Viewer viewer) static Store.Editor
static String
read
(Store.EntryReader reader) static String
read
(Store.Viewer viewer) static void
setMetadata
(Store store, String key, String metadata) static long
static Store.Viewer
static void
write
(Store.Editor editor, String data) static void
write
(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
-