Commit Graph

460 Commits

Author SHA1 Message Date
Roger Meier
5c6ad2427c THRIFT-847 Test Framework harmonization across all languages
Patch: Chamila Dilshan Wijayarathna
2014-05-27 21:18:00 +02:00
Roger Meier
d9b331d266 make cross: add nodejs-nodejs test and nodejs compact protocol 2014-05-25 22:59:17 +02:00
Roger Meier
c62798bb6e THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically
fix: swap client server

Patch: Chamila Dilshan Wijayarathna
2014-05-23 12:54:08 +02:00
henrique
ad4df16579 THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically
also removes go and lua from travis CI builds
2014-05-20 13:18:45 +02:00
Jens Geyer
a47cf906ab Fixed broken build: "thrift -out <dir>" expects that <dir> already exists 2014-05-17 01:54:09 +02:00
Jens Geyer
6ff1dfb3af Fixed broken build (superfluous EXTRA_DIST section) 2014-05-17 01:20:32 +02:00
Jens Geyer
91cfb9901e THRIFT-2500 sending random data crashes thrift(golang) service
Client: Go
Patch: Aleksey Pesternikov

This closes #117

commit 1bb25c4a48845e112847ca8293402f0294d8f597
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T21:40:59Z

recover from panic in processor

commit 8d1427a2c3c183d499442dc1f0437292e6641ac3
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T21:41:52Z

some sanity checks in binary protocol

commit 666cc87a51f86ca5940225c36716bbad467c6e73
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-05-02T21:53:59Z

some sanity checks in compact protocol
2014-05-17 01:07:28 +02:00
Roger Meier
cc0fe274c0 THRIFT-2534 Cross language test results should recorded to a status.md or status.html file automatically
Patch: Chamila Dilshan Wijayarathna & Roger Meier
2014-05-16 23:18:25 +02:00
Jens Geyer
f459868f93 THRIFT-2497 server and client for test/go, also several fixes and improvements
Client: Go
Patch: Aleksey Pesternikov

This closes #109

commit f2e7186ca8d63f407dba0c56ee51afd6405926ba
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T12:48:14Z

add _ to generated filename if it ends with _test.go

commit a6ed88196fbf4622a3b0261bbac0fe6b258bdd36
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T14:19:13Z

use tcxx instead of tr1 in test/cpp

commit d1848fa05f4baefc66eb405f4b1a8657bb2869bd
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-23T01:01:03Z

Merge branch 'master' of https://github.com/apache/thrift into go_integration

commit 04d22fef228d3f868b32a296a38f99ff52ee2142
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T00:34:24Z

additions:
 test for client/server with several protocol/transport/ssl combinations
 bin/testclient and bin/testserver
 debug_transport

fixes:
 separate Listen() and AcceptLoop() instead of Serve() in SimpleServer
 if handler function returns any unknown exception, handler closes connection

commit ed88d57d977cffea9fac8f61143801f3097ef46c
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:29:54Z

Generate lowercase package name
 lowercased pkg name in thrift files
 underline() -> lowercase()

commit 498a910c6c6753a4b1e3633eb5c9c82be33e8c7b
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:32:26Z

Merge branch 'master' into go_test_service_name

commit 25792d7218a2c32ee3c2077f65ca7d0cea7f31f5
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T12:48:14Z

add _ to generated filename if it ends with _test.go

commit af994b415308a2e174d57a03675fc83d7cbd43d1
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T00:34:24Z

additions:
 test for client/server with several protocol/transport/ssl combinations
 bin/testclient and bin/testserver
 debug_transport

fixes:
 separate Listen() and AcceptLoop() instead of Serve() in SimpleServer
 if handler function returns any unknown exception, handler closes connection

commit f22a777a5d5b4d93a8d7981e7aadc2c63919518a
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:44:08Z

Merge branch 'go_integration' of github.com:apesternikov/thrift into go_integration

commit 49a33c8c80ea35f923ee9aa3577780fcf41fe840
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:49:05Z

Merge branch 'master' into test_cpp_on_mac

