Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
1db4a426
Unverified
Commit
1db4a426
authored
Aug 29, 2018
by
Gennadiy Civil
Committed by
GitHub
Aug 29, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into
c370cf06
parents
f1e529a8
3dbba3b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
env-linux.sh
ci/env-linux.sh
+1
-1
env-osx.sh
ci/env-osx.sh
+1
-1
primer.md
googletest/docs/primer.md
+1
-1
No files found.
ci/env-linux.sh
View file @
1db4a426
...
...
@@ -37,5 +37,5 @@
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"linux"
]
;
then
if
[
"
$CXX
"
=
"g++"
]
;
then
export
CXX
=
"g++-4.9"
CC
=
"gcc-4.9"
;
fi
if
[
"
$CXX
"
=
"clang++"
]
;
then
export
CXX
=
"clang++-3.
7"
CC
=
"clang-3.7
"
;
fi
if
[
"
$CXX
"
=
"clang++"
]
;
then
export
CXX
=
"clang++-3.
9"
CC
=
"clang-3.9
"
;
fi
fi
ci/env-osx.sh
View file @
1db4a426
...
...
@@ -36,5 +36,5 @@
# TODO() - we can check if this is being sourced using $BASH_VERSION and $BASH_SOURCE[0] != ${0}.
if
[
"
${
TRAVIS_OS_NAME
}
"
=
"linux"
]
;
then
if
[
"
$CXX
"
=
"clang++"
]
;
then
export
CXX
=
"clang++-3.
7"
CC
=
"clang-3.7
"
;
fi
if
[
"
$CXX
"
=
"clang++"
]
;
then
export
CXX
=
"clang++-3.
9"
CC
=
"clang-3.9
"
;
fi
fi
googletest/docs/primer.md
View file @
1db4a426
...
...
@@ -317,7 +317,7 @@ To create a fixture:
1.
If necessary, write a destructor or
`TearDown()`
function to release any
resources you allocated in
`SetUp()`
. To learn when you should use the
constructor/destructor and when you should use
`SetUp()/TearDown()`
, read
this
[
FAQ
](
faq.md#should-i-use-the-constructordestructor-of-the-test-fixture-or-
the-set-uptear-down-functio
n
)
entry.
this
[
FAQ
](
faq.md#should-i-use-the-constructordestructor-of-the-test-fixture-or-
setupteardow
n
)
entry.
1.
If needed, define subroutines for your tests to share.
When using a fixture, use
`TEST_F()`
instead of
`TEST()`
as it allows you to
...
...
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