diff options
author | Elie Tournier <tournier.elie@gmail.com> | 2017-04-18 13:38:34 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-05-25 15:15:31 +0200 |
commit | af1e72475cc3f1cfc7cadece162e2231610c8cd0 (patch) | |
tree | 4907b5aaf981c8e5984db0957b487afb4c7f08e9 /unittest/test2.cc | |
parent | 2428f3ad0a5542a996c16ef80fd7bbd2be5bb5c6 (diff) | |
download | libnitrokey-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/test2.cc')
-rw-r--r-- | unittest/test2.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unittest/test2.cc b/unittest/test2.cc index 37d5983..cd012c5 100644 --- a/unittest/test2.cc +++ b/unittest/test2.cc @@ -47,7 +47,7 @@ void SKIP_TEST() { TEST_CASE("long operation test", "[test_long]") { SKIP_TEST(); - auto stick = make_shared<Stick20>(); + auto stick = make_shared<Device_NKStorage>(); bool connected = stick->connect(); REQUIRE(connected == true); Log::instance().set_loglevel(Loglevel::DEBUG); @@ -123,7 +123,7 @@ TEST_CASE("test device commands ids", "[fast]") { } TEST_CASE("test device internal status with various commands", "[fast]") { - auto stick = make_shared<Stick20>(); + auto stick = make_shared<Device_NKStorage>(); bool connected = stick->connect(); REQUIRE(connected == true); @@ -147,7 +147,7 @@ TEST_CASE("test device internal status with various commands", "[fast]") { } TEST_CASE("setup hidden volume test", "[hidden]") { - auto stick = make_shared<Stick20>(); + auto stick = make_shared<Device_NKStorage>(); bool connected = stick->connect(); REQUIRE(connected == true); Log::instance().set_loglevel(Loglevel::DEBUG); @@ -170,7 +170,7 @@ TEST_CASE("setup hidden volume test", "[hidden]") { } TEST_CASE("setup multiple hidden volumes", "[hidden]") { - auto stick = make_shared<Stick20>(); + auto stick = make_shared<Device_NKStorage>(); bool connected = stick->connect(); REQUIRE(connected == true); Log::instance().set_loglevel(Loglevel::DEBUG); @@ -207,7 +207,7 @@ TEST_CASE("setup multiple hidden volumes", "[hidden]") { TEST_CASE("update password change", "[dangerous]") { SKIP_TEST(); - auto stick = make_shared<Stick20>(); + auto stick = make_shared<Device_NKStorage>(); bool connected = stick->connect(); REQUIRE(connected == true); Log::instance().set_loglevel(Loglevel::DEBUG); @@ -228,7 +228,7 @@ TEST_CASE("update password change", "[dangerous]") { } TEST_CASE("general test", "[test]") { - auto stick = make_shared<Stick20>(); + auto stick = make_shared<Device_NKStorage>(); bool connected = stick->connect(); REQUIRE(connected == true); |