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
3c4f437c
Unverified
Commit
3c4f437c
authored
Aug 15, 2018
by
Gennadiy Civil
Committed by
GitHub
Aug 15, 2018
Browse files
Merge branch 'master' into master
parents
87a37c60
997d343d
Changes
174
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
18 additions
and
44 deletions
+18
-44
googlemock/test/gmock_ex_test.cc
googlemock/test/gmock_ex_test.cc
+1
-2
googlemock/test/gmock_leak_test.py
googlemock/test/gmock_leak_test.py
+0
-2
googlemock/test/gmock_leak_test_.cc
googlemock/test/gmock_leak_test_.cc
+1
-2
googlemock/test/gmock_link2_test.cc
googlemock/test/gmock_link2_test.cc
+1
-2
googlemock/test/gmock_link_test.cc
googlemock/test/gmock_link_test.cc
+1
-2
googlemock/test/gmock_link_test.h
googlemock/test/gmock_link_test.h
+1
-2
googlemock/test/gmock_output_test.py
googlemock/test/gmock_output_test.py
+0
-2
googlemock/test/gmock_output_test_.cc
googlemock/test/gmock_output_test_.cc
+1
-2
googlemock/test/gmock_stress_test.cc
googlemock/test/gmock_stress_test.cc
+1
-2
googlemock/test/gmock_test.cc
googlemock/test/gmock_test.cc
+1
-2
googlemock/test/gmock_test_utils.py
googlemock/test/gmock_test_utils.py
+0
-2
googletest/CMakeLists.txt
googletest/CMakeLists.txt
+3
-3
googletest/include/gtest/gtest-death-test.h
googletest/include/gtest/gtest-death-test.h
+2
-3
googletest/include/gtest/gtest-message.h
googletest/include/gtest/gtest-message.h
+1
-2
googletest/include/gtest/gtest-param-test.h
googletest/include/gtest/gtest-param-test.h
+0
-2
googletest/include/gtest/gtest-param-test.h.pump
googletest/include/gtest/gtest-param-test.h.pump
+0
-2
googletest/include/gtest/gtest-printers.h
googletest/include/gtest/gtest-printers.h
+2
-3
googletest/include/gtest/gtest-spi.h
googletest/include/gtest/gtest-spi.h
+1
-2
googletest/include/gtest/gtest-test-part.h
googletest/include/gtest/gtest-test-part.h
+0
-3
googletest/include/gtest/gtest-typed-test.h
googletest/include/gtest/gtest-typed-test.h
+1
-2
No files found.
googlemock/test/gmock_ex_test.cc
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// Tests Google Mock's functionality that depends on exceptions.
...
...
googlemock/test/gmock_leak_test.py
View file @
3c4f437c
...
...
@@ -31,8 +31,6 @@
"""Tests that leaked mock objects can be caught be Google Mock."""
__author__
=
'wan@google.com (Zhanyong Wan)'
import
gmock_test_utils
PROGRAM_PATH
=
gmock_test_utils
.
GetTestExecutablePath
(
'gmock_leak_test_'
)
...
...
googlemock/test/gmock_leak_test_.cc
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// Google Mock - a framework for writing C++ mock classes.
//
...
...
googlemock/test/gmock_link2_test.cc
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan), vladl@google.com (Vlad Losev)
// Google Mock - a framework for writing C++ mock classes.
//
...
...
googlemock/test/gmock_link_test.cc
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan), vladl@google.com (Vlad Losev)
// Google Mock - a framework for writing C++ mock classes.
//
...
...
googlemock/test/gmock_link_test.h
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: vladl@google.com (Vlad Losev)
// Google Mock - a framework for writing C++ mock classes.
//
...
...
googlemock/test/gmock_output_test.py
View file @
3c4f437c
...
...
@@ -39,8 +39,6 @@ gmock_output_test.py
"""
__author__
=
'wan@google.com (Zhanyong Wan)'
import
os
import
re
import
sys
...
...
googlemock/test/gmock_output_test_.cc
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// Tests Google Mock's output in various scenarios. This ensures that
// Google Mock's messages are readable and useful.
...
...
googlemock/test/gmock_stress_test.cc
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// Tests that Google Mock constructs can be used in a large number of
// threads concurrently.
...
...
googlemock/test/gmock_test.cc
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// Google Mock - a framework for writing C++ mock classes.
//
...
...
googlemock/test/gmock_test_utils.py
View file @
3c4f437c
...
...
@@ -29,8 +29,6 @@
"""Unit test utilities for Google C++ Mocking Framework."""
__author__
=
'wan@google.com (Zhanyong Wan)'
import
os
import
sys
...
...
googletest/CMakeLists.txt
View file @
3c4f437c
...
...
@@ -121,13 +121,13 @@ if(INSTALL_GTEST)
# configure and install pkgconfig files
configure_file
(
cmake/gtest.pc.in
"
${
CMAKE
_BINARY_DIR
}
/gtest.pc"
"
${
gtest
_BINARY_DIR
}
/gtest.pc"
@ONLY
)
configure_file
(
cmake/gtest_main.pc.in
"
${
CMAKE
_BINARY_DIR
}
/gtest_main.pc"
"
${
gtest
_BINARY_DIR
}
/gtest_main.pc"
@ONLY
)
install
(
FILES
"
${
CMAKE
_BINARY_DIR
}
/gtest.pc"
"
${
CMAKE
_BINARY_DIR
}
/gtest_main.pc"
install
(
FILES
"
${
gtest
_BINARY_DIR
}
/gtest.pc"
"
${
gtest
_BINARY_DIR
}
/gtest_main.pc"
DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
/pkgconfig"
)
endif
()
...
...
googletest/include/gtest/gtest-death-test.h
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
//
// The Google C++ Testing and Mocking Framework (Google Test)
//
...
...
@@ -162,7 +161,7 @@ GTEST_API_ bool InDeathTestChild();
// is rarely a problem as people usually don't put the test binary
// directory in PATH.
//
//
TODO(wan@google.com)
: make thread-safe death tests search the PATH.
//
FIXME
: make thread-safe death tests search the PATH.
// Asserts that a given statement causes the program to exit, with an
// integer exit status that satisfies predicate, and emitting error output
...
...
googletest/include/gtest/gtest-message.h
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
//
// The Google C++ Testing and Mocking Framework (Google Test)
//
...
...
googletest/include/gtest/gtest-param-test.h
View file @
3c4f437c
...
...
@@ -31,8 +31,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Authors: vladl@google.com (Vlad Losev)
//
// Macros and functions for implementing parameterized tests
// in Google C++ Testing and Mocking Framework (Google Test)
//
...
...
googletest/include/gtest/gtest-param-test.h.pump
View file @
3c4f437c
...
...
@@ -30,8 +30,6 @@ $var maxtuple = 10 $$ Maximum number of Combine arguments we want to support.
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Authors: vladl@google.com (Vlad Losev)
//
// Macros and functions for implementing parameterized tests
// in Google C++ Testing and Mocking Framework (Google Test)
//
...
...
googletest/include/gtest/gtest-printers.h
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// Google Test - The Google C++ Testing and Mocking Framework
//
...
...
@@ -827,7 +826,7 @@ void UniversalPrintArray(const T* begin, size_t len, ::std::ostream* os) {
// If the array has more than kThreshold elements, we'll have to
// omit some details by printing only the first and the last
// kChunkSize elements.
//
TODO(wan@google.com)
: let the user control the threshold using a flag.
//
FIXME
: let the user control the threshold using a flag.
if
(
len
<=
kThreshold
)
{
PrintRawArrayTo
(
begin
,
len
,
os
);
}
else
{
...
...
googletest/include/gtest/gtest-spi.h
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
//
// Utilities for testing Google Test itself and code that uses Google Test
// (e.g. frameworks built on top of Google Test).
...
...
googletest/include/gtest/gtest-test-part.h
View file @
3c4f437c
...
...
@@ -27,9 +27,6 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: mheule@google.com (Markus Heule)
//
// GOOGLETEST_CM0001 DO NOT DELETE
#ifndef GTEST_INCLUDE_GTEST_GTEST_TEST_PART_H_
...
...
googletest/include/gtest/gtest-typed-test.h
View file @
3c4f437c
...
...
@@ -26,8 +26,7 @@
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
//
// Author: wan@google.com (Zhanyong Wan)
// GOOGLETEST_CM0001 DO NOT DELETE
...
...
Prev
1
2
3
4
5
6
7
…
9
Next
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