aboutsummaryrefslogtreecommitdiff
path: root/db_test.go
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2014-02-09 15:52:19 -0700
committerBen Johnson <benbjohnson@yahoo.com>2014-02-10 14:04:01 -0700
commit509e93dff4cedf88d91ba2c99385da0b4e41eb6a (patch)
treeb6dc2efd0908df4ca7ff270181e46a1e4d85a77c /db_test.go
parentClean up. (diff)
downloaddedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.gz
dedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.xz
Add freelist.
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-")