Move dependencies to the top level.

This commit is contained in:
jakcron
2022-04-16 18:27:14 +08:00
parent b67980d3d2
commit 5d62e839e7
844 changed files with 74 additions and 114431 deletions
@@ -0,0 +1,30 @@
#pragma once
#include "ITestClass.h"
#include <vector>
#include <tc/ByteData.h>
class crypto_Aes128Encryptor_TestClass : public ITestClass
{
public:
void runAllTests();
private:
void test_Constants();
void test_UseClassEnc();
void test_UseClassDec();
void test_DoesNothingWhenNotInit();
void test_InitializeThrowsExceptionOnBadInput();
void test_EncryptThrowsExceptionOnBadInput();
void test_DecryptThrowsExceptionOnBadInput();
struct TestCase
{
std::string test_name;
tc::ByteData key;
tc::ByteData plaintext;
tc::ByteData ciphertext;
};
void util_Setup_TestCases(std::vector<crypto_Aes128Encryptor_TestClass::TestCase>& test_cases);
};