10Duke Enterprise C++ Client
Loading...
Searching...
No Matches
FakeLicenseTokenParser.h
1#ifndef TENDUKE_TEST_FAKES_FAKELICENSETOKENPARSER_H
2#define TENDUKE_TEST_FAKES_FAKELICENSETOKENPARSER_H
3
4#include "licensing/LicenseTokenParser.h"
5
6#include <map>
7#include <string>
8
9namespace tenduke { namespace test { namespace fakes {
10
12{
13public:
14 explicit FakeLicenseTokenParser();
15
16 ee::licensing::impl::LeaseOrError from(const std::string &licenseToken) const override;
17
18 std::map<std::string, tenduke::ee::licensing::impl::LeaseOrError> results;
19};
20
21}}}
22
23#endif //TENDUKE_TEST_FAKES_FAKELICENSETOKENPARSER_H
Describes whether given token is a lease or an error.
Definition LicenseTokenParser.h:22
Parses license token into tenduke::ee::licensing::Lease (or into tenduke::ee::licensing::LicensingErr...
Definition LicenseTokenParser.h:59
Definition FakeLicenseTokenParser.h:12
ee::licensing::impl::LeaseOrError from(const std::string &licenseToken) const override
Parses the token.
Definition FakeLicenseTokenParser.cpp:11
Root for classes, functions and globals of 10Duke C++ Client.
Definition APIRequest.h:4