Jens Geyer
d629ea0bb2
THRIFT-3347 Improve cross test servers and clients
...
Client: TestSuite, C++, Perl, NodeJS, c_glib, Haskell, Python
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #621
2015-09-23 21:20:38 +02:00
Nobuaki Sukegawa
6823829710
THRIFT-3342 Improve ruby cross test client and server compatibility
...
This closes #615
2015-09-22 07:48:25 +02:00
Jens Geyer
fa2daef14b
THRIFT-3341 Add testBool methods
...
Client: Haxe
Patch: Jens Geyer
This closes #614
2015-09-22 00:29:32 +02:00
Roger Meier
840f3ef649
THRIFT-3340 Python: enable json tests again
...
This closed #613
2015-09-21 23:36:27 +02:00
Nobuaki Sukegawa
a649e7473b
THRIFT-3337 Add testBool method to cross tests
...
This closes #611
2015-09-21 23:07:39 +02:00
Roger Meier
6857b7fe90
THRIFT-2918 Race condition in Python TProcessPoolServer test
2015-09-17 09:46:24 +02:00
Jens Geyer
5bc8b5a3a5
THRIFT-3302 Go JSON protocol should encode Thrift byte type as signed integer string
...
Client: Go
Patch: Nobuaki Sukegawa <nsukeg@gmail.com>
This closes #591
2015-09-05 12:50:24 +02:00
jfarrell
f13e431bab
THRIFT-3305: Missing dist files for 0.9.3 release candidate
...
Client: build
Patch: jfarrell
Adds missing files to dist
2015-08-25 00:39:29 -04:00
Nobuaki Sukegawa
2fab3deb09
THRIFT-3296 - Go cross test does not conform to spec
2015-08-17 21:54:23 +10:00
Henrique Mendonça
738143cf36
THRIFT-3293 JavaScript: null values turn into empty structs in constructor
...
Patch: Håkon Hitland
2015-08-16 19:17:33 +10:00
Jens Geyer
c6b991fe00
THRIFT-3292 Integrate new Zlib transport for Go into test suite
...
Client: Go
Patch: Paul Magrath <paul@swiftkey.com>
This closes #580
2015-08-08 00:24:09 +02:00
Jim King
f5f1b35a7d
THRIFT-3053: Added perl SSL Socket support, split SSLSocket and SSLServerSocket out from their base classes, fixed THRIFT-3191 generated perl compiler exception handling code, added perl to make cross, fixed THRIFT-3189 allowing perl to listen on a specific interface through construction arguments. Did not add support in the perl client SSLSocket to verify server certificate authenticity at this time.
2015-07-30 14:19:49 +02:00
Jens Geyer
8c5fce9afa
THRIFT-2917 "make clean" breaks test/c_glib
...
Client: c_glib
Patch: Simon South
2015-07-28 22:59:16 +02:00
Jens Geyer
f7d327ae96
THRIFT-2918 Race condition in Python TProcessPoolServer test
...
Client: Python
Patch: Jens Geyer
2015-07-25 15:44:20 +02:00
ben-craig
02bade1583
THRIFT-3247 Generate a C++ thread-safe client
...
Client: cpp
Patch: Ben Craig <bencraig@apache.org>
2015-07-17 08:40:48 -05:00
ben-craig
fae08e774c
THRIFT-3246 Reduce the number of trivial warnings in Windows C++ CMake builds
...
Client: cpp
Patch: Ben Craig <bencraig@apache.org>
This closes #553
2015-07-15 11:34:47 -05:00
Jens Geyer
90c60e340c
THRIFT-3239 Limit recursion depth
...
Client: Haxe
Patch: Jens Geyer
This closes #547
2015-07-11 01:19:53 +02:00
Ben Craig
012dd4e3fc
Renamed, relocated, and reformated the audit tool's readme file
2015-07-09 20:55:53 -05:00
Ben Craig
262cfb4189
THRIFT-3221 Create a tool to audit network compatibility between two
...
.thrift files
Client: Compiler (general)
Patch: Sanjay Poojary <sanjay.poojary@ni.com>, Ben Craig
<bencraig@apache.org>, and Zach Hindes <zach.hindes@ni.com>
This closes #541
2015-07-08 20:37:15 -05:00
Ben Craig
384f976a3b
THRIFT-3217 Provide a little endian variant of the binary protocol in C++
...
Client: C++
Patch: Ben Craig <bencraig@apache.org>
This closes #537
2015-07-08 20:33:03 -05:00
Ben Craig
7207c22f9d
THRIFT-2850 CMake for Apache Thrift
...
Client: Cpp
Patch: Ben Craig
This closes #534
2015-07-06 08:40:35 -05:00
Jim King
5903d67459
THRIFT-3211: add php client compact protocol to make cross test
...
This closes #532
2015-07-03 20:48:50 +02:00
Henrique Mendonça
15d904240e
THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
...
Patch: Igor Tkach
This closes #519
2015-06-25 22:31:41 +10:00
jfarrell
6cdbd98b71
Thrift-2922: TRIAL is used with Python tests but not tested accordingly
...
Client: py
Patch: jfarrell
Updated configure.ac to require trial for py.twisted tests
2015-06-23 21:58:50 -04:00
Jens Geyer
8b4700265c
THRIFT-3194 Can't build with go enabled. gomock SCC path incorrect.
...
Client: Go
Patch: Larry Matter <larry.matter@gmail.com>
This closes #524
2015-06-19 21:22:57 +02:00
Jens Geyer
56a03be3f9
THRIFT-3192 Go import paths changed in 1.4, and expired June 1
...
Client: Go
Patch: Adam Beberg <beberg@sentient.ai>
This closes #523
2015-06-17 22:21:27 +02:00
Roger Meier
74d503e0eb
THRIFT-2850 CMake for Apache Thrift
...
Change project name to "Apache Thrift" and add test/py
fix: add missing test/py/CMakeLists.txt and update package name
2015-06-05 07:10:19 +02:00
Henrique Mendonça
c0e4a8dc07
Revert "THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments"
...
This reverts commit 1568aef7d4
.
2015-06-01 23:23:22 +10:00
Jens Geyer
bbd6fd7773
THRIFT-3076 Compatibility with Haxe 3.2.0
...
Client: Haxe
Patch: Jens Geyer
This closes #510
2015-05-31 00:39:41 +02:00
Henrique Mendonça
1568aef7d4
THRIFT-3122 Javascript struct constructor should properly initialize struct and container members from plain js arguments
...
Client: Node and JS
Patch: Igor Tkach
This closes #476
2015-05-27 22:15:46 +10:00
Konrad Grochowski
1f6e380c5d
make style
applied
2015-05-18 19:47:28 +02:00
Nobuaki Sukegawa
ef0a8fa62a
THRIFT-3138 "make check" parallel execution is underministic
2015-05-10 18:25:56 +02:00
Nobuaki Sukegawa
03f0e18fcb
THRIFT-3133 Allow "make cross" and "make precross" to run without building all languages
2015-05-10 18:25:56 +02:00
Roger Meier
446a319f9a
THRIFT-3086 add valgrind suppression support to the ExperimentalMemCheck test run
...
Patch: James E. King, III
This closes #481
2015-05-09 23:40:54 +02:00
Jens Geyer
5ec2121cf2
THRIFT-233 IDL doesn't support negative hex literals
...
Client: Compiler general
Patch: mreve <aadymek@gmail.com>
This closes #461
Update hexconstant regex in thriftl.ll
As it is now, the parser doesn't allow hex constant values to be negative (it throws a 'bad syntax' error).The change updates the regex and the part that parses the hex value from the string read from the IDL file to support negative values.
Add test to ConstantsDemo.thrift
Before the change, "make install" would break with negative hex constant in ConstantsDemo.thrift. Now it compiles.
2015-04-26 17:47:43 +02:00
Nobuaki Sukegawa
783660a335
THRIFT-3109 Cross test log file cannot be browsed when served in HTTP server
2015-04-26 16:08:20 +02:00
Marco Molteni
83494259d1
THRIFT-3099 cmake build is broken on FreeBSD
2015-04-16 22:23:27 +02:00
Roger Meier
2659381e7f
THRIFT-2850 CMake for Apache Thrift
...
add test/cpp and lib/py
2015-04-12 16:10:35 +02:00
Roger Meier
5af3b8abf7
make cross: update test/known_failures_Linux.json
2015-04-12 11:41:55 +02:00
Nobuaki Sukegawa
147a5a278a
THRIFT-2946 Enhance usability of cross test framework
...
*make fail* runs test.py 4 times to detect nondeterministic failures.
2015-04-12 09:58:22 +02:00
Roger Meier
bb23eadca1
THRIFT-2946 Enhance usability of cross test framework
...
introduce *make fail* to update known failures
2015-04-11 13:15:13 +02:00
Nobuaki Sukegawa
f5b795d3be
THRIFT-2578 Moving 'make cross' from test.sh to test.py
2015-03-29 14:39:32 +02:00
Roger Meier
41ad4342c5
THRIFT-847 Test Framework harmonization across all languages
...
THRIFT-2946 Enhance usability of cross test framework
Patch: Nobuaki Sukegawa
This closes : #358
2015-03-24 22:30:40 +01:00
Jens Geyer
426ab86801
THRIFT-3022 Compact protocol for Haxe
...
Client: Haxe
Patch: Jens Geyer
This closes #388
2015-03-05 23:43:23 +01:00
Roger Meier
6f7399b355
cpp: remove unused variable g_socket_syscalls
2015-03-04 14:32:59 +01:00
Randy Abernethy
3b9ff4de6e
THRIFT-2969
...
Client: nodejs
Patch: Andrew de Andrade
General node test cleanup and consolidation.
2015-02-16 00:51:24 -08:00
henrique
2f34da7024
THRIFT-2951 Fix Erlang name conflict test
...
Patch: Nobuaki Sukegawa
This closes #360
----
commit 06cc3e990ade560461a276991ce9cb544706dae3
Author: Nobuaki Sukegawa <nsukeg@gmail.com>
Date: 2015-01-27T18:11:40Z
THRIFT-2951 Fix Erlang name conflict test
----
2015-02-05 12:39:34 +11:00
Nobuaki Sukegawa
a0c5ab711e
THRIFT-2971 - C++ test and tutorial parallel build is unstable
2015-02-02 22:06:39 +01:00
Jens Geyer
ce36aac591
THRIFT-2942 CSharp generate invalid code for property named read or write
...
Client: C#
Patch: Jens Geyer
2015-01-20 23:31:19 +01:00
Jens Geyer
8bcfdd98ae
THRIFT-2886 Integrate binary type in standard Thrift cross test
...
Client: C_glib, C++, D, Erlang, Go, Haskell, Lua, Java/Me, JavaScript, Node, Ocaml, Perl, PHP, Python, Ruby
Patch: Jens Geyer
This closes #341
Minimal server-side implementations and TODO stubs for various languages to let "make check" succeeed.
Not contained in this patch and still TODO:
- client side implementations, i.e. calls to testBinary() and appropriate tests
- server side hex printout missing for some languages
2015-01-03 17:37:54 +01:00
Jens Geyer
43e195afcd
THRIFT-2886 Integrate binary type in standard Thrift cross test
...
Client: Haxe
Patch: Jens Geyer
2015-01-03 17:37:22 +01:00
Jens Geyer
a2d5dfd9f6
THRIFT-2886 Integrate binary type in standard Thrift cross test
...
Client: Tests
Patch: Jens Geyer
2015-01-03 17:37:10 +01:00
Jens Geyer
3a3ba00b97
THRIFT-2920 Erlang Thrift test uses wrong IDL file
...
Client: Erlang
Patch: Jens Geyer
2014-12-30 00:10:06 +01:00
Jens Geyer
326cf0d0fb
THRIFT-2920 Erlang Thrift test uses wrong IDL file
...
Client: Erlang
Patch: Jens Geyer
2014-12-29 23:56:12 +01:00
Jens Geyer
8c8e9c6a55
THRIFT-2919 Haxe test server timeout too large
...
Client: Haxe
Patch: Jens Geyer
This closes #340
- reduced timeout and made sure the test script waits appropriately
- added test to make sure Haxe >= 3.1.3 is used
2014-12-29 19:52:47 +01:00
Roger Meier
051ea1cf2f
test/cpp/Makefile.am: add ZLIB_LIBS to LDFLAGS
2014-12-20 22:43:24 +01:00
Jens Geyer
20b51b667b
Fixed a typo in test/README.md
...
Patch: Kirill Sevastyanenko <kirillseva@gmail.com>
This closes #329
2014-12-18 22:15:49 +01:00
Jens Geyer
6aeb82ef5d
THRIFT-2862 Enable RTTI and/or build macros for generated code
...
Client: Haxe
Patch: Jens Geyer
This closes #293
2014-11-29 23:47:11 +01:00
Jens Geyer
d35f616c73
THRIFT-2861 add buffered transport
...
Client: Haxe
Patch: Jens Geyer
This closes #292
2014-11-29 19:23:19 +01:00
Konrad Grochowski
3b5dacba44
THRIFT-2849: spelling errors fixed using codespell tool
...
Client: All
Patch: Anatol Pomozov
This closes #281
2014-11-24 10:55:31 +01:00
Konrad Grochowski
16a23a6618
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 11:39:10 +01:00
Konrad Grochowski
240120c843
Revert "THRIFT-2729: C++ - .clang-format created and applied"
...
This reverts commit 74260aa909
.
2014-11-18 11:33:31 +01:00
Konrad Grochowski
74260aa909
THRIFT-2729: C++ - .clang-format created and applied
...
Client: C++
Patch: Konrad Grochowski
make style command added
2014-11-18 10:02:08 +01:00
Jens Geyer
65e9bde0ed
THRIFT-2813 multiple haxe library fixes/improvements
...
Client: Haxe
Patch: Jens Geyer
This closes #260
2014-11-11 01:35:21 +01:00
Jens Geyer
b502832c79
THRIFT-2806 more whitespace fixups
...
Client: Haxe
Patch: Jens Geyer
This closes #254
2014-11-09 02:50:33 +01:00
Jens Geyer
fea00ac871
THRIFT-2753 Haxe support: Misc. improvements
...
Client: Haxe
Patch: Jens Geyer
This closes #229
2014-11-09 01:58:29 +01:00
Jens Geyer
bd52f1a1dd
THRIFT-2644 Haxe support
...
Client: Haxe
Patch: Jens Geyer
This closes #214
2014-11-09 01:58:25 +01:00
Roger Meier
a5bf1a1ff0
cpp: fix automake dependencies and make ProcessorTest.cpp compilable again
2014-10-22 23:26:01 +02:00
Roger Meier
81a1f996bc
THRIFT-2602 fix missing dist files
...
- add automake 1.13 dependency to configure.ac and doc
- use serial-tests instead of .NOTPARALLEL (introduced by THRIFT-1829)
Patch: Roger Meier
2014-10-22 14:09:43 +02:00
Roger Meier
cb0754db1e
THRIFT-2784 Eliminate compiler warnings in generated C++ code
...
remove unused MyEnum5 and add -pedantic to lib/cpp/test/Makefile.am
2014-10-21 21:28:04 +02:00
Roger Meier
ec300e33d4
THRIFT-1462 add more strict compiler flags
...
Patch: Roger Meier
2014-10-13 02:13:35 +02:00
jfarrell
5d4953fc4c
THRIFT-2764: Haskell does not build/test when using the Trusty Vagrantfile
...
Client: build
Patch: jfarrell
Fix hs to compile and run all tests
2014-10-08 23:21:19 -04:00
Konrad Grochowski
d5f3be5ebd
THRIFT-2757: py - checkIntegerLimits optimized
...
Client: Python
2014-10-08 15:40:00 +02:00
Jens Geyer
dd971d5377
THRIFT-2689 struct names that differ only in capitalization of first character generate broken erlang code
...
Client: haskell
Patch: Alisdair Sullivan
This closes #239
Removed struct from NameConflictTest.thrift that causes problems for certain backends
2014-10-07 21:17:10 +02:00
Jens Geyer
79f988c27a
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am)
Patch: Jens Geyer
Reverted makefile.am - tabs are not optional there
2014-10-03 20:42:54 +02:00
Jens Geyer
aaa8947f3a
THRIFT-2768: Whitespace Fixup
...
Client: General (Makefile.am, *.thrift)
Patch: Jens Geyer
DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
2014-10-03 20:30:38 +02:00
Jens Geyer
6d15c3090f
THRIFT-2628 struct member name conflicts due to lowercased names
...
Client: Erlang
Patch: Alisdair Sullivan
This closes #228
2014-10-02 10:06:07 +02:00
Jens Geyer
cc4ac4955c
THRIFT-2689 struct names that differ only in capitalization of first character generate broken erlang code
...
Client: Erlang
Patch: Alisdair Sullivan
This closes #204
2014-10-01 21:13:39 +02:00
Konrad Grochowski
1ff4a97a45
THRIFT-2716 - removed warnings from some Makefile.ams
2014-09-29 22:05:49 +02:00
Roger Meier
15df0767d3
THRIFT-2685 c_glib: Include in integration test suite
...
Patch: Simon South
2014-09-29 20:50:56 +02:00
Jens Geyer
f8a1b7a29a
THRIFT-2718 Align cmdline help and return codes for Thrift test server/client
...
Client: Delphi
Patch: Jens Geyer
2014-09-24 00:26:46 +02:00
Jens Geyer
86b309cde0
THRIFT-2513 clean up enum value assignment
...
Client: Compiler (General)
Patch: Jens Geyer
2014-09-12 00:23:51 +02:00
Jens Geyer
089bcd3f8c
THRIFT-1040 Can't end typedef lines with a semicolon
...
Client: Compiler (General)
Patch: Konrad Grochowski
2014-09-11 22:36:41 +02:00
Jens Geyer
ae0b22cc29
THRIFT-2513 clean up enum value assignment
...
Patch: Dave Watson
This closes #88
Summary:
Clean up how enum values are handled if an integer value is not
explicitly specified in the thrift file.
For example, the following used to be a compile error, but
works now:
enum MyEnum {
SOMEVALUE
}
struct MyStruct {
1: MyEnum e = SOMEVALUE
}
This change also cleans up some of the error handling with out-of-range
values. Previously thrift simply issued a warning for enum values that
didn't fit in an i32, but serialized them as i32 anyway. Now
out-of-range enum values result in a compile failure.
Test Plan:
Included a new unit test to verify the assignment of enum values. I
also verified that g++ makes the same enum value assignments when
compiling these enums as C++ code.
2014-09-04 23:40:14 +02:00
Roger Meier
b3c8409c24
THRIFT-2685 c_glib: Include in integration test suite
...
- client side
Patch: Simon South
2014-09-01 21:53:40 +02:00
cdwijayarathna
7191bc99fe
THRIFT-847 Test Framework harmonization across all languages
...
THRIFT-847 Test Framework harmonization across all languages
2014-08-17 21:48:21 +02:00
cdwijayarathna
9ea3d2e75d
THRIFT-2652 THRIFT_TEST_PORT variable via to run tests in parallel
2014-08-16 22:15:01 +02:00
cdwijayarathna
d92179129a
THRIFT-847 Test Framework harmonization across all languages
...
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-15 23:34:45 +02:00
Roger Meier
dace6937a7
THRIFT-847 Test Framework harmonization across all languages
...
update tests.json
Patch: cdwijayarathna
2014-08-15 23:01:09 +02:00
cdwijayarathna
d1041656e8
THRIFT-2578 Moving 'make cross' from test.sh to test.py
2014-08-15 22:41:06 +02:00
cdwijayarathna
a07ec0bdf2
THRIFT-2655 CPP tests should not use relative path when accessing ssh related files
2014-08-10 21:59:37 +02:00
cdwijayarathna
0d4072b0cf
THRIFT-2578 Moving 'make cross' from test.sh to test.py
2014-08-10 21:45:30 +02:00
James Broadhead
79c3f4a731
THRIFT-2657 Fix spurious test failures in py:twisted
...
- py.twisted/test_suite.py:ThriftTestCase.testOneway relies on
testOneWay executing in less than 0.04 seconds (since it sleeps for 2
seconds, then asserts that 2s - <time> ~= 0). On slow, or loaded
machines this may fail. Switch this to sleep for 1 second, then have a
tolerance of 0.4s for the deferred resolution.
- Removes a dud return d from testOneWay.
- Remove '*' import & dud 'import random'. This file now passes
pyflakes.
- Strip trailing whitespace
This closes #181
Jira: THRIFT-2657
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-10 21:26:17 +02:00
Roger Meier
862218ec13
THRIFT-2641 Improvements to Haskell Compiler/Libraries
...
some fixes
2014-08-10 21:13:58 +02:00
Noam Zilberstein
af5d64adb7
THRIFT-2641 Improvements to Haskell Compiler/Libraries
...
- test/test.sh integration
- add json and compact protocol
This closes #175
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-10 21:11:43 +02:00
Roger Meier
bea273484d
THRIFT-847 Test Framework harmonization across all languages
...
add info: $FAILED failed of $TESTCOUNT tests in total
2014-08-08 00:32:58 +02:00
alisdair sullivan
ca44a622df
THRIFT-2651: struct names that are restricted erlang terms generate invalid type signatures
...
patch: alisdairsullivan@yahoo.ca
client: erlang
fixes error exposed in THRIFT-2647 by avoiding using restricted identifiers in erlang type signatures generated by the compiler
2014-08-07 17:40:22 +02:00
Roger Meier
d52edba00f
THRIFT-2231 Support tornado-4.x (Python)
...
Client: Python
Patch: Roey Berman
Signed-off-by: Roger Meier <roger@apache.org>
2014-08-07 17:04:23 +02:00
Roger Meier
f5136abeba
Revert "THRIFT-2578 Moving 'make cross' from test.sh to test.py"
...
This reverts commit c53bbd2c4b
.
oops, I accidently committed this, sorry!
2014-08-07 14:54:30 +02:00
cdwijayarathna
c53bbd2c4b
THRIFT-2578 Moving 'make cross' from test.sh to test.py
2014-08-07 03:20:21 +02:00