]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5364] Removed unused structures in shared network tests.
authorMarcin Siodelski <marcin@isc.org>
Tue, 3 Oct 2017 18:27:33 +0000 (20:27 +0200)
committerMarcin Siodelski <marcin@isc.org>
Tue, 3 Oct 2017 18:27:33 +0000 (20:27 +0200)
src/bin/dhcp4/tests/shared_network_unittest.cc

index 00b3784cbf7747cd403750f9df72d2ea503f7609..39901d86cdccf0a1634982772eeda7e5495e39ab 100644 (file)
@@ -814,36 +814,6 @@ const char* NETWORKS_CONFIG[] = {
 class Dhcpv4SharedNetworkTest : public Dhcpv4SrvTest {
 public:
 
-    /// @brief Wrapper around statistics value before transaction.
-    struct StatBefore {
-        /// @brief Constructor.
-        ///
-        /// @param value Statistic value.
-        explicit StatBefore(const int64_t value)
-            : value_(value) {
-        }
-        /// @brief Holds numeric statistic value.
-        int64_t value_;
-    };
-
-    /// @brief Wrapper around statistics value after transaction.
-    struct StatAfter {
-        /// @brief Constructor.
-        ///
-        /// @param value Statistic value.
-        StatAfter(const int64_t value)
-            : value_(value) {
-        }
-        /// @brief Holds numeric statistic value.
-        int64_t value_;
-    };
-
-    /// @brief Mode of statistics verificiation in statistics tests.
-    enum class StatsVerify {
-        NEW_ALLOCATION,
-        TRANSFER
-    };
-
     /// @brief Constructor.
     Dhcpv4SharedNetworkTest()
         : Dhcpv4SrvTest(),