forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request envoyproxy#5 from chowchow316/add-test
Add unit test.
- Loading branch information
Showing
6 changed files
with
382 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,4 +24,4 @@ install: | |
|
||
script: | ||
- script/check-style | ||
- bazel build :all | ||
- bazel test :all --test_output=errors |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
|
||
cc_library( | ||
name = "googletest", | ||
srcs = [ | ||
"googletest/src/gtest-all.cc", | ||
"googlemock/src/gmock-all.cc", | ||
], | ||
hdrs = glob([ | ||
"googletest/include/**/*.h", | ||
"googlemock/include/**/*.h", | ||
"googletest/src/*.cc", | ||
"googletest/src/*.h", | ||
"googlemock/src/*.cc", | ||
]), | ||
includes = [ | ||
"googlemock", | ||
"googletest", | ||
"googletest/include", | ||
"googlemock/include", | ||
], | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
cc_library( | ||
name = "googletest_main", | ||
srcs = ["googlemock/src/gmock_main.cc"], | ||
visibility = ["//visibility:public"], | ||
deps = [":googletest"], | ||
) |
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
Oops, something went wrong.