/thrift-3.4.0/test/py/ |
D | Makefile.am | 24 gen-py/ThriftTest/__init__.py \ 25 gen-py/DebugProtoTest/__init__.py \ 26 gen-py/DoubleConstantsTest/__init__.py \ 27 gen-py/Recursive/__init__.py \ 28 gen-py-default/ThriftTest/__init__.py \ 29 gen-py-default/DebugProtoTest/__init__.py \ 30 gen-py-default/DoubleConstantsTest/__init__.py \ 31 gen-py-default/Recursive/__init__.py \ 32 gen-py-slots/ThriftTest/__init__.py \ 33 gen-py-slots/DebugProtoTest/__init__.py \ [all …]
|
D | generate.cmake | 3 …execute_process(COMMAND ${THRIFTCOMPILER} --gen ${GENERATOR} -out ${MY_CURRENT_BINARY_DIR}/${OUTPU… 10 generate(${MY_PROJECT_DIR}/test/v0.16/ThriftTest.thrift py gen-py-default) 11 generate(${MY_PROJECT_DIR}/test/v0.16/ThriftTest.thrift py:slots gen-py-slots) 12 generate(${MY_PROJECT_DIR}/test/v0.16/ThriftTest.thrift py:old_style gen-py-oldstyle) 13 generate(${MY_PROJECT_DIR}/test/v0.16/ThriftTest.thrift py:no_utf8strings gen-py-no_utf8strings) 14 generate(${MY_PROJECT_DIR}/test/v0.16/ThriftTest.thrift py:dynamic gen-py-dynamic) 15 generate(${MY_PROJECT_DIR}/test/v0.16/ThriftTest.thrift py:dynamic,slots gen-py-dynamicslots) 16 generate(${MY_PROJECT_DIR}/test/v0.16/ThriftTest.thrift py:enum gen-py-enum) 18 generate(${MY_PROJECT_DIR}/test/v0.16/DebugProtoTest.thrift py gen-py-default) 19 generate(${MY_PROJECT_DIR}/test/v0.16/DebugProtoTest.thrift py:slots gen-py-slots) [all …]
|
/thrift-3.4.0/lib/cpp/test/ |
D | Makefile.am | 21 BUILT_SOURCES = gen-cpp/AnnotationTest_types.h \ 22 gen-cpp/DebugProtoTest_types.h \ 23 gen-cpp/EnumTest_types.h \ 24 gen-cpp/OptionalRequiredTest_types.h \ 25 gen-cpp/Recursive_types.h \ 26 gen-cpp/ThriftTest_types.h \ 27 gen-cpp/TypedefTest_types.h \ 28 gen-cpp/ChildService.h \ 29 gen-cpp/EmptyService.h \ 30 gen-cpp/ParentService.h \ [all …]
|
D | CMakeLists.txt | 28 # Make sure gen-cpp files can be included 33 gen-cpp/AnnotationTest_types.cpp 34 gen-cpp/AnnotationTest_types.h 35 gen-cpp/DebugProtoTest_types.cpp 36 gen-cpp/DebugProtoTest_types.h 37 gen-cpp/EnumTest_types.cpp 38 gen-cpp/EnumTest_types.h 39 gen-cpp/OptionalRequiredTest_types.cpp 40 gen-cpp/OptionalRequiredTest_types.h 41 gen-cpp/Recursive_types.cpp [all …]
|
/thrift-3.4.0/test/cpp/ |
D | Makefile.am | 21 BUILT_SOURCES = gen-cpp/ThriftTest.cpp \ 22 gen-cpp/ThriftTest_types.cpp \ 23 gen-cpp/ThriftTest_constants.cpp \ 24 gen-cpp/SecondService.cpp \ 25 gen-cpp/Service.cpp 29 gen-cpp/SecondService.cpp \ 30 gen-cpp/SecondService.h \ 31 gen-cpp/SecondService.tcc \ 32 gen-cpp/ThriftTest_constants.cpp \ 33 gen-cpp/ThriftTest_constants.h \ [all …]
|
/thrift-3.4.0/lib/c_glib/test/ |
D | CMakeLists.txt | 23 # Make sure gen-cpp and gen-c_glib files can be included 28 gen-c_glib/t_test_debug_proto_test_types.c 29 gen-c_glib/t_test_enum_test_types.c 30 gen-c_glib/t_test_enum_test_service.c 31 gen-c_glib/t_test_empty_service.c 32 gen-c_glib/t_test_inherited.c 33 gen-c_glib/t_test_optional_required_test_types.c 34 gen-c_glib/t_test_reverse_order_service.c 35 gen-c_glib/t_test_second_service.c 36 gen-c_glib/t_test_service_for_exception_with_a_map.c [all …]
|
D | Makefile.am | 24 gen-c_glib/t_test_container_test_types.c \ 25 gen-c_glib/t_test_container_test_types.h \ 26 gen-c_glib/t_test_debug_proto_test_types.h \ 27 gen-c_glib/t_test_empty_service.h \ 28 gen-c_glib/t_test_inherited.h \ 29 gen-c_glib/t_test_optional_required_test_types.h \ 30 gen-c_glib/t_test_reverse_order_service.h \ 31 gen-c_glib/t_test_second_service.h \ 32 gen-c_glib/t_test_service_for_exception_with_a_map.h \ 33 gen-c_glib/t_test_container_service.c \ [all …]
|
/thrift-3.4.0/tutorial/c_glib/ |
D | Makefile.am | 22 gen-c_glib/calculator.h \ 23 gen-c_glib/shared_service.h \ 24 gen-c_glib/shared_types.h \ 25 gen-c_glib/tutorial_types.h 35 gen-c_glib/calculator.c \ 36 gen-c_glib/calculator.h \ 37 gen-c_glib/shared_service.c \ 38 gen-c_glib/shared_service.h \ 39 gen-c_glib/shared_types.c \ 40 gen-c_glib/shared_types.h \ [all …]
|
/thrift-3.4.0/tutorial/cpp/ |
D | Makefile.am | 21 BUILT_SOURCES = gen-cpp/shared_types.cpp \ 22 gen-cpp/tutorial_types.cpp 26 gen-cpp/Calculator.cpp \ 27 gen-cpp/Calculator.h \ 28 gen-cpp/SharedService.cpp \ 29 gen-cpp/SharedService.h \ 30 gen-cpp/shared_types.cpp \ 31 gen-cpp/shared_types.h \ 32 gen-cpp/tutorial_constants.cpp \ 33 gen-cpp/tutorial_constants.h \ [all …]
|
/thrift-3.4.0/compiler/cpp/tests/netcore/ |
D | t_netcore_generator_initialization_tests.cc | 30 t_netstd_generator* gen = nullptr; variable 32 REQUIRE_THROWS(gen = new t_netstd_generator(program, parsed_options, option_string)); 34 delete gen; 46 t_netstd_generator* gen = nullptr; variable 48 REQUIRE_NOTHROW(gen = new t_netstd_generator(program, parsed_options, option_string)); 49 REQUIRE(gen != nullptr); 50 REQUIRE(gen->is_wcf_enabled()); 51 REQUIRE(gen->is_nullable_enabled()); 52 REQUIRE_FALSE(gen->is_hashcode_enabled()); 53 REQUIRE_FALSE(gen->is_serialize_enabled()); [all …]
|
D | t_netcore_generator_functional_tests.cc | 31 t_netstd_generator* gen = new t_netstd_generator(program, parsed_options, option_string); variable 41 REQUIRE_NOTHROW(gen->generate_enum(out, test_enum)); 52 delete gen; 64 t_netstd_generator* gen = new t_netstd_generator(program, parsed_options, option_string); variable 66 std::pair<string, t_const*> pair = TestDataGenerator::get_test_void_const_data(gen); 76 REQUIRE_THROWS(gen->generate_consts(out, consts_)); 85 delete gen; 97 t_netstd_generator* gen = new t_netstd_generator(program, parsed_options, option_string); variable 98 gen->init_generator(); 100 std::pair<string, t_const*> pair = TestDataGenerator::get_test_string_const_data(gen); [all …]
|
D | t_netcore_generator_helpers_tests.cc | 42 t_netstd_generator* gen = new t_netstd_generator(program, parsed_options, option_string); variable 44 REQUIRE_FALSE(gen->is_wcf_enabled()); 45 REQUIRE(gen->netstd_type_usings() == expected_namespaces); 47 delete gen; 71 t_netstd_generator* gen = new t_netstd_generator(program, parsed_options, option_string); variable 73 REQUIRE(gen->is_wcf_enabled()); 74 REQUIRE(gen->netstd_type_usings() == expected_namespaces_wcf); 76 delete gen; 193 t_netstd_generator* gen = new t_netstd_generator(program, parsed_options, option_string); variable 194 gen->init_generator(); [all …]
|
D | t_netcore_generator_functional_tests_helpers.h | 26 static std::pair<string, t_const*> get_test_void_const_data(t_netstd_generator* gen); 27 static std::pair<string, t_const*> get_test_string_const_data(t_netstd_generator* gen); 28 static std::pair<string, t_const*> get_test_bool_const_data(t_netstd_generator* gen); 29 static std::pair<string, t_const*> get_test_i8_const_data(t_netstd_generator* gen); 30 static std::pair<string, t_const*> get_test_i16_const_data(t_netstd_generator* gen); 31 static std::pair<string, t_const*> get_test_i32_const_data(t_netstd_generator* gen); 32 static std::pair<string, t_const*> get_test_i64_const_data(t_netstd_generator* gen); 33 static std::pair<string, t_const*> get_test_double_const_data(t_netstd_generator* gen);
|
/thrift-3.4.0/test/ |
D | ManyTypedefs.thrift | 23 rm -rf gen-* orig-* 25 thrift --gen cpp --gen java --gen php --gen phpi --gen py --gen rb --gen xsd --gen perl --gen ocaml… 26 mv gen-* old 27 …/compiler/cpp/thrift --gen cpp --gen java --gen php --gen phpi --gen py --gen rb --gen xsd --gen p… 28 mv gen-* new
|
/thrift-3.4.0/test/py/explicit_module/ |
D | runtest.sh | 22 rm -rf gen-py 23 ../../../compiler/cpp/thrift --gen py test1.thrift || exit 1 24 ../../../compiler/cpp/thrift --gen py test2.thrift || exit 1 25 ../../../compiler/cpp/thrift --gen py test3.thrift && exit 1 # Fail since test3.thrift has python … 26 PYTHONPATH=./gen-py python -c 'import foo.bar.baz' || exit 1 27 PYTHONPATH=./gen-py python -c 'import test2' || exit 1 28 PYTHONPATH=./gen-py python -c 'import test1' &>/dev/null && exit 1 # Should fail. 29 cp -r gen-py simple 30 ../../../compiler/cpp/thrift -r --gen py test2.thrift || exit 1 31 PYTHONPATH=./gen-py python -c 'import test2' || exit 1 [all …]
|
/thrift-3.4.0/test/c_glib/ |
D | Makefile.am | 23 gen-c_glib/t_test_second_service.c \ 24 gen-c_glib/t_test_second_service.h \ 25 gen-c_glib/t_test_thrift_test.c \ 26 gen-c_glib/t_test_thrift_test.h \ 27 gen-c_glib/t_test_thrift_test_types.c \ 28 gen-c_glib/t_test_thrift_test_types.h 59 gen-c_glib/t_test_second_service.c gen-c_glib/t_test_second_service.h gen-c_glib/t_test_thrift_te… 60 $(THRIFT) --gen c_glib -r $< 68 $(RM) -r gen-c_glib/ 75 $(RM) -r $(distdir)/gen-c_glib/
|
/thrift-3.4.0/lib/perl/ |
D | Makefile.am | 37 $(RM) -r gen-perl gen-perl2 76 gen-perl/ThriftTest/Constants.pm \ 77 gen-perl/ThriftTest/SecondService.pm \ 78 gen-perl/ThriftTest/ThriftTest.pm \ 79 gen-perl/ThriftTest/Types.pm 82 gen-perl/BenchmarkService.pm \ 83 gen-perl/Constants.pm \ 84 gen-perl/Types.pm 87 gen-perl2/Aggr.pm \ 88 gen-perl2/Constants.pm \ [all …]
|
/thrift-3.4.0/lib/nodejs/test/ |
D | testAll.sh | 90 ${THRIFT_COMPILER} -o ${DIR} --gen js:node ${THRIFT_FILES_DIR}/v0.16/ThriftTest.thrift 91 ${THRIFT_COMPILER} -o ${DIR} --gen js:node ${THRIFT_FILES_DIR}/JsDeepConstructorTest.thrift 92 ${THRIFT_COMPILER} -o ${DIR} --gen js:node ${THRIFT_FILES_DIR}/Int64Test.thrift 93 mkdir ${DIR}/gen-nodejs-es6 94 ${THRIFT_COMPILER} -out ${DIR}/gen-nodejs-es6 --gen js:node,es6 ${THRIFT_FILES_DIR}/v0.16/ThriftTes… 95 ${THRIFT_COMPILER} -out ${DIR}/gen-nodejs-es6 --gen js:node,es6 ${THRIFT_FILES_DIR}/JsDeepConstruct… 96 ${THRIFT_COMPILER} -out ${DIR}/gen-nodejs-es6 --gen js:node,es6 ${THRIFT_FILES_DIR}/Int64Test.thrift 102 mkdir --parents ${EPISODIC_DIR}/gen-1/first-episode 103 ${THRIFT_COMPILER} -o ${EPISODIC_DIR}/gen-1/first-episode --gen js:node,thrift_package_output_direc… 108 cp --force ${EPISODIC_DIR}/gen-1/first-episode/gen-nodejs/Types_types.js ${TYPES_PACKAGE}/first-epi… [all …]
|
/thrift-3.4.0/tutorial/dart/ |
D | Makefile.am | 20 BUILT_SOURCES = gen-dart/tutorial/lib/tutorial.dart gen-dart/shared/lib/shared.dart 22 gen-dart/tutorial/lib/tutorial.dart gen-dart/shared/lib/shared.dart: $(top_srcdir)/tutorial/tutoria… 23 $(THRIFT) --gen dart -r $< 25 all-local: gen-dart/tutorial/lib/tutorial.dart pub-get 28 $(RM) -r gen-*/ 35 $(RM) -r $(distdir)/gen-*/ 41 pub-get: pub-get-gen pub-get-client pub-get-console-client pub-get-server 43 pub-get-gen: pub-get-tutorial pub-get-shared 45 pub-get-tutorial: gen-dart/tutorial/lib/tutorial.dart 46 cd gen-dart/tutorial; ${DARTPUB} get [all …]
|
/thrift-3.4.0/contrib/transport-sample/client/ |
D | client.vcxproj.filters | 16 <Filter Include="Source Files\gen-cpp"> 30 <ClInclude Include="..\gen-cpp\Sample_types.h"> 31 <Filter>Source Files\gen-cpp</Filter> 33 <ClInclude Include="..\gen-cpp\SampleService.h"> 34 <Filter>Source Files\gen-cpp</Filter> 36 <ClInclude Include="..\gen-cpp\Sample_constants.h"> 37 <Filter>Source Files\gen-cpp</Filter> 39 <ClInclude Include="..\gen-cpp\SampleCallback.h"> 40 <Filter>Source Files\gen-cpp</Filter> 50 <ClCompile Include="..\gen-cpp\SampleService.cpp"> [all …]
|
/thrift-3.4.0/contrib/transport-sample/server/ |
D | server.vcxproj.filters | 16 <Filter Include="Source Files\gen-cpp"> 30 <ClInclude Include="..\gen-cpp\Sample_types.h"> 31 <Filter>Source Files\gen-cpp</Filter> 33 <ClInclude Include="..\gen-cpp\SampleService.h"> 34 <Filter>Source Files\gen-cpp</Filter> 36 <ClInclude Include="..\gen-cpp\Sample_constants.h"> 37 <Filter>Source Files\gen-cpp</Filter> 39 <ClInclude Include="..\gen-cpp\SampleCallback.h"> 40 <Filter>Source Files\gen-cpp</Filter> 50 <ClCompile Include="..\gen-cpp\Sample_types.cpp"> [all …]
|
/thrift-3.4.0/tutorial/erl/ |
D | client.sh | 29 if ! [ -d gen-erl ]; then 30 ../../compiler/cpp/thrift -r --gen erl ../tutorial.thrift 35 -I gen-erl -o gen-erl gen-erl/*.erl && 36 erlc -I ${ERL_THRIFT}/include -I gen-erl *.erl && 37 erl +K true -pa ${ERL_THRIFT}/ebin -pa gen-erl
|
D | server.sh | 29 if ! [ -d gen-erl ]; then 30 ../../compiler/cpp/thrift -r --gen erl ../tutorial.thrift 35 -I gen-erl -o gen-erl gen-erl/*.erl && 36 erlc -I ${ERL_THRIFT}/include -I gen-erl *.erl && 37 erl +K true -pa ${ERL_THRIFT}/ebin -pa gen-erl
|
/thrift-3.4.0/lib/haxe/test/ |
D | Makefile.am | 20 THRIFTCMD = $(THRIFT) --gen haxe -r 28 gen-haxe/thrift/test/ThriftTest.hx: $(THRIFTTEST) 31 gen-haxe/thrift/test/Aggr.hx: $(AGGR) 34 gen-haxe/thrift/test/BenchmarkService.hx: $(BENCHMARK) 42 gen-haxe/thrift/test/ThriftTest.hx \ 43 gen-haxe/thrift/test/Aggr.hx \ 44 gen-haxe/thrift/test/BenchmarkService.hx 50 gen-haxe/thrift/test/ThriftTest.hx \ 51 gen-haxe/thrift/test/Aggr.hx \ 52 gen-haxe/thrift/test/BenchmarkService.hx [all …]
|
/thrift-3.4.0/test/threads/ |
D | Makefile | 48 CCFL = -Wall -O3 -g -I./gen-cpp $(include_flags) 54 $(THRIFT) --gen cpp --gen py ThreadsTest.thrift 57 …$(CC) -o ThreadsServer $(CFL) ThreadsServer.cpp ./gen-cpp/ThreadsTest.cpp ./gen-cpp/ThreadsTest_ty… 60 …$(CC) -o ThreadsClient $(CFL) ThreadsClient.cpp ./gen-cpp/ThreadsTest.cpp ./gen-cpp/ThreadsTest_ty… 63 $(RM) -r *.o ThreadsServer ThreadsClient gen-cpp gen-py
|