From c83cff36d89ad1d1a46751bbf20f422f0c1d27d6 Mon Sep 17 00:00:00 2001 From: Matias Fontanini Date: Sun, 30 Apr 2017 11:59:10 -0700 Subject: [PATCH] Remove useless includes for utils.h on tests --- tests/src/arp_test.cpp | 1 - tests/src/dns_test.cpp | 1 - tests/src/dot11/dot11_test.cpp | 1 - tests/src/ethernet_test.cpp | 1 - tests/src/icmp_test.cpp | 1 - tests/src/icmpv6_test.cpp | 1 - tests/src/ip_address_test.cpp | 1 - tests/src/ip_test.cpp | 1 - tests/src/ipv6_address_test.cpp | 1 - tests/src/ipv6_test.cpp | 1 - tests/src/network_interface_test.cpp | 1 - tests/src/rc4_eapol_test.cpp | 1 - tests/src/rsn_eapol_test.cpp | 1 - tests/src/snap_test.cpp | 1 - tests/src/tcp_ip_test.cpp | 1 - tests/src/tcp_stream_test.cpp | 1 - tests/src/tcp_test.cpp | 1 - 17 files changed, 17 deletions(-) diff --git a/tests/src/arp_test.cpp b/tests/src/arp_test.cpp index 036d8e4..09a25d9 100644 --- a/tests/src/arp_test.cpp +++ b/tests/src/arp_test.cpp @@ -4,7 +4,6 @@ #include #include #include "arp.h" -#include "utils.h" #include "ip_address.h" diff --git a/tests/src/dns_test.cpp b/tests/src/dns_test.cpp index d19daa5..55641a4 100644 --- a/tests/src/dns_test.cpp +++ b/tests/src/dns_test.cpp @@ -2,7 +2,6 @@ #include #include "dns.h" #include "ipv6_address.h" -#include "utils.h" using namespace Tins; diff --git a/tests/src/dot11/dot11_test.cpp b/tests/src/dot11/dot11_test.cpp index d1308c4..6fd9a25 100644 --- a/tests/src/dot11/dot11_test.cpp +++ b/tests/src/dot11/dot11_test.cpp @@ -4,7 +4,6 @@ #include #include "tests/dot11.h" -#include "utils.h" using namespace std; using namespace Tins; diff --git a/tests/src/ethernet_test.cpp b/tests/src/ethernet_test.cpp index 0307685..56267e8 100644 --- a/tests/src/ethernet_test.cpp +++ b/tests/src/ethernet_test.cpp @@ -1,7 +1,6 @@ #include #include #include "ethernetII.h" -#include "utils.h" #include "macros.h" #include "ipv6.h" #include "ip.h" diff --git a/tests/src/icmp_test.cpp b/tests/src/icmp_test.cpp index ba17f85..a49cdc8 100644 --- a/tests/src/icmp_test.cpp +++ b/tests/src/icmp_test.cpp @@ -5,7 +5,6 @@ #include "icmp.h" #include "ip.h" #include "ethernetII.h" -#include "utils.h" #include "mpls.h" #include "rawpdu.h" diff --git a/tests/src/icmpv6_test.cpp b/tests/src/icmpv6_test.cpp index 4d8f231..9305ac6 100644 --- a/tests/src/icmpv6_test.cpp +++ b/tests/src/icmpv6_test.cpp @@ -6,7 +6,6 @@ #include "ethernetII.h" #include "ip.h" #include "tcp.h" -#include "utils.h" #include "rawpdu.h" #include "hw_address.h" diff --git a/tests/src/ip_address_test.cpp b/tests/src/ip_address_test.cpp index f61208d..8bbc920 100644 --- a/tests/src/ip_address_test.cpp +++ b/tests/src/ip_address_test.cpp @@ -4,7 +4,6 @@ #include #include #include "ip_address.h" -#include "utils.h" using namespace Tins; diff --git a/tests/src/ip_test.cpp b/tests/src/ip_test.cpp index e2d6b8e..bbe4e75 100644 --- a/tests/src/ip_test.cpp +++ b/tests/src/ip_test.cpp @@ -9,7 +9,6 @@ #include "icmp_extension.h" #include "rawpdu.h" #include "ip_address.h" -#include "utils.h" #include "ethernetII.h" using namespace std; diff --git a/tests/src/ipv6_address_test.cpp b/tests/src/ipv6_address_test.cpp index c355abe..7556101 100644 --- a/tests/src/ipv6_address_test.cpp +++ b/tests/src/ipv6_address_test.cpp @@ -5,7 +5,6 @@ #include #include #include "ipv6_address.h" -#include "utils.h" using namespace Tins; diff --git a/tests/src/ipv6_test.cpp b/tests/src/ipv6_test.cpp index 5f0c283..72809b6 100644 --- a/tests/src/ipv6_test.cpp +++ b/tests/src/ipv6_test.cpp @@ -10,7 +10,6 @@ #include "rawpdu.h" #include "ethernetII.h" #include "ipv6_address.h" -#include "utils.h" using namespace std; using namespace Tins; diff --git a/tests/src/network_interface_test.cpp b/tests/src/network_interface_test.cpp index 346d668..c3c708d 100644 --- a/tests/src/network_interface_test.cpp +++ b/tests/src/network_interface_test.cpp @@ -2,7 +2,6 @@ #include #include #include "network_interface.h" -#include "utils.h" #include "macros.h" using namespace Tins; diff --git a/tests/src/rc4_eapol_test.cpp b/tests/src/rc4_eapol_test.cpp index 5d39554..7f6fabf 100644 --- a/tests/src/rc4_eapol_test.cpp +++ b/tests/src/rc4_eapol_test.cpp @@ -3,7 +3,6 @@ #include #include #include "eapol.h" -#include "utils.h" using namespace std; using namespace Tins; diff --git a/tests/src/rsn_eapol_test.cpp b/tests/src/rsn_eapol_test.cpp index 3339251..705492f 100644 --- a/tests/src/rsn_eapol_test.cpp +++ b/tests/src/rsn_eapol_test.cpp @@ -4,7 +4,6 @@ #include #include "eapol.h" #include "snap.h" -#include "utils.h" #include "ethernetII.h" #include "rsn_information.h" diff --git a/tests/src/snap_test.cpp b/tests/src/snap_test.cpp index a716cee..17e4d89 100644 --- a/tests/src/snap_test.cpp +++ b/tests/src/snap_test.cpp @@ -3,7 +3,6 @@ #include #include #include "snap.h" -#include "utils.h" using namespace std; using namespace Tins; diff --git a/tests/src/tcp_ip_test.cpp b/tests/src/tcp_ip_test.cpp index ae9f600..896b0a0 100644 --- a/tests/src/tcp_ip_test.cpp +++ b/tests/src/tcp_ip_test.cpp @@ -17,7 +17,6 @@ #include "ethernetII.h" #include "rawpdu.h" #include "packet.h" -#include "utils.h" #include "config.h" #ifdef TINS_HAVE_ACK_TRACKER #include "tcp_ip/ack_tracker.h" diff --git a/tests/src/tcp_stream_test.cpp b/tests/src/tcp_stream_test.cpp index 9df9459..9933acd 100644 --- a/tests/src/tcp_stream_test.cpp +++ b/tests/src/tcp_stream_test.cpp @@ -5,7 +5,6 @@ #include "tcp_stream.h" #include "tcp.h" #include "ethernetII.h" -#include "utils.h" using namespace Tins; diff --git a/tests/src/tcp_test.cpp b/tests/src/tcp_test.cpp index 4aef600..a7ed226 100644 --- a/tests/src/tcp_test.cpp +++ b/tests/src/tcp_test.cpp @@ -6,7 +6,6 @@ #include "tcp.h" #include "ip.h" #include "ethernetII.h" -#include "utils.h" using namespace std; using namespace Tins;