Inheritance diagram for Protocols::Http::Testing::ClientHttpSessionFactoryTest:


Definition at line 76 of file ClientHttpSessionFactoryTest.cpp.
Public Member Functions | |
| ClientHttpSessionFactoryTest () | |
| void | setUp () |
| void | tearDown () |
| void | scenarioMakeTransportUri (const Uri &httpUri, const Uri &expectedTransportUri) |
| Tests the static helper that converts an HTTP uri to a Transport URI. | |
| void | testConvertHttpUriOnlyWithSchemeAndHostToTcpUri () |
| The port is not set, so use the default value. | |
| void | testConvertHttpUriOnlyWithAllFieldsToTcpUri () |
| When all fields are set, then only copy host and port. | |
| void | testConvertHttpUriWithoutSchemeReturnsNullUri () |
| If scheme is missing or unknown, a Null Uri object is returned. | |
| ClientHttpSession * | refCreateSessionFromTransport () |
| Synchronously create a ClientHttpSession object for transport. | |
| void | refCreateSessionFromUri (const Uri &uri) |
| Trigger an asynchronous creation of a session for a given uri. | |
| void | refSessionCreatedFromUriAsynchronously (const Uri &uri) |
| An asynchronous creation of a session completes successfully. | |
| void | refSessionNotCreatedFromUriAsynchronously (const Uri &uri) |
| An asynchronous creation of a session fails. | |
| void | refDestroySession (ClientHttpSession *httpSession) |
| Destroying an already created httpSession object. | |
| void | testCreateClientHttpSessionFromTransportThenDestroyThem () |
| A synchronously created httpSession is eventually destroyed. | |
| void | testCreateClientHttpSessionForUriSucceedsAndDestroyThem () |
| An asynchronously created httpSession is eventually destroyed. | |
| void | testCreateClientHttpSessionForUriFails () |
| A session creation attempt fails asynchronously. | |
| void | testCreateClientHttpSessionForUriFailsSynchronously () |
| Fail synchronously if the URI scheme is not supported or not specified. | |
Private Member Functions | |
| CPPUNIT_TEST_SUITE (ClientHttpSessionFactoryTest) | |
| CPPUNIT_TEST (testConvertHttpUriOnlyWithSchemeAndHostToTcpUri) | |
| CPPUNIT_TEST (testConvertHttpUriOnlyWithAllFieldsToTcpUri) | |
| CPPUNIT_TEST (testConvertHttpUriWithoutSchemeReturnsNullUri) | |
| CPPUNIT_TEST (testCreateClientHttpSessionFromTransportThenDestroyThem) | |
| CPPUNIT_TEST (testCreateClientHttpSessionForUriSucceedsAndDestroyThem) | |
| CPPUNIT_TEST (testCreateClientHttpSessionForUriFails) | |
| CPPUNIT_TEST (testCreateClientHttpSessionForUriFailsSynchronously) | |
| CPPUNIT_TEST_SUITE_END () | |
Private Attributes | |
| auto_ptr< TransportFactoryMock > | transportFactory |
| auto_ptr< TransportMock > | transport |
| auto_ptr< ClientHttpSessionStatusMock > | httpSessionStatus |
| auto_ptr< ClientHttpSessionFactoryStatusMock > | factoryStatus |
| auto_ptr< ClientHttpSessionFactory > | factoryReal |
| auto_ptr< ClientHttpSessionFactoryDriver > | factory |
| const Uri | uri |
| const Uri | uriForTransport |
| const Uri | uriAllFields |
| const Uri | uriAllFieldsForTransport |
| const Uri | badUri |
| const Uri | badUriForTransport |
|
|
Definition at line 103 of file ClientHttpSessionFactoryTest.cpp. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Synchronously create a ClientHttpSession object for transport.
Definition at line 174 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Trigger an asynchronous creation of a session for a given uri.
Definition at line 185 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Destroying an already created httpSession object.
Definition at line 218 of file ClientHttpSessionFactoryTest.cpp. |
|
|
An asynchronous creation of a session completes successfully.
Definition at line 196 of file ClientHttpSessionFactoryTest.cpp. |
|
|
An asynchronous creation of a session fails.
Definition at line 208 of file ClientHttpSessionFactoryTest.cpp. |
|
||||||||||||
|
Tests the static helper that converts an HTTP uri to a Transport URI.
Definition at line 148 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 116 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 137 of file ClientHttpSessionFactoryTest.cpp. |
|
|
When all fields are set, then only copy host and port.
Definition at line 162 of file ClientHttpSessionFactoryTest.cpp. |
|
|
The port is not set, so use the default value.
Definition at line 156 of file ClientHttpSessionFactoryTest.cpp. |
|
|
If scheme is missing or unknown, a Null Uri object is returned.
Definition at line 168 of file ClientHttpSessionFactoryTest.cpp. |
|
|
A session creation attempt fails asynchronously.
Definition at line 242 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Fail synchronously if the URI scheme is not supported or not specified.
Definition at line 249 of file ClientHttpSessionFactoryTest.cpp. |
|
|
An asynchronously created httpSession is eventually destroyed.
Definition at line 234 of file ClientHttpSessionFactoryTest.cpp. |
|
|
A synchronously created httpSession is eventually destroyed.
Definition at line 227 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 99 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 100 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 93 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 92 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 91 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 90 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 89 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 88 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 95 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 97 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 98 of file ClientHttpSessionFactoryTest.cpp. |
|
|
Definition at line 96 of file ClientHttpSessionFactoryTest.cpp. |