commit | dff2f9b33ef21c762d55f7b88d2ef0127c524208 | [log] [tgz] |
---|---|---|
author | Nan Zhou <nanzhoumails@gmail.com> | Sun Jun 26 23:50:39 2022 +0000 |
committer | Ed Tanous <ed@tanous.net> | Tue Jun 28 00:08:56 2022 +0000 |
tree | 6bcb5874fa222b4d0d37ff189d0e0b9f119d5101 | |
parent | bf8ab7a3ee67977fe8e1f1958af94c9da215cb6f [diff] |
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
diff --git a/http/ut/router_test.cpp b/http/ut/router_test.cpp index da0f72c..f4c9e70 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) {