blob: 8193a3ecf8ec48b504b0d7788ec3197f9f4100de [file] [log] [blame]
David Reiss23753122007-08-27 19:57:34 +00001#include <iostream>
2#include "gen-cpp/PartiallyReflectable.h"
3#include "gen-cpp/Service.h"
4#include "../lib/cpp/src/protocol/TDebugProtocol.h"
5
6int main() {
7 using std::cout;
8 using std::endl;
9
10 facebook::thrift::reflection::limited::Service srv1;
11 thrift::test::PartiallyReflectableIf::getStaticLimitedReflection(srv1);
12 cout << facebook::thrift::ThriftDebugString(srv1) << endl << endl;
13
14 facebook::thrift::reflection::limited::Service srv2;
15 test::stress::ServiceIf::getStaticLimitedReflection(srv2);
16 cout << facebook::thrift::ThriftDebugString(srv2) << endl << endl;
17
18 return 0;
19}