Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
6 years ago
Jan Tattermusch
cf6a311761
Revert "Windows builds for gRPC C++ tests"
6 years ago
billfeng327
4241edeaa4
renamed tag to no_windows in conformation with Bazel and TensorFlow
6 years ago
billfeng327
ab06853fc9
C++ Windows test builds
6 years ago
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
6 years ago
yang-g
d6dd6f25f4
Correctly reference the internal string for socket mutator arg
6 years ago
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
6 years ago
yang-g
7fc52366a0
Fix alarm_test
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Vijay Pai
db01bf793a
Add callback-based alarms
6 years ago
Yang Gao
b840d5e45c
Revert "Add more filter priority levels"
6 years ago
yang-g
d6ef707422
Add more filter priority levels
6 years ago
Vijay Pai
a7df986f08
Expand timeouts to deflake alarm test
7 years ago
Vijay Pai
c90a85649b
Change grpc++ references in names to grpcpp
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Vijay Pai
28b6a44637
Migrate all remaining features of core test to C++ layer test
7 years ago
Vijay Pai
2b226adf60
Remove alarm from core, implement in C++ layer only
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
03412ee9de
Remove TLS_NO_SUPPORT and always use GPR_TLS. Reorder statements in grpc_init and grpc_shutdown. Add grpc_init and grpc_shutdown in failing test/cpp tests
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
3150744c71
Removing more exec_ctx instances
7 years ago
Craig Tiller
baa14a975e
Update clang-format to 5.0
7 years ago
Yash Tibrewal
39aed1ae8b
Remove unnecessary extern Cs
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Craig Tiller
1a8f1e831d
Make alarm_test tolerant of threading
7 years ago
Vijay Pai
58c33ba19b
Decouple alarm construction from setting to avoid races in MT code
7 years ago
Nicolas "Pixel" Noble
2bc5e3ac40
Moving visibility and package creation to the build system.
7 years ago
Vijay Pai
81522c8ebe
Add unsecure libraries to bazel build targets
7 years ago
Mark D. Roth
cc4ef5919f
Improvements to C++ filter API:
...
- Make sure all C-core parameters are passed into C++ methods.
- Add Destroy() methods for ChannelData and CallData.
- Use C++-style casts.
- Add 'extern "C"' to iomgr/closure.h, which is used in C++ filters.
8 years ago
David Garcia Quintas
ab1ff6b041
Split move test
8 years ago
David Garcia Quintas
e48949f0b4
Make grpc::Alarm non-copyable
8 years ago
Jan Tattermusch
4d5c3102a1
fix remaining license notices
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
af6c83f9e1
Adding dummy layering check option.
8 years ago
Nicolas "Pixel" Noble
e40877931a
Missed one gtest reference.
8 years ago
Nicolas "Pixel" Noble
7c26eed838
Buildifier and wrapping test/cpp/* rules with our build system.
8 years ago
Yuchen Zeng
9f0a115f05
Test if the user agent string is copied correctly
8 years ago
Yuchen Zeng
4564b8cde7
Copy value at SetPointerWithVtable
8 years ago
Craig Tiller
eb022becae
Fix compile
8 years ago
Craig Tiller
bbc1eb00a8
Finish test/cpp/common
8 years ago
Craig Tiller
05fbe3c518
Get gtest building with Bazel, add first test in test/cpp/common/BUILD
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Mark D. Roth
13f3574642
clang-format
8 years ago
Mark D. Roth
42663fb20e
Fix bug.
8 years ago
Mark D. Roth
aa1cd14729
Clean up C++ filter API.
8 years ago