diff options
Diffstat (limited to 'tests/test_http.cpp')
| -rw-r--r-- | tests/test_http.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_http.cpp b/tests/test_http.cpp index 7ccc9ff..2fb532d 100644 --- a/tests/test_http.cpp +++ b/tests/test_http.cpp @@ -2,9 +2,9 @@ #include <vector> -#include "wireframe/l7/http.hpp" +#include "packeteer/l7/http.hpp" -using namespace wireframe::net; +using namespace packeteer::net; namespace { @@ -69,10 +69,10 @@ TEST_CASE("HttpDissector claims port 80 and its summary matches parse_http") { HttpDissector dissector; CHECK(dissector.port() == kHttpPort); - auto bytes = to_bytes("GET /path HTTP/1.1\r\nHost: wireframe.test\r\n\r\n"); + auto bytes = to_bytes("GET /path HTTP/1.1\r\nHost: packeteer.test\r\n\r\n"); auto summary = dissector.summarize(bytes); REQUIRE(summary.has_value()); CHECK(summary->substr(0, 4) == "HTTP"); CHECK(summary->find("GET /path") != std::string::npos); - CHECK(summary->find("wireframe.test") != std::string::npos); + CHECK(summary->find("packeteer.test") != std::string::npos); } |