thrift/lib/cpp/test
jfarrell e0e8316838 THRIFT-2421: Tree/Recursive struct support in thrift
Client: cpp
Patch:  Dave Watson

Github Pull Request: This closes #84
----
commit b6134cedf292845e5ed01052919894df6b561bf2
Date:   2014-03-20T18:12:04Z

    Recursive structs support in parser

    A common complaint is that you can't express trees or other recursive structures in thrift easily - unlike protobufs. This diff loosens up the parser to allow using structs before they are defined (and uses typedef as a forward declaration).
    This diff is actually enough to make recursive types work for some dyamic languages (I tried php, works out of the box!)

    Other languages will need forward declarations, or ways to box types, to make this work (i.e. C++ needs both forward decls and a way to express structs as pointers)
2014-04-08 22:45:01 -04:00
..
concurrency THRIFT-2089 Compiler ignores duplicate typenames 2013-07-15 22:41:34 +02:00
processor Thrift-1607:Incorrect file modes for several source files 2012-05-17 05:41:09 +00:00
AllProtocolTests.cpp THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/' 2012-04-13 09:12:31 +00:00
AllProtocolTests.tcc Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00
Base64Test.cpp THRIFT-1612 Base64 encoding is broken 2012-05-27 18:05:16 +00:00
Benchmark.cpp THRIFT-2352 msvc failed to compile thrift tests 2014-02-09 11:31:02 +01:00
DebugProtoTest_extras.cpp THRIFT-916 compile with -Wall -Wextra without warning on Debian Lenny 2010-11-17 22:11:26 +00:00
DebugProtoTest.cpp Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00
DenseProtoTest.cpp THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/' 2012-04-13 09:12:31 +00:00
GenericHelpers.h THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/' 2012-04-13 09:12:31 +00:00
JSONProtoTest.cpp THRIFT-2352 msvc failed to compile thrift tests 2014-02-09 11:31:02 +01:00
Makefile.am THRIFT-2421: Tree/Recursive struct support in thrift 2014-04-08 22:45:01 -04:00
OptionalRequiredTest.cpp Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00
RecursiveTest THRIFT-2421: Tree/Recursive struct support in thrift 2014-04-08 22:45:01 -04:00
RecursiveTest.cpp THRIFT-2421: Tree/Recursive struct support in thrift 2014-04-08 22:45:01 -04:00
RWMutexStarveTest.cpp THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/' 2012-04-13 09:12:31 +00:00
SpecializationTest.cpp Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00
TBufferBaseTest.cpp Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00
TFDTransportTest.cpp THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/' 2012-04-13 09:12:31 +00:00
TFileTransportTest.cpp THRIFT-2316 cpp: TFileTransportTest is to restrictive 2014-01-15 10:13:18 +01:00
ThriftTest_extras.cpp THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/' 2012-04-13 09:12:31 +00:00
TMemoryBufferTest.cpp Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00
TPipedTransportTest.cpp THRIFT-1552 Include paths for c/c++ should be prefixed with 'thrift/' 2012-04-13 09:12:31 +00:00
TransportTest.cpp Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00
UnitTestMain.cpp THRIFT-953: Fix compilation of TransportTest.cpp on Mac (actual tests still fail) and fix boost m4 macros for Mac. 2010-11-04 18:51:42 +00:00
ZlibTest.cpp Thrift-2029:Port C++ tests to Windows 2014-01-07 21:42:01 -05:00