2 ../compiler/cpp/thrift -cpp -dense DebugProtoTest.thrift
3 ../compiler/cpp/thrift -cpp -dense DenseLinkingTest.thrift
4 g++ -Wall -g -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
5 DebugProtoTest.cpp gen-cpp/DebugProtoTest_types.cpp \
6 gen-cpp/DenseLinkingTest_types.cpp \
7 ../lib/cpp/.libs/libthrift.a -o DebugProtoTest
12 The idea of this test is that everything is structurally identical to DebugProtoTest.
13 If I messed up the naming of the reflection local typespecs,
14 then compiling this should give errors because of doubly defined symbols.
17 cpp_namespace thrift.test
26 7: double double_precision,
27 8: string some_characters,
28 9: string zomg_unicode,
39 2: OneOfEachZZ my_ooe,
43 1: list<OneOfEachZZ> big,
44 2: set<list<string>> contain,
45 3: map<string,list<BonkZZ>> bonks,
60 struct RandomStuffZZ {
65 5: list<i32> myintlist,
66 6: map<i32,WrapperZZ> maps,
75 service PartiallyReflectable {
76 map<i32,map<i32,i32>> returnNotReflectable(1: i32 hello),
77 void argNotReflectable(1: list<set<i32>> arg),
78 void arg2NotReflectable(1: i32 arg1, 2: list<set<i32>> argNotReflectable),
79 void withMap(1: map<i32, string> amap),
81 OneOfEachZZ refl1(1: list<BonkZZ> arg1),
82 OneOfEachZZ refl2(2: list<string> arg1, 1: BonkZZ arg2);