Enhance the DummyTransport and rename it to MockTransport
---------------------------------------------------------
Key: AMQCPP-130
URL: https://issues.apache.org/activemq/browse/AMQCPP-130
Project: ActiveMQ C++ Client
Issue Type: Improvement
Components: CMS Impl
Affects Versions: 2.0.1
Reporter: Timothy Bish
Assignee: Nathan Mittler
Priority: Minor
Fix For: 2.1
ActiveMQ-CPP current has a class called DummyTransport that is part of the unit
tests suite. This class allows the creation of fake transports that mimic the
various protocols that the client supports. Recently some users have indicated
that they wish to use this capability in their own unit tests. As a result I
propose that we change the DummyTransport to MockTransport and move it into the
main source area so its built as part of the library. The existing
StompResponseBuilder should also be moved into the main source tree as well.
We also need to create an OpenWireResponseBuilder so that the MockTransport can
be used when testing against the openwire connector.
These classes should be better documented to make it easier to use them, and
the wiki should be updated to make their existence known.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.