summaryrefslogtreecommitdiff
path: root/server/BandwidthControllerTest.cpp
diff options
context:
space:
mode:
authorBernie Innocenti <codewiz@google.com>2019-01-30 22:40:53 +0900
committerBernie Innocenti <codewiz@google.com>2019-02-01 20:07:56 +0900
commita5161a006c572aeb82b012df5dd8bcf4533b64c7 (patch)
tree15d78f24a761792ef7d3fb07fb4ada76cb434e95 /server/BandwidthControllerTest.cpp
parent0b8bbc5fe3e4ee20b3b521c74cad2c6efa6323e3 (diff)
Enable more clang-tidy checks and treat them as errors
Test: tests/runtests.sh Change-Id: If59480cee6460847f5c1cef17e3ef036b8e75651
Diffstat (limited to 'server/BandwidthControllerTest.cpp')
-rw-r--r--server/BandwidthControllerTest.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/BandwidthControllerTest.cpp b/server/BandwidthControllerTest.cpp
index febbe62e..9337ac5d 100644
--- a/server/BandwidthControllerTest.cpp
+++ b/server/BandwidthControllerTest.cpp
@@ -38,18 +38,17 @@
#include "netdbpf/bpf_shared.h"
#include "tun_interface.h"
+using ::testing::_;
using ::testing::ByMove;
using ::testing::Invoke;
using ::testing::Return;
using ::testing::StrictMock;
-using ::testing::Test;
-using ::testing::_;
using android::base::Join;
using android::base::StringPrintf;
using android::net::TunInterface;
-using android::netdutils::status::ok;
using android::netdutils::UniqueFile;
+using android::netdutils::status::ok;
const std::string ACCOUNT_RULES_WITHOUT_BPF =
"*filter\n"