Protocols::Http::Testing::ResponseHeaderTest Class Reference

Inherits TestFixture.

Inheritance diagram for Protocols::Http::Testing::ResponseHeaderTest:

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

Collaboration graph
[legend]
List of all members.

Detailed Description

Tests for class ResponseHeader.

Definition at line 34 of file ResponseHeaderTest.cpp.

Public Member Functions

 ResponseHeaderTest ()
void setUp ()
void refParseFails (const QByteArray &invalidRawResponseHeader)
void testParseFailsInvalidProtocol ()
void testParseFailsNoStatusCode ()
void testParseFailsNoStatusPhrase ()
void testParseSucceeds ()
void testWriteHeader ()

Private Member Functions

 CPPUNIT_TEST_SUITE (ResponseHeaderTest)
 CPPUNIT_TEST (testParseFailsInvalidProtocol)
 CPPUNIT_TEST (testParseFailsNoStatusCode)
 CPPUNIT_TEST (testParseFailsNoStatusPhrase)
 CPPUNIT_TEST (testParseSucceeds)
 CPPUNIT_TEST (testWriteHeader)
 CPPUNIT_TEST_SUITE_END ()

Private Attributes

ResponseHeader responseHeader
const QByteArray rawResponseHeader


Constructor & Destructor Documentation

Protocols::Http::Testing::ResponseHeaderTest::ResponseHeaderTest  )  [inline]
 

Definition at line 48 of file ResponseHeaderTest.cpp.


Member Function Documentation

Protocols::Http::Testing::ResponseHeaderTest::CPPUNIT_TEST testWriteHeader   )  [private]
 

Protocols::Http::Testing::ResponseHeaderTest::CPPUNIT_TEST testParseSucceeds   )  [private]
 

Protocols::Http::Testing::ResponseHeaderTest::CPPUNIT_TEST testParseFailsNoStatusPhrase   )  [private]
 

Protocols::Http::Testing::ResponseHeaderTest::CPPUNIT_TEST testParseFailsNoStatusCode   )  [private]
 

Protocols::Http::Testing::ResponseHeaderTest::CPPUNIT_TEST testParseFailsInvalidProtocol   )  [private]
 

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

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

void Protocols::Http::Testing::ResponseHeaderTest::refParseFails const QByteArray &  invalidRawResponseHeader  )  [inline]
 

Definition at line 60 of file ResponseHeaderTest.cpp.

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

Definition at line 55 of file ResponseHeaderTest.cpp.

void Protocols::Http::Testing::ResponseHeaderTest::testParseFailsInvalidProtocol  )  [inline]
 

Definition at line 66 of file ResponseHeaderTest.cpp.

void Protocols::Http::Testing::ResponseHeaderTest::testParseFailsNoStatusCode  )  [inline]
 

Definition at line 71 of file ResponseHeaderTest.cpp.

void Protocols::Http::Testing::ResponseHeaderTest::testParseFailsNoStatusPhrase  )  [inline]
 

Definition at line 76 of file ResponseHeaderTest.cpp.

void Protocols::Http::Testing::ResponseHeaderTest::testParseSucceeds  )  [inline]
 

Definition at line 81 of file ResponseHeaderTest.cpp.

void Protocols::Http::Testing::ResponseHeaderTest::testWriteHeader  )  [inline]
 

Definition at line 91 of file ResponseHeaderTest.cpp.


Member Data Documentation

const QByteArray Protocols::Http::Testing::ResponseHeaderTest::rawResponseHeader [private]
 

Definition at line 45 of file ResponseHeaderTest.cpp.

ResponseHeader Protocols::Http::Testing::ResponseHeaderTest::responseHeader [private]
 

Definition at line 44 of file ResponseHeaderTest.cpp.


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