Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
b98e30b4
Commit
b98e30b4
authored
Aug 10, 2017
by
misterg
Browse files
Initial Revision, review 164634031
parent
66a03695
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
29 deletions
+3
-29
BUILD.bazel
BUILD.bazel
+2
-1
googlemock/test/BUILD
googlemock/test/BUILD
+0
-25
googletest/samples/sample3_unittest.cc
googletest/samples/sample3_unittest.cc
+1
-1
googletest/test/BUILD.bazel
googletest/test/BUILD.bazel
+0
-2
No files found.
BUILD.bazel
View file @
b98e30b4
...
@@ -121,3 +121,4 @@ cc_test(
...
@@ -121,3 +121,4 @@ cc_test(
":gtest"
,
":gtest"
,
],
],
)
)
git
\ No newline at end of file
googlemock/test/BUILD
deleted
100644 → 0
View file @
66a03695
# Copyright 2017 Google Inc. All Rights Reserved.
# Author: misterg@google.com (Gennadiy Civil)
#
# Description:
# Bazel BUILD file for googletest-googlemock, initial revision
#
""" gmock own tests """
cc_test
(
name
=
"gmock_all_test"
,
size
=
"small"
,
srcs
=
glob
(
include
=
[
"gmock-*.cc"
,
],
),
linkopts
=
select
({
"//:win"
:
[],
"//conditions:default"
:
[
"-pthread"
,
],
}),
deps
=
[
"//:gtest"
],
)
googletest/samples/sample3_unittest.cc
View file @
b98e30b4
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
#include "sample3-inl.h"
#include "sample3-inl.h"
#include "gtest/gtest.h"
#include "gtest/gtest.h"
namespace
{
namespace
{
// To use a test fixture, derive a class from testing::Test.
// To use a test fixture, derive a class from testing::Test.
class
QueueTestSmpl3
:
public
testing
::
Test
{
class
QueueTestSmpl3
:
public
testing
::
Test
{
protected:
// You should make the members protected s.t. they can be
protected:
// You should make the members protected s.t. they can be
...
...
googletest/test/BUILD.bazel
View file @
b98e30b4
...
@@ -112,5 +112,3 @@ cc_test(
...
@@ -112,5 +112,3 @@ cc_test(
"//:gtest"
,
"//:gtest"
,
],
],
)
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment