Cheng-Yu Chung
8d792b7721
Fix missing detection for invalid UTF-8 characters ( #30406 )
...
* Fix missing detection for invalid UTF-8 characters
* Add comments
2 years ago
Mark D. Roth
536b9351ec
JSON: use absl::Status instead of grpc_error ( #30397 )
...
* JSON: use absl::Status instead of grpc_error
* Automated change: Fix sanity tests
* fix credentials_test
* fix tests
* add missing build dep
* fix build
* fix test
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2 years ago
Cheng-Yu Chung
0536a75167
Detect invalid UTF-8 characters ( #30307 )
...
* Detect invalid UTF-8 characters
* Fix checking bug
* Add unit test
* Add more comments and descriptions
* Add corpus
* Small fix to improve readability
* Fix sanity check
2 years ago
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
Craig Tiller
48323d8ea6
Ensure JSON parser can consume dumped JSON ( #27994 )
...
* Ensure JSON parser can consume dumped JSON
* fixes
* fixes
* Update fuzzer.cc
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Esun Kim
460898f11c
Migrated from grpc_error_string to grpc_error_std_string ( #26068 )
...
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
4 years ago
Esun Kim
ca945a58e9
Introduced grpc_error_handle ( #25902 )
...
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
4 years ago
Mark D. Roth
01e87e2d93
Remove old JSON API
5 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Craig Tiller
4ac2b8e585
Enable clang-tidy as a sanity check, fix up all known failures
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Nicolas "Pixel" Noble
959b6f52cd
Fixing another memory leak.
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Nicolas "Pixel" Noble
82a91c91d0
Fixing json memory leak.
9 years ago
Nicolas "Pixel" Noble
fdbebb9049
Adding json test case.
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Craig Tiller
2e1903638e
Fix copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
Craig Tiller
9d290d534e
copyrights
9 years ago
Nicolas "Pixel" Noble
23df75a970
Copyrights.
9 years ago
Nicolas "Pixel" Noble
c90886096a
Fixing json parsing issues detected by libfuzz.
9 years ago
Nicolas "Pixel" Noble
11c320da08
Increasing json code coverage.
9 years ago
Nicolas "Pixel" Noble
8c593e2e1c
Improving test coverage for json.c (-->100%)
9 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
9 years ago
Craig Tiller
a82950e683
clang-format all core files
9 years ago
Craig Tiller
45724b35e4
indent pass to get logical source lines on one physical line
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Masood Malekghassemi
701af6031f
Expose gpr_asprintf and gpr_strdup
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Nicolas Noble
a7b8b69d23
Addressing security concerns.
...
-) 0x7f (Backspace) isn't a printable character.
-) use sizeof(var) instead of sizeof(type).
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
David Klempner
05fce429e2
Fix a memory leak and a gpr_strdup/free mismatch in json_test
10 years ago
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Nicolas "Pixel" Noble
3c63c0ced3
Adding a few more tests.
10 years ago
Nicolas "Pixel" Noble
08cd92a890
Adding a few more test to improve coverage.
10 years ago
Nicolas Noble
66b5bba25b
Fixing a couple of minor bugs, and adding a few tests.
10 years ago