THRIFT-929. cpp: Update TransportTest to test TSocket
authorDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:36 +0000 (17:10 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:10:36 +0000 (17:10 +0000)
commit0c025e8f52096f6c9f39b80909b5b1aebf335b03
treea50ae395bae21657a2510d94e22c1e6501112d7a
parent65e62d3741e226abf0caf7b7393845ad41779a61
THRIFT-929. cpp: Update TransportTest to test TSocket

Made the TSocket(int fd) constructor public, so TransportTest can create
a connected pair of TSocket transports using socketpair().

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005158 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/test/TransportTest.cpp