mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-02-15 17:27:12 +01: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.
42 lines
649 B
C++
42 lines
649 B
C++
//
|
|
// SHA2EngineTest.h
|
|
//
|
|
// Definition of the SHA2EngineTest class.
|
|
//
|
|
// Copyright (c) 2017, Applied Informatics Software Engineering GmbH
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef SHA2EngineTest_INCLUDED
|
|
#define SHA2EngineTest_INCLUDED
|
|
|
|
|
|
#include "Poco/Foundation.h"
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
class SHA2EngineTest: public CppUnit::TestCase
|
|
{
|
|
public:
|
|
SHA2EngineTest(const std::string& name);
|
|
~SHA2EngineTest();
|
|
|
|
void testSHA224();
|
|
void testSHA256();
|
|
void testSHA384();
|
|
void testSHA512();
|
|
|
|
void setUp();
|
|
void tearDown();
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
private:
|
|
};
|
|
|
|
|
|
#endif // SHA2EngineTest_INCLUDED
|