mirror of
https://github.com/google/googletest.git
synced 2024-12-27 10:11:03 +08:00
WIP
This commit is contained in:
parent
f63e2a14a2
commit
b3edada290
5
.gitignore
vendored
5
.gitignore
vendored
@ -3,3 +3,8 @@ build/
|
|||||||
xcuserdata
|
xcuserdata
|
||||||
cmake-build-debug/
|
cmake-build-debug/
|
||||||
.idea/
|
.idea/
|
||||||
|
bazel-bin
|
||||||
|
bazel-genfiles
|
||||||
|
bazel-googletest
|
||||||
|
bazel-out
|
||||||
|
bazel-testlogs
|
||||||
|
16
BUILD.bazel
16
BUILD.bazel
@ -86,7 +86,7 @@ cc_library(
|
|||||||
deps = [":gmock"],
|
deps = [":gmock"],
|
||||||
)
|
)
|
||||||
|
|
||||||
"""googletest own tests """
|
"""gtest own tests """
|
||||||
|
|
||||||
#on windows exclude gtest-tuple.h and gtest-tuple_test.cc
|
#on windows exclude gtest-tuple.h and gtest-tuple_test.cc
|
||||||
filegroup(
|
filegroup(
|
||||||
@ -211,7 +211,7 @@ cc_test(
|
|||||||
""" googletest samples"""
|
""" googletest samples"""
|
||||||
|
|
||||||
cc_library(
|
cc_library(
|
||||||
name = "googletest_sample_lib",
|
name = "gtest_sample_lib",
|
||||||
srcs = [
|
srcs = [
|
||||||
"googletest/samples/sample1.cc",
|
"googletest/samples/sample1.cc",
|
||||||
"googletest/samples/sample2.cc",
|
"googletest/samples/sample2.cc",
|
||||||
@ -228,7 +228,7 @@ cc_library(
|
|||||||
)
|
)
|
||||||
|
|
||||||
cc_test(
|
cc_test(
|
||||||
name = "googletest_samples",
|
name = "gtest_samples",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = glob(
|
srcs = glob(
|
||||||
include = [
|
include = [
|
||||||
@ -252,7 +252,7 @@ cc_test(
|
|||||||
"googletest/samples",
|
"googletest/samples",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":googletest_sample_lib",
|
":gtest_sample_lib",
|
||||||
":gtest_main",
|
":gtest_main",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
@ -260,7 +260,7 @@ cc_test(
|
|||||||
""" googletest samples 9 and 10 have their own main()"""
|
""" googletest samples 9 and 10 have their own main()"""
|
||||||
|
|
||||||
cc_test(
|
cc_test(
|
||||||
name = "googletest_sample9",
|
name = "gtest_sample9",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = glob(
|
srcs = glob(
|
||||||
include = [
|
include = [
|
||||||
@ -271,12 +271,12 @@ cc_test(
|
|||||||
"googletest/samples",
|
"googletest/samples",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":gtest",
|
":gtest_main",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
cc_test(
|
cc_test(
|
||||||
name = "googletest_sample10",
|
name = "gtest_sample10",
|
||||||
size = "small",
|
size = "small",
|
||||||
srcs = glob(
|
srcs = glob(
|
||||||
include = [
|
include = [
|
||||||
@ -287,6 +287,6 @@ cc_test(
|
|||||||
"googletest/samples",
|
"googletest/samples",
|
||||||
],
|
],
|
||||||
deps = [
|
deps = [
|
||||||
":gtest",
|
":gtest_main",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user