mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-08 03:08:53 +00:00
35dc7695a9
Tests various transport types by writing data, and verifying it can be read back successfully. Tests both virtual calls (accessed as TTransport*) and non-virtual calls (accessed as the appropriate pointer type, or as TBufferBase* when appropriate). This is similar to some of the tests already performed in TMemoryBufferTest and ZlibTest.cpp. However, this tests a few more transport types, and it interleaves read and write calls more heavily. (It currently exposes some bugs in flush() in a couple transports.) It also exercises both the virtual and non-virtual code paths, now that read() and write() only result in virtual calls when invoked on a TTransport*. TFileTransport currently has several race condition bugs, so most of the TFileTransport tests ususally fail. It also has some performance bugs, causing the TFileTransport tests to take a long time. Will fix those issues separately. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005146 13f79535-47bb-0310-9956-ffa450edef68 |
||
---|---|---|
.. | ||
AllProtocolTests.cpp | ||
AllProtocolTests.tcc | ||
Benchmark.cpp | ||
DebugProtoTest_extras.cpp | ||
DebugProtoTest.cpp | ||
DenseProtoTest.cpp | ||
GenericHelpers.h | ||
JSONProtoTest.cpp | ||
Makefile.am | ||
OptionalRequiredTest.cpp | ||
SpecializationTest.cpp | ||
TBufferBaseTest.cpp | ||
TFDTransportTest.cpp | ||
ThriftTest_extras.cpp | ||
TMemoryBufferTest.cpp | ||
TPipedTransportTest.cpp | ||
TransportTest.cpp | ||
UnitTestMain.cpp | ||
ZlibTest.cpp |