summaryrefslogtreecommitdiff
path: root/test/rb
Commit message (Collapse)AuthorAgeFilesLines
* THRIFT-4717: fix up make clean with autoconfJames E. King III2019-01-251-0/+5
|
* THRIFT-4631 Fix Ruby codegen to gen valid ruby for recursive structsCharles Giardina2018-09-152-0/+42
|
* THRIFT-4342: update ruby tests to use rspec 3, updated all dependencies for rubyJames E. King III2018-03-231-3/+3
| | | | Client: rb
* THRIFT-4525: add ruby cross test ssl supportJames E. King III2018-03-212-11/+48
| | | | | | Client: rb This closes #1514
* THRIFT-4358: add unix domain socket option to ruby cross testsJames E. King III2018-03-212-15/+35
| | | | | | Client: rb This closes #1513
* configure.ac, Makefile.am: introduce THRIFT variable to support ↵Thomas Petazzoni2017-09-091-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | cross-compilation The thrift build system currently assumes that the thrift compiler is always available in $(top_builddir)/compiler/cpp/thrift. However, in a cross-compilation context, this location contains the thrift compiler built for the target... which obviously will not run on the build machine. In order to support such cross-compilation situation, we introduce the THRIFT variable as a an argument for the configure script (using AC_ARG_VAR). If not specified, it defaults to the existing value of using compiler/cpp/thrift from the build directory, but it can be overridden when calling ./configure. Note that $(top_builddir) cannot be used within the configure script, so we simply use `pwd`, which is the same as the top_builddir. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> This closes #1336 This closes #1350
* THRIFT-3495 Minor enhancements and fixes for cross testNobuaki Sukegawa2015-12-241-0/+26
| | | | This closes #750
* THRIFT-3452 .travis.yml: Migrating from legacy to container-based infrastructureNobuaki Sukegawa2015-12-051-2/+2
| | | | | | | | | Client: Build Patch: Nobuaki Sukegawa Use "services: docker" This closes #730
* THRIFT-3376 C# and Python JSON protocol double values lose precisionNobuaki Sukegawa2015-10-141-1/+1
| | | | | | | Client: C#, Python, C++, Ruby Patch: Nobuaki Sukegawa <nsukeg@gmail.com> This closes #643
* THRIFT-3374 Ruby TJSONProtocol fails to unescape string valuesNobuaki Sukegawa2015-10-111-1/+10
| | | | This closes #640
* THRIFT-3373: cross test cleanupRandy Abernethy2015-10-091-4/+8
| | | | | | | | | | | | Client: build, node, c_glib, cpp, hs, py, rb Patch: Nobuaki Sukegawa Github Pull Request: This closes #641 commit 338f1a502961a4f63b0bd4b3dae4099062d6d17f Author: Nobuaki Sukegawa <nsukeg@gmail.com> Date: 2015-10-09T17:25:18Z THRIFT-3373 Various fixes for cross test servers and clients
* THRIFT-3364 Fix ruby binary field encoding in TJSONProtocolJens Geyer2015-10-023-1/+4
| | | | | | | Client: Ruby Patch: Nobuaki Sukegawa <nsukeg@gmail.com> This closes #633
* THRIFT-3342 Improve ruby cross test client and server compatibilityNobuaki Sukegawa2015-09-222-50/+146
| | | | This closes #615
* THRIFT-847 Test Framework harmonization across all languagesRoger Meier2015-03-241-2/+4
| | | | | | | | THRIFT-2946 Enhance usability of cross test framework Patch: Nobuaki Sukegawa This closes: #358
* THRIFT-2886 Integrate binary type in standard Thrift cross testJens Geyer2015-01-032-1/+3
| | | | | | | | | | | | 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
* THRIFT-2849: spelling errors fixed using codespell toolKonrad Grochowski2014-11-241-1/+1
| | | | | | | Client: All Patch: Anatol Pomozov This closes #281
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-4/+4
| | | | | | | Client: General (Makefile.am) Patch: Jens Geyer Reverted makefile.am - tabs are not optional there
* THRIFT-2768: Whitespace FixupJens Geyer2014-10-031-4/+4
| | | | | | | Client: General (Makefile.am, *.thrift) Patch: Jens Geyer DocTest.thrift has NOT been changed, the trailing whitespaces are part of the test case.
* THRIFT-2578 Moving 'make cross' from test.sh to test.pyRoger Meier2014-06-182-0/+4
| | | | Patch: Chamila Dilshan Wijayarathna
* THRIFT-847 Test Framework harmonization across all languagesRoger Meier2014-06-107-673/+210
| | | | | | | | | | Added cross tests for ruby with ruby, cpp, java, node and python. ruby_protocols="binary compact json accel" ruby_transports="buffered framed" ruby_sockets="ip" Created new TestServer.rb and TestClient.rb for this purpose Patch: Chamila Dilshan Wijayarathna
* THRIFT-1810 add ruby to test/test.shRoger Meier2014-01-196-15/+18
| | | | | | initial version without cross language checks Signed-off-by: Roger Meier <roger@apache.org>
* Thrift-2137:Ruby test lib fails jenkins build #864jfarrell2013-08-182-1/+10
| | | | | | | Client: ruby test Patch: jfarrell Updates test suite to include needed dependencies and run via bundler.
* Thrift-1714:Explicitly add CWD to Ruby test_suites.rbJake Farrell2012-10-061-1/+1
| | | | | | | | | | | | Client: rb Patch: Nathan Beyer test/rb/Makefile.am contains a invocation or the ruby interpreter to run test_suites.rb that needs modification to run correctly on Ruby 1.9+. Ruby 1.9+ doesn't include the CWD by default anymore. git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1394906 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-526. rb: Generated Ruby enums have no good way to get the names back ↵Bryan Duxbury2009-06-241-0/+6
| | | | | | | | | | | | out once you have a number. enums generated in Ruby will now have a static map of enum values to names. Patch by Adam Coffman (with slight modifications). git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@788098 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-421. rb: Fix tests broken by original patchKevin Clark2009-04-072-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@762928 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-430. rb: ruby tutorials and ruby tests require deprecated files and ↵Bryan Duxbury2009-04-079-13/+3
| | | | | | | | | | class names This patch cleans all this up. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@762618 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-387. Add license headers to a bunch of filesDavid Reiss2009-03-3016-0/+304
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@760189 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-275. rb: Remove deprecated classes from Ruby libraryBryan Duxbury2009-03-243-6/+2
| | | | | | | This patch removes all the deprecation stuff and the t*.rb classes that were only placeholders. In addition, I've changed the implementations of some "abstract" methods to throw NotImplementedError instead of returning nil, and fixed the test accordingly. Finally, I removed the no longer required borrow and consume methods from all the transport implementations that had them. (Borrow and consume have been supplanted by the thrift_native package.) git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@757668 13f79535-47bb-0310-9956-ffa450edef68
* Remove now defunct tests (they've been moved to specs in lib/rb)Kevin Clark2009-03-041-275/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@750188 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-352. rb: Implicit enums should be valid valuesKevin Clark2009-03-041-0/+9
| | | | | | Author: Gary Tsang git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@750171 13f79535-47bb-0310-9956-ffa450edef68
* THRIFT-216. Add validate method to fixtures so tests passKevin Clark2009-01-141-0/+54
| | | | | | | Author: Esteve Fernandez git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@734565 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'fastbinary'Kevin Clark2008-07-0813-23/+1211
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@674688 13f79535-47bb-0310-9956-ffa450edef68
* Fix odd bug in integration tests where it passed the wrong args to an ↵Kevin Clark2008-06-181-1/+1
| | | | | | Exception struct initializer git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668987 13f79535-47bb-0310-9956-ffa450edef68
* Improve compatibility with the old Hash-style set.Kevin Clark2008-06-181-3/+3
| | | | | | | Fix the integration test for the Set change git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668960 13f79535-47bb-0310-9956-ffa450edef68
* Fix the last of the deprecated names in testsKevin Clark2008-06-181-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668938 13f79535-47bb-0310-9956-ffa450edef68
* Fix name usage in tests. Remove test for TTransport as it really wasn't ↵Kevin Clark2008-06-182-21/+5
| | | | | | testing anything useful. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668937 13f79535-47bb-0310-9956-ffa450edef68
* Remove test_remappings because it isn't comprehensive and it's triggering ↵Kevin Clark2008-06-181-21/+1
| | | | | | undesired warnings. This should be re-created as a spec. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668936 13f79535-47bb-0310-9956-ffa450edef68
* Clean up the last few deprecation warnings in the testsKevin Clark2008-06-181-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668922 13f79535-47bb-0310-9956-ffa450edef68
* Fix up thrift/thrift to only require the the files that define the classes ↵Kevin Clark2008-06-181-2/+2
| | | | | | it used to hold. This fixes the existing tests git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668912 13f79535-47bb-0310-9956-ffa450edef68
* rb: Add more classes/modules to the Thrift namespace. Provide backwards ↵Kevin Clark2008-06-182-2/+34
| | | | | | compatable mappings. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668904 13f79535-47bb-0310-9956-ffa450edef68
* rb: Add deprecate! method Rename TTransport#readAll/isOpen, and deprecateKevin Clark2008-06-181-3/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668899 13f79535-47bb-0310-9956-ffa450edef68
* Exercise namespacing in Ruby testsKevin Clark2008-06-181-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668897 13f79535-47bb-0310-9956-ffa450edef68
* Swap out 'tests' target for 'check' in Ruby MakefileKevin Clark2008-06-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668896 13f79535-47bb-0310-9956-ffa450edef68
* Add tests for Ruby TTransport. Only require .rb files in ruby tests.Kevin Clark2008-06-183-1/+67
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668892 13f79535-47bb-0310-9956-ffa450edef68
* Reorganize testsKevin Clark2008-06-188-130/+42
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668890 13f79535-47bb-0310-9956-ffa450edef68
* Tweak Ruby Makefile to use --gen syntaxKevin Clark2008-06-181-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@668889 13f79535-47bb-0310-9956-ffa450edef68
* Make "make clean" rules a bit more standard.David Reiss2008-02-241-1/+1
| | | | | | | | | | | | | | Summary: make-generic is some sort of internal undocumented thing. make-local is what is supposed to be used for this stuff. Also use $(RM) instead of "rm -f". Reviewed By: marc Test Plan: make clean git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665498 13f79535-47bb-0310-9956-ffa450edef68
* Thrift: Whitespace cleanup.David Reiss2008-02-063-3/+3
| | | | | | | | | | | | | | | | | Summary: - Expanded tabs to spaces where spaces were the norm. - Deleted almost all trailing whitespace. - Added newlines to the ends of a few files. - Ran dos2unix on one file or two. Reviewed By: mcslee Test Plan: git diff -b Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665467 13f79535-47bb-0310-9956-ffa450edef68
* Ruby default values patchMark Slee2008-01-107-139/+284
| | | | | | | | | | | Summary: Submitted by Dan Sully, reviewed by Kevin Clark Reviewed By: dreiss Test Plan: New ruby generated code with default vals, and new test scripts git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665418 13f79535-47bb-0310-9956-ffa450edef68
* Merge Ruby framed transportMark Slee2007-12-051-0/+35
| | | | | | | | | | | Summary: Submitted by Jake Luciani Reviewed By: mcslee Test Plan: Test code included in this commit git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665385 13f79535-47bb-0310-9956-ffa450edef68