commit 81b402ec6301f6b132c9b346ad5481f55f0aff89
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T13:56:56Z

operator < for ThriftTest

commit cde312d940d12077274dd0ba677ca850b5b439a7
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T14:12:58Z

minor formatting

commit 0a693115c2c20a2a8375f3859ff7bed261e6c8da
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-25T14:13:20Z

Merge branch 'test_cpp_on_mac' into go_integration

commit e06b5d24e8b6d429723a3c77a58c6ce903e1366a
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T15:19:20Z

Merge branch 'go_test_service_name' into go_integration

commit 42d577c9812a070060c773fcd0598e58e6d6ba61
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T15:39:57Z

imported THRIFT-2491
 lowercase package names

commit 491ccf8b018c046c5ced72b1e19d9ac4ec48a6f5
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T15:51:53Z

--noinsane flag for c++ TestClient. works with go server now for other default params

commit 78db3c9a3a5742818a5de6e57f2fe9aed84919e5
 Author: Aleksey Pesternikov <ap@alekseys-macbook-pro.local>
 Date: 2014-04-25T16:03:23Z

license
2014-05-08 23:18:44 +02:00
Roger Meier
879cab2cea THRIFT-1914 Python: Support for Multiplexing Services on any
Transport, Protocol and Server

Patch: smallfish & djwatson
 & haijunz & Roger Meier

This closes #103 and #82

From 7aaea7ef4e6f44097b02543fa2e62597eae9d61e Mon Sep 17 00:00:00 2001
From: smallfish <smallfish.xy@gmail.com>
Date: Tue, 22 Apr 2014 11:26:52 +0800
Subject: [PATCH]  THRIFT-1914 Python: Support for Multiplexing Services on any
 Transport
2014-05-03 17:51:21 +02:00
Roger Meier
72e9c37517 test/README.md: fix link 2014-05-03 00:33:46 +02:00
Jens Geyer
89847dfaa0 THRIFT-2499 Compiler: allow annotations without "= value"
Client: compiler general
Patch: Dave Watson

This closes #87

commit 078ce57e816eeb3697acf6f2c50e09526da73d3b
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-03-21T19:42:31Z

[thrift] Compiler: allow annotations without "= value"

Summary: (foo) is the same as (foo = 1), for brevity

Test: AnnotationTest.thrift still compiles
2014-05-02 23:50:04 +02:00
Jens Geyer
e52c046cb6 THRIFT-2491 unable to import generated ThriftTest service
Client: Go
Patch: Aleksey Pesternikov

This closes #105

commit f2e7186ca8d63f407dba0c56ee51afd6405926ba
 Author: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
 Date: 2014-04-22T12:48:14Z

add _ to generated filename if it ends with _test.go
2014-05-02 23:37:39 +02:00
Jens Geyer
885c679123 THRIFT-2471 Make cpp.ref annotation language agnostic
Client: compiler general
Patch: Dave Watson

This closes #113

commit 52b99af4ee1574253dcb77933d76a7ebb2d830df
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-23T20:05:56Z

change cpp.ref to &

commit 3f9d31cc6140367529fd8f7b1b67056ec321786f
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-23T21:50:29Z

Recursion depth limit

commit 61468e4534ce9e6a4f4f643bfd00542d13600d83
 Author: Dave Watson <davejwatson@fb.com>
 Date: 2014-04-25T19:59:18Z

shared_ptr for reference type
2014-05-02 21:31:55 +02:00
Roger Meier
0a7c69cfe6 THRIFT-2492 use tcxx instead of tr1 in test/cpp
Github Pull Request: This closes #106
----
From a6ed88196fbf4622a3b0261bbac0fe6b258bdd36 Mon Sep 17 00:00:00 2001
From: Aleksey Pesternikov <ap@alekseys-mbp.att.net>
Date: Tue, 22 Apr 2014 07:19:13 -0700
Subject: [PATCH 1/2] use tcxx instead of tr1 in test/cpp
2014-05-02 21:15:45 +02:00
Roger Meier
4edac7ff08 THRIFT-847 Test Framework harmonization across all languages
- no verbose output, use log/error.log instead
- improve test/README.md

