This repository has been archived by the owner on Jan 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add JSON support to the mock tracer. (#48)
* Filling out mocktracer API. * Fill out StartSpanWithOptions function. * Add Finish method. * Fill out MockSpan methods. * Fill out Log method. * Add catch2. * Convert string_view test cases to use catch2. * Convert value_test to use catch2. * Convert util_test to use catch2. * Remove old testing macro. * Remove custom assert. * Reorganize. * Separate out recorder. * Add InMemoryRecorder. * Add mocktracer_tracer_test. * Add binary propagation functions. * Add other Inject/Extract functions. * Add code to do base64 conversions. * Add other Inject/Extract functions. * Add propagation tests. * Rework mocktracer log functionality. * Make mocktracer library follow BUILD_SHARED_LIBS/BUILD_STATIC_LIBS options. * Make mocktracer build optional. * Don't install catch2 header. * Fix recursive macro warning. * Fix warnings from base64.cpp. * Log errors. * Update clang-format script. * Run clang-format. * Allow MockTracer to be constructed without a recorder. * Add mocktracer to bazel build. * Add mocktracer to bazel build. * Work around gcc-4.9 limitation. * Fix installation path. * Set up functions for json conversion. * Implement ToJson function. * Add json deserialization. * Add test coverage for serialization/deserialization code. * Add additional serialization/deserialization coverage. * Run clang-format. * Add JsonRecorder. * Add JsonRecorder. * Comment mocktracer. * Update exception specification. * Use inline namespace with vendored libraries. * Correct typo.
- Loading branch information
Showing
20 changed files
with
14,533 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.