Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
40904f89
Unverified
Commit
40904f89
authored
Jul 25, 2018
by
Gennadiy Civil
Committed by
GitHub
Jul 25, 2018
Browse files
Merge pull request #1684 from gennadiycivil/master
Formatting changes, code sync
parents
78b49242
ed1edf64
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
7 deletions
+5
-7
googlemock/test/gmock_stress_test.cc
googlemock/test/gmock_stress_test.cc
+1
-2
googletest/include/gtest/internal/gtest-string.h
googletest/include/gtest/internal/gtest-string.h
+1
-2
googletest/test/gtest_prod_test.cc
googletest/test/gtest_prod_test.cc
+1
-1
googletest/test/gtest_unittest.cc
googletest/test/gtest_unittest.cc
+2
-2
No files found.
googlemock/test/gmock_stress_test.cc
View file @
40904f89
...
@@ -33,13 +33,12 @@
...
@@ -33,13 +33,12 @@
// threads concurrently.
// threads concurrently.
#include "gmock/gmock.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "gtest/gtest.h"
namespace
testing
{
namespace
testing
{
namespace
{
namespace
{
// From
"gtest/internal/
gtest-port.h
"
.
// From gtest-port.h.
using
::
testing
::
internal
::
ThreadWithParam
;
using
::
testing
::
internal
::
ThreadWithParam
;
// The maximum number of test threads (not including helper threads)
// The maximum number of test threads (not including helper threads)
...
...
googletest/include/gtest/internal/gtest-string.h
View file @
40904f89
...
@@ -34,8 +34,7 @@
...
@@ -34,8 +34,7 @@
// Google Test. They are subject to change without notice. They should not used
// Google Test. They are subject to change without notice. They should not used
// by code external to Google Test.
// by code external to Google Test.
//
//
// This header file is #included by
// This header file is #included by gtest-internal.h.
// gtest/internal/gtest-internal.h.
// It should not be #included by other files.
// It should not be #included by other files.
#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
#ifndef GTEST_INCLUDE_GTEST_INTERNAL_GTEST_STRING_H_
...
...
googletest/test/gtest_prod_test.cc
View file @
40904f89
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
//
//
// Author: wan@google.com (Zhanyong Wan)
// Author: wan@google.com (Zhanyong Wan)
//
//
// Unit test for
gtest/
gtest_prod.h.
// Unit test for gtest_prod.h.
#include "production.h"
#include "production.h"
#include "gtest/gtest.h"
#include "gtest/gtest.h"
...
...
googletest/test/gtest_unittest.cc
View file @
40904f89
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
#include "gtest/gtest.h"
#include "gtest/gtest.h"
// Verifies that the command line flag variables can be accessed in
// Verifies that the command line flag variables can be accessed in
// code once "gtest
/gtest
.h" has been
// code once "gtest.h" has been
#included.
//
#included.
Do not move it after other gtest #includes.
// Do not move it after other gtest #includes.
TEST
(
CommandLineFlagsTest
,
CanBeAccessedInCodeOnceGTestHIsIncluded
)
{
TEST
(
CommandLineFlagsTest
,
CanBeAccessedInCodeOnceGTestHIsIncluded
)
{
bool
dummy
=
testing
::
GTEST_FLAG
(
also_run_disabled_tests
)
bool
dummy
=
testing
::
GTEST_FLAG
(
also_run_disabled_tests
)
||
testing
::
GTEST_FLAG
(
break_on_failure
)
||
testing
::
GTEST_FLAG
(
break_on_failure
)
...
...
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