diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 15:42:33 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2018-12-16 17:04:07 +0100 |
commit | 7d64de856294a21fa3da560aefbff12271fb0146 (patch) | |
tree | 85544119d7ea8f11cac5091819e778c7afc29e49 /src/tests/util.rs | |
parent | 938096dc85715915515e3749e03fdcad4cb98e1b (diff) | |
download | nitrokey-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.rs | 11 |
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; |