aboutsummaryrefslogtreecommitdiffstats
path: root/test/GpgCoreTestKeyModel.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2023-07-13 16:51:19 +0000
committerGitHub <[email protected]>2023-07-13 16:51:19 +0000
commit40bcaec6c8c0c363bf793745131a2e6d0274fd6d (patch)
tree8dc11045bee7caf8a1b936ee2203dd39bec59e07 /test/GpgCoreTestKeyModel.cpp
parentMerge pull request #102 from CDmking/main (diff)
parentMerge branch 'main' into dev/2.1.0/main (diff)
downloadGpgFrontend-40bcaec6c8c0c363bf793745131a2e6d0274fd6d.tar.gz
GpgFrontend-40bcaec6c8c0c363bf793745131a2e6d0274fd6d.zip
Merge pull request #106 from saturneric/dev/2.1.0/main
Develop 2.1.1.4
Diffstat (limited to 'test/GpgCoreTestKeyModel.cpp')
-rw-r--r--test/GpgCoreTestKeyModel.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/GpgCoreTestKeyModel.cpp b/test/GpgCoreTestKeyModel.cpp
index 41498e95..9ab670f1 100644
--- a/test/GpgCoreTestKeyModel.cpp
+++ b/test/GpgCoreTestKeyModel.cpp
@@ -72,7 +72,7 @@ TEST_F(GpgCoreTest, GpgKeyTest) {
ASSERT_EQ(key.name(), "GpgFrontendTest");
ASSERT_TRUE(key.comment().empty());
- ASSERT_EQ(key.email(), "[email protected]");
+ ASSERT_EQ(key.email(), "[email protected]");
ASSERT_EQ(key.id(), "81704859182661FB");
ASSERT_EQ(key.fpr(), "9490795B78F8AFE9F93BD09281704859182661FB");
ASSERT_EQ(key.expires(),
@@ -129,8 +129,8 @@ TEST_F(GpgCoreTest, GpgUIDTest) {
ASSERT_EQ(uid.name(), "GpgFrontendTest");
ASSERT_TRUE(uid.comment().empty());
- ASSERT_EQ(uid.email(), "[email protected]");
- ASSERT_EQ(uid.uid(), "GpgFrontendTest <[email protected]>");
+ ASSERT_EQ(uid.email(), "[email protected]");
+ ASSERT_EQ(uid.uid(), "GpgFrontendTest <[email protected]>");
ASSERT_FALSE(uid.invalid());
ASSERT_FALSE(uid.revoked());
}
@@ -148,7 +148,7 @@ TEST_F(GpgCoreTest, GpgKeySignatureTest) {
ASSERT_EQ(signature.name(), "GpgFrontendTest");
ASSERT_TRUE(signature.comment().empty());
- ASSERT_EQ(signature.email(), "[email protected]");
+ ASSERT_EQ(signature.email(), "[email protected]");
ASSERT_EQ(signature.keyid(), "81704859182661FB");
ASSERT_EQ(signature.pubkey_algo(), "RSA");
@@ -156,7 +156,8 @@ TEST_F(GpgCoreTest, GpgKeySignatureTest) {
ASSERT_FALSE(signature.invalid());
ASSERT_EQ(GpgFrontend::check_gpg_error_2_err_code(signature.status()),
GPG_ERR_NO_ERROR);
- ASSERT_EQ(signature.uid(), "GpgFrontendTest <[email protected]>");
+ ASSERT_EQ(signature.uid(),
+ "GpgFrontendTest <[email protected]>");
}
TEST_F(GpgCoreTest, GpgKeyGetterTest) {