]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1428] Renamed some unit tests
authorMarcin Siodelski <marcin@isc.org>
Sun, 4 Oct 2020 18:53:30 +0000 (20:53 +0200)
committerMarcin Siodelski <marcin@isc.org>
Mon, 5 Oct 2020 13:14:58 +0000 (13:14 +0000)
As a result of review.

src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc

index f3160f66a15d78fa094ab694b594c1cbb8bb4d7b..a656bba51564f415321103ff50aca2a51034e475 100644 (file)
@@ -1101,14 +1101,14 @@ TEST_F(MySqlHostDataSourceTest, allowDuplicateIPv6MultiThreading) {
 /// @brief Test if the duplicate IPv4 host instances can't be inserted. The test logic is as
 /// follows: try to add multiple instances of the same host reservation and
 /// verify that the second and following attempts will throw exceptions.
-TEST_F(MySqlHostDataSourceTest, addDuplicate4) {
+TEST_F(MySqlHostDataSourceTest, addDuplicateIPv4) {
     testAddDuplicateIPv4();
 }
 
 /// @brief Test if the duplicate IPv4 host instances can't be inserted. The test logic is as
 /// follows: try to add multiple instances of the same host reservation and
 /// verify that the second and following attempts will throw exceptions.
-TEST_F(MySqlHostDataSourceTest, addDuplicate4MultiThreading) {
+TEST_F(MySqlHostDataSourceTest, addDuplicateIPv4MultiThreading) {
     MultiThreadingTest mt(true);
     testAddDuplicateIPv4();
 }
index 8d1244828957703a8eecbfef908ab988c15f2fb9..0358ac5d3a2f26b8a4895c521d3ad1781c8718bd 100644 (file)
@@ -1095,14 +1095,14 @@ TEST_F(PgSqlHostDataSourceTest, addDuplicateIPv6MultiThreading) {
 /// @brief Test if the duplicate IPv4 host instances can't be inserted. The test logic is as
 /// follows: try to add multiple instances of the same host reservation and
 /// verify that the second and following attempts will throw exceptions.
-TEST_F(PgSqlHostDataSourceTest, addDuplicate4) {
+TEST_F(PgSqlHostDataSourceTest, addDuplicateIPv4) {
     testAddDuplicateIPv4();
 }
 
 /// @brief Test if the duplicate IPv4 host instances can't be inserted. The test logic is as
 /// follows: try to add multiple instances of the same host reservation and
 /// verify that the second and following attempts will throw exceptions.
-TEST_F(PgSqlHostDataSourceTest, addDuplicate4MultiThreading) {
+TEST_F(PgSqlHostDataSourceTest, addDuplicateIPv4MultiThreading) {
     MultiThreadingTest mt(true);
     testAddDuplicateIPv4();
 }