diff options
author | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-10 16:58:16 -0700 |
---|---|---|
committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-02-10 16:58:16 -0700 |
commit | a68bd301db09ef5465f12ff4242696799da5b14d (patch) | |
tree | b6dc2efd0908df4ca7ff270181e46a1e4d85a77c /db_test.go | |
parent | Clean up. (diff) | |
parent | Add freelist. (diff) | |
download | dedo-a68bd301db09ef5465f12ff4242696799da5b14d.tar.gz dedo-a68bd301db09ef5465f12ff4242696799da5b14d.tar.xz |
Merge pull request #20 from benbjohnson/freelist
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-") |