2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
// HTTPStreamFactoryTest.h
|
|
|
|
//
|
|
|
|
// $Id: //poco/1.4/Net/testsuite/src/HTTPStreamFactoryTest.h#1 $
|
|
|
|
//
|
|
|
|
// Definition of the HTTPStreamFactoryTest class.
|
|
|
|
//
|
|
|
|
// Copyright (c) 2005-2006, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef HTTPStreamFactoryTest_INCLUDED
|
|
|
|
#define HTTPStreamFactoryTest_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/Net/Net.h"
|
|
|
|
#include "CppUnit/TestCase.h"
|
|
|
|
|
|
|
|
|
|
|
|
class HTTPStreamFactoryTest: public CppUnit::TestCase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
HTTPStreamFactoryTest(const std::string& name);
|
|
|
|
~HTTPStreamFactoryTest();
|
|
|
|
|
|
|
|
void testNoRedirect();
|
|
|
|
void testEmptyPath();
|
|
|
|
void testRedirect();
|
|
|
|
void testProxy();
|
|
|
|
void testError();
|
|
|
|
|
|
|
|
void setUp();
|
|
|
|
void tearDown();
|
|
|
|
|
|
|
|
static CppUnit::Test* suite();
|
|
|
|
|
|
|
|
private:
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // HTTPStreamFactoryTest_INCLUDED
|