aboutsummaryrefslogtreecommitdiffstats
path: root/test/gmock_test_utils.py
diff options
context:
space:
mode:
authorzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-12-01 19:42:25 +0000
committerzhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386>2009-12-01 19:42:25 +0000
commitf6d6a22b8eea931b49a8c33de3092d4623ed0d41 (patch)
treea0608d2270992b90160a57c68014fb65ade117df /test/gmock_test_utils.py
parent19eb9e9e3d4d5a4f0eee786d7664ca0e45137390 (diff)
downloadgoogletest-f6d6a22b8eea931b49a8c33de3092d4623ed0d41.tar.gz
googletest-f6d6a22b8eea931b49a8c33de3092d4623ed0d41.tar.bz2
googletest-f6d6a22b8eea931b49a8c33de3092d4623ed0d41.zip
Fixes Cygwin compatibility (by Vlad Losev); Improves Python tests (by Vlad Losev); Fixes ambiguous call to implicit_cast; Uses gtest's SkipPrefix() instead gmock's own (by Vlad Losev).
Diffstat (limited to 'test/gmock_test_utils.py')
-rwxr-xr-xtest/gmock_test_utils.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/gmock_test_utils.py b/test/gmock_test_utils.py
index ae15a108..fa896a47 100755
--- a/test/gmock_test_utils.py
+++ b/test/gmock_test_utils.py
@@ -36,6 +36,7 @@ __author__ = 'wan@google.com (Zhanyong Wan)'
import os
import sys
+
# Determines path to gtest_test_utils and imports it.
SCRIPT_DIR = os.path.dirname(__file__) or '.'
@@ -144,8 +145,16 @@ def GetExitStatus(exit_code):
return -1
+# Suppresses the "Invalid const name" lint complaint
+# pylint: disable-msg=C6409
+
# Exposes Subprocess from gtest_test_utils.
-Subprocess = gtest_test_utils.Subprocess # pylint: disable-msg=C6409
+Subprocess = gtest_test_utils.Subprocess
+
+# Exposes TestCase from gtest_test_utils.
+TestCase = gtest_test_utils.TestCase
+
+# pylint: enable-msg=C6409
def Main():