mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-05-04 18:17:14 +02:00
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
41 lines
625 B
C++
41 lines
625 B
C++
//
|
|
// TokenTest.h
|
|
//
|
|
// Definition of the TokenTest class.
|
|
//
|
|
// Copyright (c) 2019, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef TokenTest_INCLUDED
|
|
#define TokenTest_INCLUDED
|
|
|
|
|
|
#include "Poco/JWT/JWT.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class TokenTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
TokenTest(const std::string& name);
|
|
~TokenTest();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
void testParse();
|
|
void testParseNoSig();
|
|
void testSerialize();
|
|
void testAssign();
|
|
void testAudience();
|
|
|
|
static CppUnit::Test* suite();
|
|
};
|
|
|
|
|
|
#endif // TokenTest_INCLUDED
|