aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_ecc.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-22 10:56:25 -0400
committerJack Lloyd <[email protected]>2017-09-22 10:56:25 -0400
commit2610d170e73b3e1f94c35de75f6c25cea52ef7d5 (patch)
tree9c60bb607340eb79dace57184ed67145a478cfa4 /src/tests/unit_ecc.cpp
parentdc24f117eca49214d45582c83d2b8ddcc2c81704 (diff)
Add final annotations as appropriate in the test code
Diffstat (limited to 'src/tests/unit_ecc.cpp')
-rw-r--r--src/tests/unit_ecc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/unit_ecc.cpp b/src/tests/unit_ecc.cpp
index d79404a79..f46b94295 100644
--- a/src/tests/unit_ecc.cpp
+++ b/src/tests/unit_ecc.cpp
@@ -135,7 +135,7 @@ Botan::PointGFp create_random_point(Botan::RandomNumberGenerator& rng,
}
}
-class ECC_Randomized_Tests : public Test
+class ECC_Randomized_Tests final : public Test
{
public:
std::vector<Test::Result> run() override;
@@ -207,7 +207,7 @@ std::vector<Test::Result> ECC_Randomized_Tests::run()
BOTAN_REGISTER_TEST("ecc_randomized", ECC_Randomized_Tests);
-class NIST_Curve_Reduction_Tests : public Test
+class NIST_Curve_Reduction_Tests final : public Test
{
public:
typedef std::function<void (Botan::BigInt&, Botan::secure_vector<Botan::word>&)> reducer_fn;
@@ -823,7 +823,7 @@ Test::Result test_curve_cp_ctor()
return result;
}
-class ECC_Unit_Tests : public Test
+class ECC_Unit_Tests final : public Test
{
public:
std::vector<Test::Result> run() override
@@ -860,7 +860,7 @@ class ECC_Unit_Tests : public Test
BOTAN_REGISTER_TEST("ecc_unit", ECC_Unit_Tests);
-class ECC_Invalid_Key_Tests : public Text_Based_Test
+class ECC_Invalid_Key_Tests final : public Text_Based_Test
{
public:
ECC_Invalid_Key_Tests() :