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
8977af0e
Commit
8977af0e
authored
May 23, 2018
by
Gennadiy Civil
Browse files
formatting changes
parent
4e4df226
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
googlemock/scripts/generator/README
googlemock/scripts/generator/README
+4
-5
googlemock/test/gmock_test_utils.py
googlemock/test/gmock_test_utils.py
+1
-1
No files found.
googlemock/scripts/generator/README
View file @
8977af0e
The Google Mock class generator is an application that is part of cppclean.
The Google Mock class generator is an application that is part of cppclean.
For more information about cppclean, see the README.cppclean file or
For more information about cppclean, visit http://code.google.com/p/cppclean/
visit http://code.google.com/p/cppclean/
cppclean
requires Python 2.3.5 or later. If you don't have Python
installed
The mock generator
requires Python 2.3.5 or later. If you don't have Python
on your system, you will also need to install it. You can download
Python
installed
on your system, you will also need to install it. You can download
from: http://www.python.org/download/releases/
Python
from: http://www.python.org/download/releases/
To use the Google Mock class generator, you need to call it
To use the Google Mock class generator, you need to call it
on the command line passing the header file and class for which you want
on the command line passing the header file and class for which you want
...
...
googlemock/test/gmock_test_utils.py
View file @
8977af0e
...
@@ -38,7 +38,7 @@ import sys
...
@@ -38,7 +38,7 @@ import sys
SCRIPT_DIR
=
os
.
path
.
dirname
(
__file__
)
or
'.'
SCRIPT_DIR
=
os
.
path
.
dirname
(
__file__
)
or
'.'
# isdir resolves symbolic links.
# isdir resolves symbolic links.
gtest_tests_util_dir
=
os
.
path
.
join
(
SCRIPT_DIR
,
'../googletest/test'
)
gtest_tests_util_dir
=
os
.
path
.
join
(
SCRIPT_DIR
,
'../
../
googletest/test'
)
if
os
.
path
.
isdir
(
gtest_tests_util_dir
):
if
os
.
path
.
isdir
(
gtest_tests_util_dir
):
GTEST_TESTS_UTIL_DIR
=
gtest_tests_util_dir
GTEST_TESTS_UTIL_DIR
=
gtest_tests_util_dir
else
:
else
:
...
...
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