Patch: Roger Meier
2014-05-02 21:07:01 +02:00
henrique
d5aba4c13b more consistent timing on test.sh 2014-04-30 18:11:11 +02:00
henrique
d17f1c98e6 THRIFT-847 Test Framework harmonization across all languages
cross test speed up from 30min to 6
2014-04-30 16:36:31 +02:00
Jens Geyer
c1d7943a7e THRIFT-2347 C# TLS Transport based on THRIFT-181
Client: C#
Patch: Beat Käslin

This closes #104

commit 21c33abd59a2333c48722933c6894d8ed145e638
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-16T14:07:58Z

Add TLS transport for C#

commit 60a0baa1797b0ef0ea6f8c21e5b81a78cdfcdf16
 Author: Beat Kaeslin <beat.kaeslin@siemens.com>
 Date: 2014-04-17T06:23:57Z

csharp tests moved to the end
2014-04-22 22:52:43 +02:00
Roger Meier
9b32853112 THRIFT-2463 test/py/RunClientServer.py fails sometimes
Client: Python
Patch: Benoit Sigoure
2014-04-21 21:22:54 +02:00
Roger Meier
188024e4b2 THRIFT-847 Test Framework harmonization across all languages
Patch: Roger Meier
make cross: cpp-java fix parameters
2014-04-17 21:53:45 +02:00
jfarrell
e0e8316838 THRIFT-2421: Tree/Recursive struct support in thrift
Client: cpp
Patch:  Dave Watson

Github Pull Request: This closes #84
----
commit b6134cedf292845e5ed01052919894df6b561bf2
Date:   2014-03-20T18:12:04Z

    Recursive structs support in parser

    A common complaint is that you can't express trees or other recursive structures in thrift easily - unlike protobufs. This diff loosens up the parser to allow using structs before they are defined (and uses typedef as a forward declaration).
    This diff is actually enough to make recursive types work for some dyamic languages (I tried php, works out of the box!)

    Other languages will need forward declarations, or ways to box types, to make this work (i.e. C++ needs both forward decls and a way to express structs as pointers)
2014-04-08 22:45:01 -04:00
Roger Meier
5829a2c64a THRIFT-847: Test Framework harmonization across all languages
add ip-ssl for cpp
2014-04-08 00:28:17 +02:00
Roger Meier
a6415bc985 THRIFT-2325: SSL test certificates
CN for servername was ssltest instead of localhost
+ little update of README.md

Patch: Roger Meier
2014-04-07 23:45:19 +02:00
Roger Meier
6cf0ffcec9 THRIFT-1681: Add Lua Support Patch: Dave Watson
Github Pull Request: This closes #92
2014-04-05 00:50:35 +02:00
ra
161ffe708f THRIFT-2448: test.sh has incorrect node path
Client: test suite
Patch: Randy Abernethy

repairs node path in test.sh
2014-04-04 07:14:17 -07:00
henrique
d7902bf19d THRIFT-2368 New option: reuse-objects for Java generator
Patch: adam-aph
2014-03-31 16:21:37 +02:00
Roger Meier
284101c7a0 THRIFT-2029 Port C++ tests to Windows
THRIFT-847 Test Framework harmonization across all languages

fix compact protocol test within TestServer.cpp and TestClient.cpp
remove stuff that breaks the cross language test suite
- TestServer.cpp: cin read
- test.sh: mkfifo

Reported-by: Chamila Wijayarathna
2014-03-11 21:20:35 +01:00
Roger Meier
7a66f75da8 test/test.sh: fix typo 2014-03-10 12:35:41 +01:00
Roger Meier
f85fdd7a3a THRIFT-847 Test Framework harmonization across all languages
README.md added
Patch: Roger Meier
2014-03-01 17:00:46 +01:00
Roger Meier
c94b293dc7 THRIFT-2325 SSL-test-certificates_cpp_tests
Patch: Roger Meier
2014-02-22 20:07:33 +01:00
Roger Meier
48555c5d1f THRIFT-2325 SSL-test-certificates.patch
Java test suite use keys and certs from test/keys/

