Parcourir la source

[5364] Removed unused structures in shared network tests.

Marcin Siodelski il y a 7 ans
Parent
commit
dc05982696
1 fichiers modifiés avec 0 ajouts et 30 suppressions
  1. 0 30
      src/bin/dhcp4/tests/shared_network_unittest.cc

+ 0 - 30
src/bin/dhcp4/tests/shared_network_unittest.cc

@@ -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(),