summaryrefslogtreecommitdiff
path: root/lib/cpp/test
Commit message (Collapse)AuthorAgeFilesLines
* Add missing include for the security testsTobias Mayer2023-03-182-0/+2
|
* Fix Security Tests for OpenSSLv3Tobias Mayer2023-02-192-6/+8
|
* fixed a ton of missing ASF headers in *.thrift filesJens Geyer2022-09-111-0/+19
|
* Merge pull request #2630 from kou/cpp-scoped-array-to-unique-ptrMario Emmenlauer2022-09-101-1/+1
|\ | | | | THRIFT-5602: Use std::unique_ptr instead of boost::scoped_array
| * THRIFT-5602: Use std::unique_ptr instead of boost::scoped_arraySutou Kouhei2022-09-091-1/+1
| | | | | | | | | | | | Client: cpp We can use std::unique_ptr because we require C++11 or later.
* | lib/cpp/test/CMakeLists.txt: Trivial whitespace changeMario Emmenlauer2022-09-091-2/+2
|/
* Replace ThriftTest.thrift with v0.16/ThriftTest.thrift to allow for merging ↵Jens Geyer2022-09-052-4/+4
| | | | the partially completed uuid implementation to master
* Remove execute bit from plain text files in git (#2611)Christopher Tubbs2022-05-241-0/+0
| | | | | | | Trivially change file mode from 755 to 644 for files in git that shouldn't be marked as executable. These were probably marked as executable due to some contributors developing on Windows using a filesystem that doesn't support POSIX file modes, or aggressively marks everything as executable.
* THRIFT-5093: lib: cpp: test: clarify effect of MemoryPolicy on TMemoryBufferChristopher Friedt2022-04-191-3/+249
| | | | | | | | Client: cpp Tests to clarify the effect of each MemoryPolicy on TMemoryBuffer. Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
* Fix winsock capitalization for case sensitive cross-compilationJeremiah2022-02-081-1/+1
|
* Use modern OpenSSL cmake syntax (if available), and larger cmake cleanupMario Emmenlauer2021-09-022-30/+29
|
* Include signal.h depending on HAVE_SIGNAL_H, not depending on __linux__Mario Emmenlauer2021-08-134-4/+7
|
* lib/cpp/test/CMakeLists.txt: Added missing boost::chronoMario Emmenlauer2021-08-131-1/+1
|
* lib/cpp/test/ToStringTest.cpp: Disabled locale-based tests on WindowsMario Emmenlauer2021-08-121-2/+7
|
* Merge pull request #2401 from aaronmjones/THRIFT-3840Mario Emmenlauer2021-06-091-0/+21
|\ | | | | THRIFT-3840: C++ TJSONProtocol still using locale dependent formatting
| * Add better unit tests and imbue C locale in floating point to_stringubuntu2021-06-072-24/+21
| | | | | | | | | | | | | | | | ToStringTest.cpp is a better place than JSONProtoTest.cpp for to_string tests. Move global locale-related unit tests there. Also imbue the C locale in the floating point to_string functions to avoid decimal number strings formatted with comma instead of decimal point. In Dockerfiles, install de_DE locale because it uses decimal comma.
| * Add unit test for system locale with thousands separator commaubuntu2021-05-311-0/+24
| | | | | | | | Install en_US.UTF-8 locale in Dockerfile
* | Robustness improvements when loading OpenSSL certificatesMarco Schroeter2021-06-041-0/+1
| |
* | Minor cleanup of two CMake files, and removed some (unused) boost dependenciesMario Emmenlauer2021-05-051-53/+53
|/
* CMake: Pass linker dependencies transitively to downstream projectsMario Emmenlauer2021-02-121-5/+0
|
* THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a ↵Jens Geyer2021-02-031-18/+18
| | | | | | | | | TConfiguration class (cpp) Client: cpp Patch: Jens Geyer Fixes an issue introduced with that ticket
* THRIFT-5217 Deprecated boost headerzeshuai0072020-09-1211-11/+11
| | | | | | | Client: cpp Patch: Zezeng Wang This closes #2158
* THRIFT-5237 Implement MAX_MESSAGE_SIZE and consolidate limits into a ↵zeshuai0072020-07-253-1/+230
| | | | | | | | | TConfiguration class Client: cpp Patch: Zezeng Wang This closes #2185
* THRIFT-5225: Use nullptr instead of NULLzeshuai0072020-06-145-9/+9
| | | | | | Patch: Zezeng Wang This closes #2168
* Add isOpen() to TServerTransportMario Emmenlauer2020-04-242-1/+6
| | | Client: cpp
* THRIFT-5168 Useless generated code when .thrift file only has service typezeshuai0072020-04-212-7/+2
| | | | | | | Client: cpp Patch: zeshuai007 <51382517@qq.com> This closes #2095
* Add testcase for other condition judgment in the readJSONDouble functionzeshuai0072020-03-311-1/+10
| | | | | | | Client: cpp Patch: zeshuai007 <51382517@qq.com> This closes #2080
* THRIFT-4982 Remove deprecated C# bindings from the code baseJens Geyer2020-02-281-1/+0
| | | | | | | Client: csharp Patch: Jens Geyer This closes #2027
* (no ticket) Propagate exception instead of rethrowingGaurav Singh2020-02-061-2/+2
| | | | | | | Client: cpp Patch: Gaurav Singh This closes #1999
* Fix unknown pragma warnings on mingwKevin Wojniak2019-11-061-2/+2
| | | | | | | | | | | | | | | | | | | | Client: cpp Patch: Kevin Wojniak This closes #1917 These pragmas are only valid for MSVC. Fixes warnings found in the logs: > In file included from C:\projects\thrift\lib\cpp\test\processor\ProcessorTest.cpp:40: 731C:\projects\thrift\lib\cpp\test\processor\Handlers.h:143: warning: ignoring #pragma warning [-Wunknown-pragmas] 732 143 | #pragma warning( push ) 733 | 734C:\projects\thrift\lib\cpp\test\processor\Handlers.h:144: warning: ignoring #pragma warning [-Wunknown-pragmas] 735 144 | #pragma warning (disable : 4250 ) //inheriting methods via dominance 736 | 737C:\projects\thrift\lib\cpp\test\processor\Handlers.h:172: warning: ignoring #pragma warning [-Wunknown-pragmas] 738 172 | #pragma warning( pop ) 739 |
* THRIFT-4981 Remove deprecated netcore bindings from the code baseJens Geyer2019-10-201-1/+0
| | | | | | | Client: netcore Patch: Jens Geyer This closes #1901
* THRIFT-4977: Allow loading OpenSSL certificates from memoryMario Emmenlauer2019-10-153-0/+276
| | | | | Client: cpp This closes #1860.
* THRIFT-4830: Add to_string helper function for cpp generator (#1765)soroshsabz2019-07-011-2/+20
|
* THRIFT-4896 - prevent cpp and c_glib include directories from leaking into ↵Kevin Wojniak2019-07-011-2/+2
| | | | | | other targets (#1821) - enable the automake `nostdinc` option - fix up include paths
* CPP generator test, catching exceptions by ref instead.David Carlier2019-06-211-2/+2
|
* THRIFT-4776:Modernize c++11 code by clang-tidy (#1732)cyy2019-02-088-81/+73
| | | | | | | | | | | | | | * use override * use make_shared * use emplace * use range for * fix error on MSVC * replace boost functions with std functions * fix static analyzer warnings * check api return value * initialize member * check the return value of SSL_peek > 0 * add override
* THRIFT-4739: fix concurrency_test (test-only fix)James E. King III2019-02-021-5/+16
|
* THRIFT-4762: Applied some C++11 refactorings to the runtime library and ↵Sebastian Zenker2019-01-2921-187/+187
| | | | | | | | | | | | compiler (#1719) * make use of C++11 override keyword * added const specifier to TTransport::getOrigin() * added more const correctness to the compiler * make use of auto keyword * replaced usage of NULL with nullptr * make use of explicitly-defaulted function definition * extended changelog
* fix static analyzer waringscyy2019-01-223-4/+2
|
* fix waringscyy2019-01-221-7/+7
|
* use chronocyy2019-01-224-17/+14
|
* THRIFT-4719: remove cocoaJames E. King III2019-01-141-1/+0
|
* THRIFT-4735: Remove Qt4 build supportJames E. King III2019-01-131-12/+0
|
* THRIFT-4730: remove pthread code and refactor, ending up with just ThreadFactorycyy2019-01-1113-375/+31
|
* THRIFT-4720: documenting breaking changes, minor cleanupJames E. King III2019-01-091-4/+6
|
* replace boost::atomic with std::atomiccyy2019-01-071-6/+6
|
* remove stdcxx namespace and use std directlycyy2019-01-0731-285/+281
|
* remove boost::thread and boost::mutex codecyy2019-01-075-9/+7
|
* THRIFT-4680: fix up std::min, std::max, and numeric limits min/max on ↵James E. King III2018-12-181-1/+1
| | | | Windows; remove NOMINMAX from cmake build
* THRIFT-4579: Move up to Ubuntu Bionic for CI buildsJames E. King III2018-06-161-17/+3
| | | | | make dlang library compatible with openssl-1.1 for Ubuntu Bionic Requires an upstream deimos update to be compatible.