Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

Commit

Permalink
Add mocktracer library. (#47)
Browse files Browse the repository at this point in the history
* 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.
  • Loading branch information
rnburn authored Jan 15, 2018
1 parent a7cbc1a commit 29dc428
Show file tree
Hide file tree
Showing 38 changed files with 15,320 additions and 132 deletions.
20 changes: 20 additions & 0 deletions 3rd_party/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
cc_library(
name = "expected",
hdrs = ["include/opentracing/expected/expected.hpp"],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)

cc_library(
name = "variant",
hdrs = glob(["include/opentracing/variant/*.hpp"]),
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)

cc_library(
name = "catch2",
hdrs = ["include/opentracing/catch2/catch.hpp"],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
)
1,417 changes: 1,417 additions & 0 deletions 3rd_party/include/opentracing/catch2/LICENSE.txt

Large diffs are not rendered by default.

Loading

0 comments on commit 29dc428

Please sign in to comment.