1*34522da9SNiels Sascha Reedijk /* 2*34522da9SNiels Sascha Reedijk * Copyright 2021 Haiku, inc. 3*34522da9SNiels Sascha Reedijk * Distributed under the terms of the MIT License. 4*34522da9SNiels Sascha Reedijk */ 5*34522da9SNiels Sascha Reedijk #ifndef HTTP_TEST_H 6*34522da9SNiels Sascha Reedijk #define HTTP_TEST_H 7*34522da9SNiels Sascha Reedijk 8*34522da9SNiels Sascha Reedijk 9*34522da9SNiels Sascha Reedijk #include <HttpSession.h> 10*34522da9SNiels Sascha Reedijk #include <TestCase.h> 11*34522da9SNiels Sascha Reedijk #include <TestSuite.h> 12*34522da9SNiels Sascha Reedijk 13*34522da9SNiels Sascha Reedijk using BPrivate::Network::BHttpSession; 14*34522da9SNiels Sascha Reedijk 15*34522da9SNiels Sascha Reedijk 16*34522da9SNiels Sascha Reedijk class HttpProtocolTest: public BTestCase { 17*34522da9SNiels Sascha Reedijk public: 18*34522da9SNiels Sascha Reedijk HttpProtocolTest(); 19*34522da9SNiels Sascha Reedijk 20*34522da9SNiels Sascha Reedijk void HttpHeaderTest(); 21*34522da9SNiels Sascha Reedijk 22*34522da9SNiels Sascha Reedijk static void AddTests(BTestSuite& suite); 23*34522da9SNiels Sascha Reedijk 24*34522da9SNiels Sascha Reedijk private: 25*34522da9SNiels Sascha Reedijk BHttpSession fSession; 26*34522da9SNiels Sascha Reedijk }; 27*34522da9SNiels Sascha Reedijk 28*34522da9SNiels Sascha Reedijk 29*34522da9SNiels Sascha Reedijk #endif 30