Protocols::Http::Testing::ConcreteProtocolTest Class Reference

Inherits TestFixture.

Inheritance diagram for Protocols::Http::Testing::ConcreteProtocolTest:

Inheritance graph
[legend]
Collaboration diagram for Protocols::Http::Testing::ConcreteProtocolTest:

Collaboration graph
[legend]
List of all members.

Detailed Description

Tests for class ConcreteProtocol.

Definition at line 39 of file ConcreteProtocolTest.cpp.

Public Member Functions

void setUp ()
void tearDown ()
void testCreateHeaderInvalidHeader ()
void refCreateHeader (const QByteArray &rawHeader, const Header &header)
void testCreateRequestHeader ()
void testCreateResponseHeader ()
template<typename BodyReaderType>
void refCreateBodyReader (const QByteArray &rawHeader)
void testCreateBodyReaderWhenNoTransferEncodingAndNoContentLength ()
void testCreateBodyReaderWhenIdentityEncodingAndNoContentLength ()
void testCreateBodyReaderWhenNoTransferEncodingAndContentLength ()
void testCreateBodyReaderWhenIdentityEncodingAndContentLength ()
template<typename BodyWriterType>
void refCreateBodyWriter (const QByteArray &rawHeader)
void testCreateBodyWriterWhenNoTransferEncodingAndContentLength ()
void testCreateBodyWriterWhenIdentityEncodingAndContentLength ()

Private Member Functions

 CPPUNIT_TEST_SUITE (ConcreteProtocolTest)
 CPPUNIT_TEST (testCreateHeaderInvalidHeader)
 CPPUNIT_TEST (testCreateRequestHeader)
 CPPUNIT_TEST (testCreateResponseHeader)
 CPPUNIT_TEST (testCreateBodyReaderWhenNoTransferEncodingAndNoContentLength)
 CPPUNIT_TEST (testCreateBodyReaderWhenIdentityEncodingAndNoContentLength)
 CPPUNIT_TEST (testCreateBodyReaderWhenNoTransferEncodingAndContentLength)
 CPPUNIT_TEST (testCreateBodyReaderWhenIdentityEncodingAndContentLength)
 CPPUNIT_TEST (testCreateBodyWriterWhenNoTransferEncodingAndContentLength)
 CPPUNIT_TEST (testCreateBodyWriterWhenIdentityEncodingAndContentLength)
 CPPUNIT_TEST_SUITE_END ()

Private Attributes

auto_ptr< ConcreteProtocolprotocol


Member Function Documentation

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateBodyWriterWhenIdentityEncodingAndContentLength   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateBodyWriterWhenNoTransferEncodingAndContentLength   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateBodyReaderWhenIdentityEncodingAndContentLength   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateBodyReaderWhenNoTransferEncodingAndContentLength   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateBodyReaderWhenIdentityEncodingAndNoContentLength   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateBodyReaderWhenNoTransferEncodingAndNoContentLength   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateResponseHeader   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateRequestHeader   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST testCreateHeaderInvalidHeader   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST_SUITE ConcreteProtocolTest   )  [private]
 

Protocols::Http::Testing::ConcreteProtocolTest::CPPUNIT_TEST_SUITE_END  )  [private]
 

template<typename BodyReaderType>
void Protocols::Http::Testing::ConcreteProtocolTest::refCreateBodyReader const QByteArray &  rawHeader  )  [inline]
 

Definition at line 94 of file ConcreteProtocolTest.cpp.

template<typename BodyWriterType>
void Protocols::Http::Testing::ConcreteProtocolTest::refCreateBodyWriter const QByteArray &  rawHeader  )  [inline]
 

Definition at line 129 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::refCreateHeader const QByteArray &  rawHeader,
const Header header
[inline]
 

Definition at line 73 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::setUp  )  [inline]
 

Definition at line 56 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::tearDown  )  [inline]
 

Definition at line 61 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateBodyReaderWhenIdentityEncodingAndContentLength  )  [inline]
 

Definition at line 121 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateBodyReaderWhenIdentityEncodingAndNoContentLength  )  [inline]
 

Definition at line 109 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateBodyReaderWhenNoTransferEncodingAndContentLength  )  [inline]
 

Definition at line 115 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateBodyReaderWhenNoTransferEncodingAndNoContentLength  )  [inline]
 

Definition at line 104 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateBodyWriterWhenIdentityEncodingAndContentLength  )  [inline]
 

Definition at line 145 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateBodyWriterWhenNoTransferEncodingAndContentLength  )  [inline]
 

Definition at line 139 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateHeaderInvalidHeader  )  [inline]
 

Definition at line 66 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateRequestHeader  )  [inline]
 

Definition at line 79 of file ConcreteProtocolTest.cpp.

void Protocols::Http::Testing::ConcreteProtocolTest::testCreateResponseHeader  )  [inline]
 

Definition at line 86 of file ConcreteProtocolTest.cpp.


Member Data Documentation

auto_ptr<ConcreteProtocol> Protocols::Http::Testing::ConcreteProtocolTest::protocol [private]
 

Definition at line 53 of file ConcreteProtocolTest.cpp.


The documentation for this class was generated from the following file: