Initial Revision, review 164634031
This commit is contained in:
parent
66a036959f
commit
b98e30b427
|
@ -120,4 +120,5 @@ cc_test(
|
||||||
deps = [
|
deps = [
|
||||||
":gtest",
|
":gtest",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
git
|
|
@ -1,25 +0,0 @@
|
||||||
# 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"],
|
|
||||||
)
|
|
|
@ -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
|
||||||
|
|
|
@ -112,5 +112,3 @@ cc_test(
|
||||||
"//:gtest",
|
"//:gtest",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user