diff options
Diffstat (limited to 'cursor_test.go')
-rw-r--r-- | cursor_test.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cursor_test.go b/cursor_test.go index 00fc561..fe406bf 100644 --- a/cursor_test.go +++ b/cursor_test.go @@ -89,7 +89,7 @@ func TestCursor_EmptyBucketReverse(t *testing.T) { } // Ensure that a Tx cursor can iterate over a single root with a couple elements. -func TestCursor_LeafRoot(t *testing.T) { +func TestCursor_Iterate_Leaf(t *testing.T) { withOpenDB(func(db *DB, path string) { db.Update(func(tx *Tx) error { tx.CreateBucket([]byte("widgets")) @@ -192,7 +192,7 @@ func TestCursor_Restart(t *testing.T) { } // Ensure that a Tx can iterate over all elements in a bucket. -func TestCursor_Iterate(t *testing.T) { +func TestCursor_QuickCheck(t *testing.T) { f := func(items testdata) bool { withOpenDB(func(db *DB, path string) { // Bulk insert all values. @@ -227,7 +227,7 @@ func TestCursor_Iterate(t *testing.T) { } // Ensure that a transaction can iterate over all elements in a bucket in reverse. -func TestCursor_Iterate_Reverse(t *testing.T) { +func TestCursor_QuickCheck_Reverse(t *testing.T) { f := func(items testdata) bool { withOpenDB(func(db *DB, path string) { // Bulk insert all values. @@ -262,7 +262,7 @@ func TestCursor_Iterate_Reverse(t *testing.T) { } // Ensure that a Tx cursor can iterate over subbuckets. -func TestCursor_Iterate_BucketsOnly(t *testing.T) { +func TestCursor_QuickCheck_BucketsOnly(t *testing.T) { withOpenDB(func(db *DB, path string) { db.Update(func(tx *Tx) error { b, err := tx.CreateBucket([]byte("widgets")) @@ -289,7 +289,7 @@ func TestCursor_Iterate_BucketsOnly(t *testing.T) { } // Ensure that a Tx cursor can reverse iterate over subbuckets. -func TestCursor_Iterate_BucketsOnly_Reverse(t *testing.T) { +func TestCursor_QuickCheck_BucketsOnly_Reverse(t *testing.T) { withOpenDB(func(db *DB, path string) { db.Update(func(tx *Tx) error { b, err := tx.CreateBucket([]byte("widgets")) |