aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_pubkey.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-01-02 16:39:50 -0500
committerJack Lloyd <[email protected]>2017-01-02 16:39:54 -0500
commita1f5c5877721ec5c93d233b6e4726967485f6677 (patch)
tree67bf241ebb604c08fb7a778b80b602538b3bb00e /src/tests/test_pubkey.h
parent77a9434868e176811a75f0496c0604f72c413b97 (diff)
Add some final annotations in the PK tests
Diffstat (limited to 'src/tests/test_pubkey.h')
-rw-r--r--src/tests/test_pubkey.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/tests/test_pubkey.h b/src/tests/test_pubkey.h
index 3fa06bb29..cbcc38f9d 100644
--- a/src/tests/test_pubkey.h
+++ b/src/tests/test_pubkey.h
@@ -56,7 +56,7 @@ class PK_Signature_Generation_Test : public PK_Test
}
private:
- Test::Result run_one_test(const std::string&, const VarMap& vars) override;
+ Test::Result run_one_test(const std::string&, const VarMap& vars) override final;
};
class PK_Signature_Verification_Test : public PK_Test
@@ -75,7 +75,7 @@ class PK_Signature_Verification_Test : public PK_Test
virtual std::unique_ptr<Botan::Public_Key> load_public_key(const VarMap& vars) = 0;
private:
- Test::Result run_one_test(const std::string& header, const VarMap& vars) override;
+ Test::Result run_one_test(const std::string& header, const VarMap& vars) override final;
};
class PK_Signature_NonVerification_Test : public PK_Test
@@ -96,7 +96,7 @@ class PK_Signature_NonVerification_Test : public PK_Test
virtual std::unique_ptr<Botan::Public_Key> load_public_key(const VarMap& vars) = 0;
private:
- Test::Result run_one_test(const std::string& header, const VarMap& vars) override;
+ Test::Result run_one_test(const std::string& header, const VarMap& vars) override final;
};
class PK_Encryption_Decryption_Test : public PK_Test
@@ -112,7 +112,7 @@ class PK_Encryption_Decryption_Test : public PK_Test
virtual std::string default_padding(const VarMap&) const { return "Raw"; }
private:
- Test::Result run_one_test(const std::string& header, const VarMap& vars) override;
+ Test::Result run_one_test(const std::string& header, const VarMap& vars) override final;
};
class PK_Key_Agreement_Test : public PK_Test
@@ -133,7 +133,7 @@ class PK_Key_Agreement_Test : public PK_Test
virtual std::string default_kdf(const VarMap&) const { return "Raw"; }
private:
- Test::Result run_one_test(const std::string& header, const VarMap& vars) override;
+ Test::Result run_one_test(const std::string& header, const VarMap& vars) override final;
};
class PK_KEM_Test : public PK_Test
@@ -147,13 +147,13 @@ class PK_KEM_Test : public PK_Test
virtual std::unique_ptr<Botan::Private_Key> load_private_key(const VarMap& vars) = 0;
private:
- Test::Result run_one_test(const std::string& header, const VarMap& vars) override;
+ Test::Result run_one_test(const std::string& header, const VarMap& vars) override final;
};
class PK_Key_Generation_Test : public Test
{
protected:
- std::vector<Test::Result> run() override;
+ std::vector<Test::Result> run() override final;
virtual std::vector<std::string> keygen_params() const = 0;