summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/device.rs3
-rw-r--r--tests/lib.rs3
-rw-r--r--tests/otp.rs3
-rw-r--r--tests/pws.rs3
-rw-r--r--tests/util/mod.rs3
5 files changed, 15 insertions, 0 deletions
diff --git a/tests/device.rs b/tests/device.rs
index 59c9348..c790049 100644
--- a/tests/device.rs
+++ b/tests/device.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
mod util;
use std::ffi::CStr;
diff --git a/tests/lib.rs b/tests/lib.rs
index d298048..697024d 100644
--- a/tests/lib.rs
+++ b/tests/lib.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
#[test]
fn get_library_version() {
let version = nitrokey::get_library_version().unwrap();
diff --git a/tests/otp.rs b/tests/otp.rs
index 96da371..fb20768 100644
--- a/tests/otp.rs
+++ b/tests/otp.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
mod util;
use std::fmt::Debug;
diff --git a/tests/pws.rs b/tests/pws.rs
index 8bdf532..df99e1c 100644
--- a/tests/pws.rs
+++ b/tests/pws.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
mod util;
use std::ffi::CStr;
diff --git a/tests/util/mod.rs b/tests/util/mod.rs
index 4a00a66..49ec13e 100644
--- a/tests/util/mod.rs
+++ b/tests/util/mod.rs
@@ -1,3 +1,6 @@
+// Copyright (C) 2018-2019 Robin Krahl <robin.krahl@ireas.org>
+// SPDX-License-Identifier: MIT
+
pub static ADMIN_PASSWORD: &str = "12345678";
pub static USER_PASSWORD: &str = "123456";