summaryrefslogtreecommitdiffstats
path: root/googlemock/test/BUILD.bazel
diff options
context:
space:
mode:
authorConor Burgess <Burgess.Conor@gmail.com>2018-02-12 17:35:07 (GMT)
committerGitHub <noreply@github.com>2018-02-12 17:35:07 (GMT)
commitf11a8f9131584cf4009eca8af8a66e920c1b7391 (patch)
tree06cf7b6488c5980a90bcc355f186047f8b5a16c0 /googlemock/test/BUILD.bazel
parent27bb844e5c31a0a67b7b4864ffb2b80ae2803882 (diff)
parent15392f1a38fa0b8c3f13a9732e94b209069efa1c (diff)
downloadgoogletest-f11a8f9131584cf4009eca8af8a66e920c1b7391.zip
googletest-f11a8f9131584cf4009eca8af8a66e920c1b7391.tar.gz
googletest-f11a8f9131584cf4009eca8af8a66e920c1b7391.tar.bz2
Merge branch 'master' into fix-argc
Diffstat (limited to 'googlemock/test/BUILD.bazel')
-rw-r--r--googlemock/test/BUILD.bazel72
1 files changed, 70 insertions, 2 deletions
diff --git a/googlemock/test/BUILD.bazel b/googlemock/test/BUILD.bazel
index 4c2df9e..0fe72a6 100644
--- a/googlemock/test/BUILD.bazel
+++ b/googlemock/test/BUILD.bazel
@@ -1,4 +1,4 @@
-# Copyright 2017 Google Inc.
+# Copyright 2017 Google Inc.
# All Rights Reserved.
#
#
@@ -29,7 +29,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Author: misterg@google.com (Gennadiy Civil)
-#
+#
# Bazel Build for Google C++ Testing Framework(Google Test)-googlemock
licenses(["notice"])
@@ -53,3 +53,71 @@ cc_test(
}),
deps = ["//:gtest"],
)
+
+# Py tests
+
+py_library(
+ name = "gmock_test_utils",
+ testonly = 1,
+ srcs = ["gmock_test_utils.py"],
+)
+
+cc_binary(
+ name = "gmock_leak_test_",
+ testonly = 1,
+ srcs = ["gmock_leak_test_.cc"],
+ deps = [
+ "//:gtest_main",
+ ],
+)
+
+py_test(
+ name = "gmock_leak_test",
+ size = "medium",
+ srcs = ["gmock_leak_test.py"],
+ data = [
+ ":gmock_leak_test_",
+ ":gmock_test_utils",
+ ],
+)
+
+cc_test(
+ name = "gmock_link_test",
+ size = "small",
+ srcs = [
+ "gmock_link2_test.cc",
+ "gmock_link_test.cc",
+ "gmock_link_test.h",
+ ],
+ deps = [
+ "//:gtest_main",
+ ],
+)
+
+cc_binary(
+ name = "gmock_output_test_",
+ srcs = ["gmock_output_test_.cc"],
+ deps = [
+ "//:gtest",
+ ],
+)
+
+py_test(
+ name = "gmock_output_test",
+ size = "medium",
+ srcs = ["gmock_output_test.py"],
+ data = [
+ ":gmock_output_test_",
+ ":gmock_output_test_golden.txt",
+ ],
+ deps = [":gmock_test_utils"],
+)
+
+cc_test(
+ name = "gmock_test",
+ size = "small",
+ srcs = ["gmock_test.cc"],
+ deps = [
+ "//:gtest_main",
+ ],
+)