Patch: Roger Meier
2014-02-22 20:05:21 +01:00
Roger Meier
57b354b8f7 THRIFT-2369 Add ssl support for nodejs implementation
Patch: Pierre Lamot
2014-02-22 01:01:58 +01:00
Roger Meier
58bbb709a4 THRIFT-2325 SSL test certificates
Fix: use common test cert within Python unit tests
Patch: Roger Meier
2014-02-19 19:59:25 +01:00
Roger Meier
161cf42b09 THRIFT-2325 SSL test certificates
Patch: Roger Meier
2014-02-19 16:45:56 +01:00
Roger Meier
023192f7e1 THRIFT-2358 C++: add compact protocol to cross language test suite
Patch: Roger Meier
2014-02-12 09:35:12 +01:00
Roger Meier
22888ce3a8 THRIFT-2352 msvc failed to compile thrift tests
Patch: Sergei Nikulov & Roger Meier
2014-02-09 11:31:02 +01:00
Roger Meier
8909cbdf81 THRIFT-2327 nodejs: nodejs test suite should be bundled with the library
Patch: Pierre Lamot

further modifications by Roger Meier
- git mv instead of delete and add
- detect node or nodejs with configure.ac
- use exit instead of return within lib/nodejs/test/testAll.sh
2014-01-26 11:44:27 +01:00
Roger Meier
9aa08a9f68 THRIFT-1810 add ruby to test/test.sh
initial version without cross language checks

Signed-off-by: Roger Meier <roger@apache.org>
2014-01-20 18:41:48 +01:00
Roger Meier
c95d5dfb76 THRIFT-1810 add ruby to test/test.sh
initial version without cross language checks

Signed-off-by: Roger Meier <roger@apache.org>
2014-01-19 21:53:02 +01:00
Roger Meier
0e8148024b THRIFT-2229 cpp:thrift failed to build on OSX 10.9 GM
fix test/cppÂ
Patch: Roger Meier
2014-01-17 21:07:58 +01:00
Roger Meier
dffc9fe8dd THRIFT-2196 Fix invalid dependency in Makefile.am
Patch: Hiroaki Kawai
2014-01-15 21:10:59 +01:00
henrique
216374ec4a THRIFT-2313 nodejs server crash after processing the first request when using MultiplexedProcessor/FramedBuffer/BinaryProtocol
patch: Pierre Lamot
2014-01-14 15:17:04 +01:00
Jens Geyer
b9d55220ce THRIFT-2205 Node.js Test Server to support test.js JavaScript Browser test and sundry fixes
Patch: Randy Abernethy, Pierre Lamot
2014-01-10 21:26:25 +01:00
Ben Craig
f41d79d144 THRIFT-2029: Port C++ tests to Windows
Client: cpp

fixes test script to handle new termination approach for test servers.
2014-01-08 15:15:48 -06:00
Jake Farrell
5d02b80e9c Thrift-2029:Port C++ tests to Windows
Client: cpp
Patch: Ben Craig

Updates cpp tests to work with windows and c++11
2014-01-07 21:42:01 -05:00
Jens Geyer
97cc95b24c THRIFT-1755 Comment parsing bug - the missing test case from Brian's patch
Patch: Brian Brooks
2013-09-18 23:53:14 +02:00
henrique
aff2f78b27 THRIFT-2167 nodejs lib throws error if options argument isn't passed
Client: nodejs
Patch: Randy Abernethy and Red Daly

also add examples to test makefile
2013-09-09 12:38:25 +02:00
henrique
2fdd916b8b THRIFT-2053 NodeJS: Support for Multiplexing Services
Client: nodejs
Patch: Remo Hertig
2013-08-28 14:03:34 +02:00
jfarrell
b5948eb378 Thrift-2137:Ruby test lib fails jenkins build #864
Client: ruby test
Patch: jfarrell

Updates test suite to include needed dependencies and run via bundler.
2013-08-18 16:36:06 -04:00