From 509e93dff4cedf88d91ba2c99385da0b4e41eb6a Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sun, 9 Feb 2014 15:52:19 -0700 Subject: Add freelist. --- db_test.go | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'db_test.go') 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-") -- cgit v1.2.3