diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-07-24 10:28:45 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-07-24 10:28:45 +0200 |
commit | 2ebf30d87dc0b9bcc9488afab441e31044ec7ffa (patch) | |
tree | 2b23fca870eacbab42191f2e696061ec1645fceb /unittest | |
parent | 6984151c61a85e10e93946f506b2f65b9dd9ec1b (diff) | |
parent | 8de3f4d145c8f0321164afdcd1fa3d0e0c374e97 (diff) | |
download | libnitrokey-2ebf30d87dc0b9bcc9488afab441e31044ec7ffa.tar.gz libnitrokey-2ebf30d87dc0b9bcc9488afab441e31044ec7ffa.tar.bz2 |
Merge branch 'pr_132'
Update Catch to 2.3.0
Both CMake and Meson build files updated.
Tests compile (with both) and run with a Storage device.
Fixes #132
Diffstat (limited to 'unittest')
m--------- | unittest/Catch | 0 | ||||
-rw-r--r-- | unittest/catch_main.cpp | 2 | ||||
-rw-r--r-- | unittest/test1.cc | 2 | ||||
-rw-r--r-- | unittest/test2.cc | 2 | ||||
-rw-r--r-- | unittest/test3.cc | 2 | ||||
-rw-r--r-- | unittest/test_C_API.cpp | 2 | ||||
-rw-r--r-- | unittest/test_HOTP.cc | 2 | ||||
-rw-r--r-- | unittest/test_issues.cc | 2 | ||||
-rw-r--r-- | unittest/test_multiple_devices.cc | 2 | ||||
-rw-r--r-- | unittest/test_offline.cc | 2 | ||||
-rw-r--r-- | unittest/test_strdup.cpp | 2 |
11 files changed, 10 insertions, 10 deletions
diff --git a/unittest/Catch b/unittest/Catch -Subproject 62dae592c330ab74cea30c897255ee9518639c3 +Subproject 15cf3caaceb21172ea42a24e595a2eb58c3ec96 diff --git a/unittest/catch_main.cpp b/unittest/catch_main.cpp index 0ef4a4b..11a0a3a 100644 --- a/unittest/catch_main.cpp +++ b/unittest/catch_main.cpp @@ -20,4 +20,4 @@ */ #define CATCH_CONFIG_MAIN // This tells Catch to provide a main() -#include "catch.hpp"
\ No newline at end of file +#include "catch2/catch.hpp"
\ No newline at end of file diff --git a/unittest/test1.cc b/unittest/test1.cc index 51a2ef6..c8281c3 100644 --- a/unittest/test1.cc +++ b/unittest/test1.cc @@ -19,7 +19,7 @@ * SPDX-License-Identifier: LGPL-3.0 */ -#include "catch.hpp" +#include "catch2/catch.hpp" #include <iostream> #include <string.h> diff --git a/unittest/test2.cc b/unittest/test2.cc index a943683..604b3ba 100644 --- a/unittest/test2.cc +++ b/unittest/test2.cc @@ -23,7 +23,7 @@ static const char *const default_admin_pin = "12345678"; static const char *const default_user_pin = "123456"; -#include "catch.hpp" +#include "catch2/catch.hpp" #include <iostream> #include <string.h> diff --git a/unittest/test3.cc b/unittest/test3.cc index 84f952c..bb8a376 100644 --- a/unittest/test3.cc +++ b/unittest/test3.cc @@ -25,7 +25,7 @@ static const char *const default_user_pin = "123456"; const char * temporary_password = "123456789012345678901234"; const char * RFC_SECRET = "12345678901234567890"; -#include "catch.hpp" +#include "catch2/catch.hpp" #include <iostream> #include <string.h> diff --git a/unittest/test_C_API.cpp b/unittest/test_C_API.cpp index 1964738..27eb1c4 100644 --- a/unittest/test_C_API.cpp +++ b/unittest/test_C_API.cpp @@ -21,7 +21,7 @@ static const int TOO_LONG_STRING = 200; -#include "catch.hpp" +#include "catch2/catch.hpp" #include <iostream> #include <string> diff --git a/unittest/test_HOTP.cc b/unittest/test_HOTP.cc index b11cf25..0b0b222 100644 --- a/unittest/test_HOTP.cc +++ b/unittest/test_HOTP.cc @@ -20,7 +20,7 @@ */ -#include "catch.hpp" +#include "catch2/catch.hpp" #include <iostream> #include "device_proto.h" #include "log.h" diff --git a/unittest/test_issues.cc b/unittest/test_issues.cc index d4fd72e..b588b00 100644 --- a/unittest/test_issues.cc +++ b/unittest/test_issues.cc @@ -26,7 +26,7 @@ const char * const temporary_password = "123456789012345678901234"; const char * const RFC_SECRET = "12345678901234567890"; const char * const hidden_volume_pass = "123456789012345"; -#include "catch.hpp" +#include "catch2/catch.hpp" #include <NitrokeyManager.h> diff --git a/unittest/test_multiple_devices.cc b/unittest/test_multiple_devices.cc index 81d18c9..cd78681 100644 --- a/unittest/test_multiple_devices.cc +++ b/unittest/test_multiple_devices.cc @@ -24,7 +24,7 @@ static const char *const default_user_pin = "123456"; const char * temporary_password = "123456789012345678901234"; const char * RFC_SECRET = "12345678901234567890"; -#include "catch.hpp" +#include "catch2/catch.hpp" #include <iostream> #include <NitrokeyManager.h> diff --git a/unittest/test_offline.cc b/unittest/test_offline.cc index 3f79fa8..75bd316 100644 --- a/unittest/test_offline.cc +++ b/unittest/test_offline.cc @@ -19,7 +19,7 @@ * SPDX-License-Identifier: LGPL-3.0 */ -#include "catch.hpp" +#include "catch2/catch.hpp" #include <NitrokeyManager.h> #include <memory> #include <string> diff --git a/unittest/test_strdup.cpp b/unittest/test_strdup.cpp index 6c2cfb3..4f77b7f 100644 --- a/unittest/test_strdup.cpp +++ b/unittest/test_strdup.cpp @@ -26,7 +26,7 @@ #include <cstdio> #include <memory.h> #include "../NK_C_API.h" -#include "catch.hpp" +#include "catch2/catch.hpp" static const int SHORT_STRING_LENGTH = 10; |