aboutsummaryrefslogtreecommitdiff
path: root/unittest/test.cc
diff options
context:
space:
mode:
authorElie Tournier <tournier.elie@gmail.com>2017-04-18 13:38:34 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-05-25 15:15:31 +0200
commitaf1e72475cc3f1cfc7cadece162e2231610c8cd0 (patch)
tree4907b5aaf981c8e5984db0957b487afb4c7f08e9 /unittest/test.cc
parent2428f3ad0a5542a996c16ef80fd7bbd2be5bb5c6 (diff)
downloadlibnitrokey-af1e72475cc3f1cfc7cadece162e2231610c8cd0.tar.gz
libnitrokey-af1e72475cc3f1cfc7cadece162e2231610c8cd0.tar.bz2
Rename devices: s/Stick10/Device_NKPro and s/Stick20/Device_NKStorage
Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
Diffstat (limited to 'unittest/test.cc')
-rw-r--r--unittest/test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/unittest/test.cc b/unittest/test.cc
index 41cf545..c877d33 100644
--- a/unittest/test.cc
+++ b/unittest/test.cc
@@ -12,7 +12,7 @@ using namespace nitrokey::proto::NKPro;
using namespace nitrokey::log;
using namespace nitrokey::misc;
-using Dev10 = std::shared_ptr<Stick10>;
+using Dev10 = std::shared_ptr<Device_NKPro>;
std::string getSlotName(Dev10 stick, int slotNo) {
auto slot_req = get_payload<ReadSlot>();
@@ -23,7 +23,7 @@ std::string getSlotName(Dev10 stick, int slotNo) {
}
TEST_CASE("Slot names are correct", "[slotNames]") {
- auto stick = make_shared<Stick10>();
+ auto stick = make_shared<Device_NKPro>();
bool connected = stick->connect();
REQUIRE(connected == true);