Vijay Pai
b484e40e08
TYPED_TEST_CASE (deprecated) -> TYPED_TEST_SUITE
5 years ago
Vijay Pai
30f1230c10
Remove unused parameter warning (16 of 20)
5 years ago
Prashant Jaikumar
9f02fc7f91
Enable end2end C++ tests on iOS.
...
Some e2e tests were disabled on iOS because they hit the Apple CFStream bug.
This commit enables e2e tests and works around the Apple bug by disabling CFStream.
5 years ago
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
6 years ago
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Karthik Ravi Shankar
0692dcc16a
Fix tests namespaces
6 years ago
Karthik Ravi Shankar
5906b86119
Fix tests to use grpc namespace
6 years ago
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
6 years ago
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Vijay Pai
16f738359d
Make sure that we actually saw some resource exhaustion if applicable
6 years ago
Vijay Pai
14ad82a76d
Create a new method handler for resource exhaustion and tie into thread mgr
6 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Vijay Pai
da69355f30
C++ize gpr_thread as grpc_core::Thread, make it 2-phase init (construct/Start)
7 years ago
Vijay Pai
c745690caf
Internalize gpr_thd except for id and currentid
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Jan Tattermusch
c9ec2c0888
Revert "Stop using std::thread in C++ library since it can trigger exceptions"
7 years ago
Vijay Pai
5dd32268be
Switch C++ sync server to use gpr_thd rather than std::thread and provide resource exhaustion mechanism
7 years ago
Vijay Pai
4afcf5b566
Remove unused code from thread_stress_test
7 years ago
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
3726e3d37b
Moving gtest include down.
...
In some cases, depending on the direction of the wind, and the phase of the moon, gtest can interfere with protobuf badly with macros cross-pollution between the two projects. Moving the gtest inclusion at the end makes the problem go away.
8 years ago
Vijay Pai
56540ba9f9
clang-format
8 years ago
Vijay Pai
b0a6be2b8f
Remove some unnecessary new/delete patterns
8 years ago
Vijay Pai
90102c2bfc
Eliminate unnecessary uses of new[]/delete[] that can be replaced
...
with vector
Also start eliminating uses of plain-old delete that are not helpful
8 years ago
Vijay Pai
320ed13d3e
Deprecate grpc::thread and sync in favor of std::thread,mutex,etc
8 years ago
Vijay Pai
713c7b87e1
clang-format
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Craig Tiller
44b12f9e23
clang-format
8 years ago
Craig Tiller
bd37a21c26
Cleanup, debug support
8 years ago
Vijay Pai
6ab4788ae9
clang-format changes
9 years ago
Vijay Pai
a63271c77f
Deal with to_string, proper usage of nullptr, and lack of map::emplace
9 years ago
vjpai
bd06e441cc
Add virtual destructor to satisfy a requirement of some compilers
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Vijay Pai
98f2f754b8
Used TYPED_TEST to parametrize
...
Include all 4 sync/async client/server combos
9 years ago
Vijay Pai
40d1a2cb87
clang-format
9 years ago
Vijay Pai
bbbbf621e4
Add a concurrent test for sync client, async server case
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
Craig Tiller
45551e0c99
Fix sanity
9 years ago
Nicolas "Pixel" Noble
cd41a0b549
Removing undescores in {GPR,GRPC,CENSUS}_API.
9 years ago
yang-g
5e67246f84
that clang-format
9 years ago