xref: /haiku/src/tests/kits/net/netservices2/HttpProtocolTest.h (revision a8003a7030b2c8ed66b3e5d211dd34578cceb258)
134522da9SNiels Sascha Reedijk /*
234522da9SNiels Sascha Reedijk  * Copyright 2021 Haiku, inc.
334522da9SNiels Sascha Reedijk  * Distributed under the terms of the MIT License.
434522da9SNiels Sascha Reedijk  */
534522da9SNiels Sascha Reedijk #ifndef HTTP_TEST_H
634522da9SNiels Sascha Reedijk #define HTTP_TEST_H
734522da9SNiels Sascha Reedijk 
834522da9SNiels Sascha Reedijk 
934522da9SNiels Sascha Reedijk #include <HttpSession.h>
1034522da9SNiels Sascha Reedijk #include <TestCase.h>
1134522da9SNiels Sascha Reedijk #include <TestSuite.h>
1234522da9SNiels Sascha Reedijk 
1334522da9SNiels Sascha Reedijk using BPrivate::Network::BHttpSession;
1434522da9SNiels Sascha Reedijk 
1534522da9SNiels Sascha Reedijk 
1634522da9SNiels Sascha Reedijk class HttpProtocolTest: public BTestCase {
1734522da9SNiels Sascha Reedijk public:
1834522da9SNiels Sascha Reedijk 					HttpProtocolTest();
1934522da9SNiels Sascha Reedijk 
20*a8003a70SNiels Sascha Reedijk 			void	HttpFieldsTest();
2134522da9SNiels Sascha Reedijk 
2234522da9SNiels Sascha Reedijk 	static	void	AddTests(BTestSuite& suite);
2334522da9SNiels Sascha Reedijk 
2434522da9SNiels Sascha Reedijk private:
2534522da9SNiels Sascha Reedijk 	BHttpSession	fSession;
2634522da9SNiels Sascha Reedijk };
2734522da9SNiels Sascha Reedijk 
2834522da9SNiels Sascha Reedijk 
2934522da9SNiels Sascha Reedijk #endif
30