Commit Graph

439 Commits

Author SHA1 Message Date
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
jfarrell
102c600bbb Thrift-2124: .o, .so, .la, .deps, .libs, gen-* files left tutorials, test and lib/cpp when making DIST
Client: build
Patch: jfarrell

Fixing all the missing files and dist build issues that have been ignored.
2013-08-15 21:20:19 -04:00
Jens Geyer
11430df7ae THRIFT-2102 constants are not referencing to correct type when included from another thrift file
Patch: Remo Hertig
2013-07-26 00:23:00 +02:00
Henrique Mendonça
6afe0535e1 THRIFT-1659 Bring nodejs default transport in line with Java default transport 2013-06-09 22:54:51 +02:00
Henrique Mendonça
27db434fd9 THRIFT-1659 Bring nodejs default transport in line with Java default transport 2013-06-09 22:20:25 +02:00
Carl Yeksigian
de07408e43 THRIFT-1995: IDL can generate uncompilable ocde
Patch: Carl Yeksigian
2013-06-09 05:28:47 -07:00
Carl Yeksigian
0928eda771 THRIFT-2002: Update Maybe to use Data.Maybe to prevent failure of the debug test
Client: haskell
Patch: Carl Yeksigian
2013-06-06 20:53:32 -04:00
Henrique Mendonça
8d22c10a47 THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-06-01 16:53:32 +02:00
Henrique Mendonça
da7982edea THRIFT-1973 TCompactProtocol in C# lib does not serialize and deserialize negative int32 and int64 number correctly
Patch: Eric Ding
2013-05-31 18:20:42 +02:00
Henrique Mendonça
8ad13a38e8 THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
2013-05-16 21:26:20 +02:00
Henrique Mendonça
f837f30181 Revert "THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning"
This reverts commit d28d4d5784.
2013-05-16 21:25:18 +02:00
Henrique
d28d4d5784 THRIFT-1907 Compiling namespace and sub-namespace directives for unrecognized generators should only be a warning
Patch: Andrew Cox
2013-05-16 21:22:46 +02:00
Henrique
08c34eae97 THRIFT-1967 Node.js tests don't cover all services
Patch: Henrique Mendonça

align with the tests we have for the original JS and C++ libraries
it also corrects two small bugs on the test server
and add nodejs to travis and make check
2013-05-11 20:41:22 +02:00
Henrique
4a35d4c4d3 extend tests to check THRIFT-1679 and THRIFT-1821 2013-05-11 12:08:35 +02:00
Henrique
4e1ef5bece ignoring test if node is not present 2013-05-11 01:24:59 +02:00
Henrique
99be0275e1 THRIFT-1957 NodeJS TFramedTransport and TBufferedTransport read bytes as unsigned
Patch: Matthew Imrie

Add method to binary.js to properly read a byte type as
signed Changed transport.js readByte methods in
TFramedBuffer and TBufferedTransport to use binary.js
readByte method Added unit test for binary.js readByte
method to binary.test.js and changed test harness to
nodeunit.
2013-05-11 01:21:52 +02:00
Jens Geyer
379c2776e2 THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-09 15:23:48 +02:00
Jens Geyer
f670181a3d THRIFT-1961 C# tests should be in lib/csharp/test/...
Patch: Jens Geyer
2013-05-06 23:48:00 +02:00
Jens Geyer
1b4c9b9691 THRIFT-1945: C#: sbyte breaks TestClient
Patch: Carl Yeksigian
2013-04-26 23:38:58 +02:00
Roger Meier
565517a16c subversion, thanks and good bye
;-r
2013-03-22 21:08:39 +01:00
Chris Piro
20c81ad74c THRIFT-1704: Tornado support (Python) 2013-03-07 11:32:48 -05:00
Roger Meier
f42ce2a8f4 THRIFT-847 Test Framework harmonization across all languages
THRIFT-1595 Java test server should follow the documented behavior as of THRIFT-1590
 Patch: Kamil Salas
2013-01-16 22:12:14 +01:00