aboutsummaryrefslogtreecommitdiff
path: root/db_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'db_test.go')
-rw-r--r--db_test.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/db_test.go b/db_test.go
index 565adb8..8211eac 100644
--- a/db_test.go
+++ b/db_test.go
@@ -167,6 +167,26 @@ func TestDBDelete(t *testing.T) {
})
}
+// Ensure that the database can be copied to a writer.
+func TestDBCopy(t *testing.T) {
+ t.Skip("pending") // TODO(benbjohnson)
+}
+
+// Ensure that the database can be copied to a file path.
+func TestDBCopyFile(t *testing.T) {
+ t.Skip("pending") // TODO(benbjohnson)
+}
+
+// Ensure that the database can sync to the file system.
+func TestDBSync(t *testing.T) {
+ t.Skip("pending") // TODO(benbjohnson)
+}
+
+// Ensure that an error is returned when a database write fails.
+func TestDBWriteFail(t *testing.T) {
+ t.Skip("pending") // TODO(benbjohnson)
+}
+
// withDB executes a function with a database reference.
func withDB(fn func(*DB, string)) {
f, _ := ioutil.TempFile("", "bolt-")