diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-09 15:52:19 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-10 14:04:01 -0700 |
commit | 509e93dff4cedf88d91ba2c99385da0b4e41eb6a (patch) | |
tree | b6dc2efd0908df4ca7ff270181e46a1e4d85a77c /db_test.go | |
parent | Clean up. (diff) | |
download | dedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.gz dedo-509e93dff4cedf88d91ba2c99385da0b4e41eb6a.tar.xz |
Add freelist.
Diffstat (limited to 'db_test.go')
-rw-r--r-- | db_test.go | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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-") |