GpgFrontend Project
A Free, Powerful, Easy-to-Use, Compact, Cross-Platform, and Installation-Free OpenPGP(pgp) Crypto Tool.
GpgFrontend::Test Namespace Reference


class  GpgCoreTest
struct  GpgFrontendContext


 TEST_F (GpgCoreTest, CoreEncryptDecrTest)
 TEST_F (GpgCoreTest, CoreEncryptSymmetricDecrTest)
 TEST_F (GpgCoreTest, CoreEncryptDecrTest_KeyNotFound_1)
 TEST_F (GpgCoreTest, CoreEncryptDecrTest_KeyNotFound_ResultAnalyse)
 TEST_F (GpgCoreTest, CoreSignVerifyNormalTest)
 TEST_F (GpgCoreTest, CoreSignVerifyDetachTest)
 TEST_F (GpgCoreTest, CoreSignVerifyClearTest)
 TEST_F (GpgCoreTest, CoreEncryptSignDecrVerifyTest)
 TEST_F (GpgCoreTest, CoreFileEncryptDecrTest)
 TEST_F (GpgCoreTest, CoreFileEncryptDecrBinaryTest)
 TEST_F (GpgCoreTest, CoreFileEncryptSymmetricDecrTest)
 TEST_F (GpgCoreTest, CoreFileEncryptSymmetricDecrBinaryTest)
 TEST_F (GpgCoreTest, CoreFileSignVerifyNormalTest)
 TEST_F (GpgCoreTest, CoreFileSignVerifyNormalBinaryTest)
 TEST_F (GpgCoreTest, CoreFileEncryptSignDecrVerifyTest)
 TEST_F (GpgCoreTest, CoreFileEncryptSignDecrVerifyBinaryTest)
 TEST_F (GpgCoreTest, GenerateKeyRSA2048Test)
 TEST_F (GpgCoreTest, GenerateKeyRSA1024NoPassTest)
 TEST_F (GpgCoreTest, GenerateKeyRSA4096Test)
 TEST_F (GpgCoreTest, GenerateKeyDSA2048Test)
 TEST_F (GpgCoreTest, GenerateKeyED25519Test)
 TEST_F (GpgCoreTest, GenerateKeyED25519CV25519Test)
 TEST_F (GpgCoreTest, GenerateKeyED25519NISTP256Test)
 TEST_F (GpgCoreTest, GenerateKeyED25519BRAINPOOLP256R1Test)
 TEST_F (GpgCoreTest, CoreInitTest)
 TEST_F (GpgCoreTest, GpgDataTest)
 TEST_F (GpgCoreTest, GpgKeyTest)
 TEST_F (GpgCoreTest, GpgSubKeyTest)
 TEST_F (GpgCoreTest, GpgUIDTest)
 TEST_F (GpgCoreTest, GpgKeySignatureTest)
 TEST_F (GpgCoreTest, GpgKeyGetterTest)
 TEST_F (GpgCoreTest, GenerateSubkeyRSA2048Test)
 TEST_F (GpgCoreTest, GenerateSubkeyDSA2048Test)
 TEST_F (GpgCoreTest, GenerateSubkeyED25519Test)
 TEST_F (GpgCoreTest, GenerateSubkeyCV25519Test)
 TEST_F (GpgCoreTest, GenerateSubkeyNISTP256Test)
 TEST_F (GpgCoreTest, GenerateSubkeyBRAINPOOLP256R1Test)
auto GenerateRandomString (size_t length) -> QString
void ConfigureGpgContext ()
void ImportPrivateKeys (const QString &data_path, QSettings settings)
void SetupGlobalTestEnv ()
auto ExecuteAllTestCase (GpgFrontendContext args) -> int

Detailed Description

Copyright (C) 2021 Saturneric

This file is part of GpgFrontend.

GpgFrontend is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

GpgFrontend is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with GpgFrontend. If not, see

The initial version of the source code is inherited from the gpg4usb project, which is under GPL-3.0-or-later.

All the source code of GpgFrontend was modified and released by Saturneric starting on May 12, 2021.

SPDX-License-Identifier: GPL-3.0-or-later