Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
a67bce54
Commit
a67bce54
authored
Aug 04, 2017
by
Cholerae Hu
Committed by
zhangjinpeng1987
Aug 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tests: add more delete range test cases (#113)
parent
82d127df
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
Cargo.toml
Cargo.toml
+1
-0
test.rs
tests/test.rs
+1
-0
test_delete_range.rs
tests/test_delete_range.rs
+0
-0
test_ingest_external_file.rs
tests/test_ingest_external_file.rs
+1
-2
test_rocksdb_options.rs
tests/test_rocksdb_options.rs
+1
-2
No files found.
Cargo.toml
View file @
a67bce54
...
...
@@ -29,6 +29,7 @@ path = "tests/test.rs"
[dependencies]
libc
=
"0.2.11"
tempdir
=
"0.3.4"
crc
=
"1.2"
[dependencies.librocksdb_sys]
path
=
"librocksdb_sys"
...
...
tests/test.rs
View file @
a67bce54
extern
crate
rocksdb
;
extern
crate
tempdir
;
extern
crate
byteorder
;
extern
crate
crc
;
mod
test_iterator
;
mod
test_multithreaded
;
...
...
tests/test_delete_range.rs
View file @
a67bce54
This diff is collapsed.
Click to expand it.
tests/test_ingest_external_file.rs
View file @
a67bce54
...
...
@@ -245,4 +245,4 @@ fn test_ingest_external_file_new_cf() {
assert_eq!
(
snap
.get_cf
(
handle
,
b
"k1"
)
.unwrap
()
.unwrap
(),
b
"a"
);
assert_eq!
(
snap
.get_cf
(
handle
,
b
"k2"
)
.unwrap
()
.unwrap
(),
b
"b"
);
assert_eq!
(
snap
.get_cf
(
handle
,
b
"k3"
)
.unwrap
()
.unwrap
(),
b
"c"
);
}
\ No newline at end of file
}
tests/test_rocksdb_options.rs
View file @
a67bce54
...
...
@@ -513,4 +513,4 @@ fn test_read_options() {
iter
.next
();
}
assert
!
(
key_count
==
3
);
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment