From: Marcin Siodelski Date: Sun, 4 Oct 2020 18:53:30 +0000 (+0200) Subject: [#1428] Renamed some unit tests X-Git-Tag: Kea-1.9.1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=653b76c3f97f849effb1cf4c2286a3492372ac35;p=thirdparty%2Fkea.git [#1428] Renamed some unit tests As a result of review. --- diff --git a/src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc b/src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc index f3160f66a1..a656bba515 100644 --- a/src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc +++ b/src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc @@ -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(); } diff --git a/src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc b/src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc index 8d12448289..0358ac5d3a 100644 --- a/src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc +++ b/src/lib/dhcpsrv/tests/pgsql_host_data_source_unittest.cc @@ -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(); }