summaryrefslogtreecommitdiff
path: root/src/tests/util.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2018-12-16 15:42:33 +0000
committerRobin Krahl <robin.krahl@ireas.org>2018-12-16 17:04:07 +0100
commit7d64de856294a21fa3da560aefbff12271fb0146 (patch)
tree85544119d7ea8f11cac5091819e778c7afc29e49 /src/tests/util.rs
parent938096dc85715915515e3749e03fdcad4cb98e1b (diff)
downloadnitrokey-rs-7d64de856294a21fa3da560aefbff12271fb0146.tar.gz
nitrokey-rs-7d64de856294a21fa3da560aefbff12271fb0146.tar.bz2
Refactor tests into the top-level tests directory
Newer Rust versions support integration tests in a top-level tests directory. This patch refactors the existing unit tests into integration tests.
Diffstat (limited to 'src/tests/util.rs')
-rw-r--r--src/tests/util.rs11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/tests/util.rs b/src/tests/util.rs
deleted file mode 100644
index c6fbb8f..0000000
--- a/src/tests/util.rs
+++ /dev/null
@@ -1,11 +0,0 @@
-pub static ADMIN_PASSWORD: &str = "12345678";
-pub static USER_PASSWORD: &str = "123456";
-
-#[cfg(feature = "test-no-device")]
-pub type Target = ::Pro;
-
-#[cfg(feature = "test-pro")]
-pub type Target = ::Pro;
-
-#[cfg(feature = "test-storage")]
-pub type Target = ::Storage;