summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNan Zhou <nanzhoumails@gmail.com>2022-06-27 02:50:39 +0300
committerEd Tanous <ed@tanous.net>2022-06-28 03:08:56 +0300
commitdff2f9b33ef21c762d55f7b88d2ef0127c524208 (patch)
tree6bcb5874fa222b4d0d37ff189d0e0b9f119d5101
parentbf8ab7a3ee67977fe8e1f1958af94c9da215cb6f (diff)
downloadbmcweb-dff2f9b33ef21c762d55f7b88d2ef0127c524208.tar.xz
http: router_test: fix headers
IWYU. Use <> for dependency headers and "" for bmcweb headers. Reference: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#sf12-prefer-the-quoted-form-of-include-for-files-relative-to-the-including-file-and-the-angle-bracket-form-everywhere-else Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: I02537f16974ab96a1e4e4e1ee6e1db1a9c679c68
-rw-r--r--http/ut/router_test.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/http/ut/router_test.cpp b/http/ut/router_test.cpp
index da0f72c149..f4c9e708f2 100644
--- a/http/ut/router_test.cpp
+++ b/http/ut/router_test.cpp
@@ -1,8 +1,16 @@
+#include "async_resp.hpp"
#include "http_request.hpp"
#include "routing.hpp"
+#include "utility.hpp"
-#include "gmock/gmock.h"
-#include "gtest/gtest.h"
+#include <boost/beast/http/verb.hpp>
+
+#include <memory>
+#include <string>
+#include <string_view>
+#include <system_error>
+
+#include <gtest/gtest.h>
TEST(Router, AllowHeader)
{