Add enhanced auth unit tests

Summary: related to T12015

Reviewers: ivica

Reviewed By: ivica

Subscribers: miljen, iljazovic

Differential Revision: https://repo.mireo.local/D27425
This commit is contained in:
Korina Šimičević
2024-01-18 10:37:13 +01:00
parent 6267c5f706
commit 1485d5ec8b
4 changed files with 265 additions and 13 deletions

View File

@@ -20,8 +20,7 @@ using namespace async_mqtt5;
BOOST_AUTO_TEST_SUITE(traits/*, *boost::unit_test::disabled()*/)
class good_authenticator {
public:
struct good_authenticator {
good_authenticator() = default;
template <typename CompletionToken>
@@ -44,8 +43,7 @@ public:
}
};
class bad_authenticator {
public:
struct bad_authenticator {
bad_authenticator() = default;
void async_auth(std::string /* data */) {}