Merge pull request #125 from vmx/standard-tests

Move tests to the default `tests` directory
master
Tyler Neely 8 years ago committed by GitHub
commit ab88a2f3eb
  1. 4
      Cargo.toml
  2. 22
      test/test.rs
  3. 1
      tests/test_column_family.rs
  4. 1
      tests/test_iterator.rs
  5. 1
      tests/test_multithreaded.rs
  6. 1
      tests/test_raw_iterator.rs
  7. 1
      tests/test_rocksdb_options.rs

@ -17,10 +17,6 @@ exclude = [
default = [] default = []
valgrind = [] valgrind = []
[[test]]
name = "test"
path = "test/test.rs"
[dependencies] [dependencies]
libc = "0.2" libc = "0.2"
librocksdb-sys = { path = "librocksdb-sys", version = "0.4.1" } librocksdb-sys = { path = "librocksdb-sys", version = "0.4.1" }

@ -1,22 +0,0 @@
// Copyright 2014 Tyler Neely
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
extern crate rocksdb;
mod test_iterator;
mod test_raw_iterator;
mod test_multithreaded;
mod test_column_family;
mod test_rocksdb_options;

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
extern crate rocksdb;
use rocksdb::{DB, MergeOperands, Options}; use rocksdb::{DB, MergeOperands, Options};

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
extern crate rocksdb;
use rocksdb::{DB, Direction, IteratorMode, Options}; use rocksdb::{DB, Direction, IteratorMode, Options};

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
extern crate rocksdb;
use rocksdb::{DB, Options}; use rocksdb::{DB, Options};
use std::thread; use std::thread;

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
extern crate rocksdb;
use rocksdb::DB; use rocksdb::DB;

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
// //
extern crate rocksdb;
use rocksdb::{DB, Options}; use rocksdb::{DB, Options};
Loading…
Cancel
Save