blob: d60b52cc24556cbcd82c304d7c9b4c6827e69fb4 [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;
David Reiss2a4bfd62008-04-07 23:45:00 +000011 thrift::test::debug::PartiallyReflectableIf::getStaticLimitedReflection(srv1);
David Reiss23753122007-08-27 19:57:34 +000012 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}