/thrift-3.4.0/ |
D | .gitignore | 41 apache-thrift-test-library 48 test-driver 67 /compiler/cpp/test/plugin/t_cpp_generator.cc 72 /compiler/cpp/test/*test 73 /compiler/cpp/test/thrift-gen-* 124 /lib/cpp/test/Benchmark 125 /lib/cpp/test/AllProtocolsTest 126 /lib/cpp/test/AnnotationTest 127 /lib/cpp/test/DebugProtoTest 128 /lib/cpp/test/DenseProtoTest [all …]
|
D | configure.ac | 34 AS_IF([test "x$PY_PREFIX" = x], [PY_PREFIX="/usr"]) 38 AS_IF([test "x$JAVA_PREFIX" != x], [JAVA_PREFIX="$JAVA_PREFIX/usr/local/lib"], 39 [test "x$PREFIX" != x], [JAVA_PREFIX="$PREFIX/usr/local/lib"], 51 AS_IF([test "x$PHP_PREFIX" = x], [PHP_PREFIX="/usr/lib/php"]) 58 AS_IF([test "x$PHP_CONFIG_PREFIX" = x], [PHP_CONFIG_PREFIX="/etc/php.d"]) 64 AS_IF([test "x$INSTALLDIRS" = x], [INSTALLDIRS="vendor"]) 71 AS_IF([test "x$PERL_PREFIX" = x], [PERL_PREFIX="/usr/local"]) 75 AS_IF([test "x$D_IMPORT_PREFIX" = x], [D_IMPORT_PREFIX="${includedir}/d2"]) 81 AS_IF([test "x$THRIFT" = x], [THRIFT=`pwd`/compiler/cpp/thrift]) 111 if test "$enable_libs" = "no"; then [all …]
|
/thrift-3.4.0/test/py/ |
D | generate.cmake | 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) 20 generate(${MY_PROJECT_DIR}/test/v0.16/DebugProtoTest.thrift py:old_style gen-py-oldstyle) [all …]
|
/thrift-3.4.0/test/crossrunner/ |
D | report.py | 33 from .test import TestEntry 115 def __init__(self, testdir, test, prog): argument 117 self._test = test 119 self.logpath = self.test_logfile(test.name, prog.kind, testdir) 245 def _result_string(self, test): argument 246 if test.success: 247 if test.retry_count == 0: 249 elif test.retry_count == 1: 252 return 'flaky(%d retries)' % test.retry_count 253 elif test.expired: [all …]
|
D | run.py | 33 from .test import TestEntry 149 def exec_context(port, logdir, test, prog, is_server): argument 150 report = ExecReporter(logdir, test, prog) 158 def ensure_socket_open(sv, port, test): argument 163 if slept > test.delay: 166 if test.socket == 'domain': 171 elif test.socket == 'abstract': 198 test = TestEntry(testdir, **test_dict) 204 with PortAllocator.alloc_port_scoped(ports, test.socket) as port: 206 sv = exec_context(port, logdir, test, test.server, True) [all …]
|
/thrift-3.4.0/lib/kotlin/ |
D | README.md | 3 …test only library code for Kotlin code gen. Because Kotlin code gen produces code that works on to… 8 2. unit test code is put under `test` sources set i.e. `src/test`, 9 3. cross test code is put under `crossTest` sources set, i.e. `src/crossTest` directory which, unli… 14 2. `cross-test-client` module for bundling a standalone test client, 15 3. `cross-test-server` module for bundling a standalone test server 29 ## How to run cross test server / client 32 gradle :cross-test-server:run 36 gradle :cross-test-client:run
|
/thrift-3.4.0/lib/js/test/ |
D | phantom-client.js | 38 var test = function(name, f) { function 113 test('Void', function() { 116 test('Binary (String)', function() { 123 test('Binary (Uint8Array)', function() { 134 test('String', function() { 145 test('Double', function() { 151 test('Bool', function() { 155 test('I8', function() { 159 test('I32', function() { 164 test('I64', function() { [all …]
|
D | test.js | 89 QUnit.test('Void', function(assert) { 92 QUnit.test('Binary (String)', function(assert) { 99 QUnit.test('Binary (Uint8Array)', function(assert) { 110 QUnit.test('String', function(assert) { 121 QUnit.test('Double', function(assert) { 127 QUnit.test('Byte', function(assert) { 131 QUnit.test('I32', function(assert) { 136 QUnit.test('I64', function(assert) { 149 QUnit.test('Struct', function(assert) { 166 QUnit.test('Nest', function(assert) { [all …]
|
D | test-async.js | 49 QUnit.test('Void', function(assert) { 59 QUnit.test('String', function(assert) { 81 QUnit.test('Double', function(assert) { 102 QUnit.test('Byte', function(assert) { 114 QUnit.test('I32', function(assert) { 130 QUnit.test('I64', function(assert) { 153 QUnit.test('Struct', function(assert) { 173 QUnit.test('Nest', function(assert) { 200 QUnit.test('Map', function(assert) { 213 QUnit.test('StringMap', function(assert) { [all …]
|
D | README.md | 33 standard Apache Thrift test suite (thrift/test/ThriftTest.thrift). 37 and cert are pulled from the thrift/test/keys folder. 42 To run the client test with the Java test server use: 52 -rw-r--r-- 1 randy randy 13558 Feb 9 07:18 test-async.js 54 -rwxr-xr-x 1 randy randy 2719 Feb 9 06:04 test.html 55 -rw-r--r-- 1 randy randy 4611 Feb 9 06:05 test-jq.js 56 -rwxr-xr-x 1 randy randy 12153 Feb 9 06:04 test.js 57 -rw-r--r-- 1 randy randy 2593 Feb 9 06:16 test-nojq.html 58 -rw-r--r-- 1 randy randy 1450 Feb 9 06:14 test-nojq.js 61 There are three html test driver files, all of which are [all …]
|
D | test-es6.js | 50 QUnit.test('Void', function( assert ) { 59 QUnit.test('String', function( assert ) { 81 QUnit.test('Double', function( assert ) { 102 QUnit.test('Byte', function( assert ) { 114 QUnit.test('I32', function( assert ) { 130 QUnit.test('I64', function( assert ) { 151 QUnit.test('Struct', function( assert ) { 171 QUnit.test('Nest', function( assert ) { 198 QUnit.test('Map', function( assert ) { 211 QUnit.test('StringMap', function( assert ) { [all …]
|
/thrift-3.4.0/lib/ts/test/ |
D | phantom-client.ts | 46 var test = function(name, f) { variable 121 test('Void', function() { 124 test('Binary (String)', function() { 131 test('Binary (Uint8Array)', function() { 145 test('String', function() { 156 test('Double', function() { 162 test('Bool', function() { 166 test('I8', function() { 170 test('I32', function() { 175 test('I64', function() { [all …]
|
D | test.ts | 49 QUnit.test('Void', function(assert) { 52 QUnit.test('Binary (String)', function(assert) { 59 QUnit.test('Binary (Uint8Array)', function(assert) { 73 QUnit.test('String', function(assert) { 84 QUnit.test('Double', function(assert) { 90 QUnit.test('Byte', function(assert) { 94 QUnit.test('I32', function(assert) { 99 QUnit.test('I64', function(assert) { 112 QUnit.test('Struct', function(assert) { 130 QUnit.test('Nest', function(assert) { [all …]
|
/thrift-3.4.0/test/ |
D | README.md | 1 # Apache Thrift - integration test suite 3 This is the cross everything integration test suite for Apache Thrift. 9 The test can be executed by: 13 This starts the [test.py](test.py) script which does the real cross test with 20 ### B. Using test script directly 22 Alternatively, you can invoke [test.py](test.py) directly. You need to run`make 31 test/test.py --server cpp,java --client nodejs 32 test/test.py --server nodejs --client cpp,java 37 test/test.py --regex "java.*binary" 41 The cross test cases are defined in [tests.json](tests.json). [all …]
|
/thrift-3.4.0/lib/go/thrift/ |
D | rich_transport_test.go | 54 for i, test := range readByteTests { 55 v, err := readByte(test.r) 56 if v != test.v { 57 t.Fatalf("TestReadByte %d: value differs. Expected %d, got %d", i, test.v, test.r.v) 59 if err != test.err { 60 t.Fatalf("TestReadByte %d: error differs. Expected %s, got %s", i, test.err, test.r.err)
|
/thrift-3.4.0/lib/nodejs/test/ |
D | exceptions.js | 21 const test = require("tape"); constant 25 test("TApplicationException", function t(assert) { 35 /^TApplicationException: foo/.test(e.stack), 52 test("unexpected TApplicationException ", function t(assert) { 62 /^TApplicationException: 100/.test(e.stack), 79 test("TException", function t(assert) { 85 /^TException: foo/.test(e.stack), 97 test("TProtocolException", function t(assert) { 106 /^TProtocolException: foo/.test(e.stack), 123 test("InputBufferUnderrunError", function t(assert) { [all …]
|
/thrift-3.4.0/lib/java/gradle/ |
D | unitTests.gradle | 22 // Bundle the test classes in a JAR for other Ant based builds 24 description = 'Assembles a jar archive containing the test classes.' 25 project.test.dependsOn it 27 classifier 'test' 28 from sourceSets.test.output 32 // Unit test tasks and configurations 45 description = 'Run the non-JUnit test suite ' 46 classpath = sourceSets.test.runtimeClasspath 47 mainClass.set('org.apache.thrift.test.EqualityTest') 52 description = 'Run the non-JUnit test suite ' [all …]
|
/thrift-3.4.0/aclocal/ |
D | ax_boost_base.m4 | 70 AS_IF([test -d "$withval"], 78 AS_IF([test "x$want_boost" = "xyes"], 87 …AS_IF([test "x$2" = "x"],[_AX_BOOST_BASE_TONUMERICVERSION_req="1.20.0"],[_AX_BOOST_BASE_TONUMERICV… 90 AS_IF([test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_major" = "x"], 93 AS_IF([test "x$_AX_BOOST_BASE_TONUMERICVERSION_req_minor" = "x"], 96 AS_IF([test "X$_AX_BOOST_BASE_TONUMERICVERSION_req_sub_minor" = "X"], 131 AS_IF([test "x$_AX_BOOST_BASE_boost_path" != "x"],[ 133 …AS_IF([test -d "$_AX_BOOST_BASE_boost_path/include" && test -r "$_AX_BOOST_BASE_boost_path/include… 138 …AS_IF([test -d "$_AX_BOOST_BASE_boost_path/$_AX_BOOST_BASE_boost_path_tmp" && test -r "$_AX_BOOST_… 147 if test X"$cross_compiling" = Xyes; then [all …]
|
/thrift-3.4.0/contrib/fb303/ |
D | acinclude.m4 | 9 if test "x$1" = "xlocalinstall"; then 35 if test "x${EXTERNAL_PATH}" != "x"; then 44 if test "x${EXTERNAL_PATH}" = "x"; then 49 if test "x${EXTERNAL_PATH}" = "x"; then 59 if test ! -d ${EXTERNAL_PATH}; then 82 if test "$ENABLED_OPT" = "yes" 91 AM_CONDITIONAL([OPT], [test "$ENABLED_OPT" = yes]) 92 AM_CONDITIONAL([DEBUG], [test "$ENABLED_OPT" = no]) 108 if test "$ENABLED_DEBUG" = "yes" 117 AM_CONDITIONAL([DEBUG], [test "$ENABLED_DEBUG" = yes]) [all …]
|
D | configure.ac | 52 AS_IF([test "x$PY_PREFIX" = x], [PY_PREFIX="/usr"]) 77 if test "$with_cpp" = "yes"; then 80 if test "x$succeeded" = "xyes"; then 84 AM_CONDITIONAL([WITH_CPP], [test "$have_cpp" = "yes"]) 87 if test "$with_java" = "yes"; then 93 if test "x$JAVAC" != "x" && test "x$JAVAC" != "x" && test "x$ANT" != "x" ; then 97 AM_CONDITIONAL(WITH_JAVA, [test "$have_java" = "yes"]) 100 if test "$with_php" = "yes"; then 102 if test "x$PHP" != "x" && test "x$PHP" != "x:" ; then 106 AM_CONDITIONAL(WITH_PHP, [test "$have_php" = "yes"]) [all …]
|
/thrift-3.4.0/lib/java/src/test/java/org/apache/thrift/ |
D | TestDeepCopy.java | 6 import thrift.test.DeepCopyBar; 7 import thrift.test.DeepCopyFoo; 19 foo.addToLi(new thrift.test.Object()); in testDeepCopy() 20 foo.addToSi(new thrift.test.Object()); in testDeepCopy() 21 foo.putToMi("test 3", new thrift.test.Object()); in testDeepCopy() 37 foo.getSi().toArray(new thrift.test.Object[0])[0], in testDeepCopy() 38 deepCopyFoo.getSi().toArray(new thrift.test.Object[0])[0]); in testDeepCopy()
|
/thrift-3.4.0/contrib/fb303/aclocal/ |
D | ax_boost_base.m4 | 41 if test "$withval" = "no"; then 43 elif test "$withval" = "yes"; then 53 if test "x$want_boost" = "xyes"; then 59 if test "x$boost_lib_version_req_sub_minor" = "x" ; then 69 if test "$ac_boost_path" != ""; then 74 if test -d "$ac_boost_path_tmp/include/boost" && test -r "$ac_boost_path_tmp/include/boost"; then 111 if test "x$succeeded" != "xyes"; then 113 if test "$ac_boost_path" != ""; then 115 if test -d "$ac_boost_path" && test -r "$ac_boost_path"; then 119 if test "$V_CHECK" = "1" ; then [all …]
|
/thrift-3.4.0/lib/rs/test/src/ |
D | lib.rs | 24 #[cfg(test)] 31 #[test] 36 #[test] 41 #[test] 46 #[test]
|
/thrift-3.4.0/lib/cpp/test/ |
D | TypedefTest.cpp | 25 BOOST_STATIC_ASSERT((boost::is_same<int32_t, thrift::test::MyInt32>::value)); 26 BOOST_STATIC_ASSERT((boost::is_same<std::string, thrift::test::MyString>::value)); 28 (boost::is_same<thrift::test::TypedefTestStruct, thrift::test::MyStruct>::value));
|
/thrift-3.4.0/lib/py/ |
D | CMakeLists.txt | 23 COMMAND ${THRIFT_COMPILER} --gen py test/test_thrift_file/TestServer.thrift 30 …add_test(PythonTestSSLSocket ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/test_sslsocket.… 31 add_test(PythonThriftJson ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/thrift_json.py) 32 …add_test(PythonThriftTransport ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/thrift_transp… 33 …add_test(PythonThriftTBinaryProtocol ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/thrift_… 34 …add_test(PythonThriftTZlibTransport ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/thrift_T… 35 …add_test(PythonThriftProtocol ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/thrift_TCompac… 36 …add_test(PythonThriftTNonblockingServer ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/test/thri…
|