diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2017-08-14 15:29:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-14 15:29:51 -0700 |
commit | 08b1a1f73cec48481ec3e477e8c247e7aa534df5 (patch) | |
tree | 7d9b6428b2661baf08c8e50bbd9fa2eac6b54816 /googletest/test | |
parent | 3f3a3ada2022a8b4255b408ef5d2ab439e987c08 (diff) | |
parent | e0fc65c5fbfe4e50a0369d032e9b2811b4b7db77 (diff) | |
download | googletest-08b1a1f73cec48481ec3e477e8c247e7aa534df5.tar.gz googletest-08b1a1f73cec48481ec3e477e8c247e7aa534df5.tar.bz2 googletest-08b1a1f73cec48481ec3e477e8c247e7aa534df5.zip |
Merge branch 'master' into master
Diffstat (limited to 'googletest/test')
-rw-r--r-- | googletest/test/gtest-port_test.cc | 2 | ||||
-rwxr-xr-x | googletest/test/gtest_test_utils.py | 2 | ||||
-rw-r--r-- | googletest/test/gtest_unittest.cc | 4 | ||||
-rwxr-xr-x | googletest/test/gtest_xml_outfiles_test.py | 2 | ||||
-rwxr-xr-x | googletest/test/gtest_xml_output_unittest.py | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/googletest/test/gtest-port_test.cc b/googletest/test/gtest-port_test.cc index c5067a40..1d25ee6b 100644 --- a/googletest/test/gtest-port_test.cc +++ b/googletest/test/gtest-port_test.cc @@ -1209,7 +1209,7 @@ class DestructorTracker { : index_(GetNewIndex()) {} ~DestructorTracker() { // We never access DestructorCall::List() concurrently, so we don't need - // to protect this acccess with a mutex. + // to protect this access with a mutex. DestructorCall::List()[index_]->ReportDestroyed(); } diff --git a/googletest/test/gtest_test_utils.py b/googletest/test/gtest_test_utils.py index 4acd36c9..d2b6748d 100755 --- a/googletest/test/gtest_test_utils.py +++ b/googletest/test/gtest_test_utils.py @@ -245,7 +245,7 @@ class Subprocess: p = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=stderr, cwd=working_dir, universal_newlines=True, env=env) - # communicate returns a tuple with the file obect for the child's + # communicate returns a tuple with the file object for the child's # output. self.output = p.communicate()[0] self._return_code = p.returncode diff --git a/googletest/test/gtest_unittest.cc b/googletest/test/gtest_unittest.cc index 7627b880..1d3c7c7a 100644 --- a/googletest/test/gtest_unittest.cc +++ b/googletest/test/gtest_unittest.cc @@ -1388,7 +1388,7 @@ class TestResultTest : public Test { delete r2; } - // Helper that compares two two TestPartResults. + // Helper that compares two TestPartResults. static void CompareTestPartResult(const TestPartResult& expected, const TestPartResult& actual) { EXPECT_EQ(expected.type(), actual.type()); @@ -3689,7 +3689,7 @@ TEST(AssertionTest, ASSERT_EQ) { TEST(AssertionTest, ASSERT_EQ_NULL) { // A success. const char* p = NULL; - // Some older GCC versions may issue a spurious waring in this or the next + // Some older GCC versions may issue a spurious warning in this or the next // assertion statement. This warning should not be suppressed with // static_cast since the test verifies the ability to use bare NULL as the // expected parameter to the macro. diff --git a/googletest/test/gtest_xml_outfiles_test.py b/googletest/test/gtest_xml_outfiles_test.py index 524e437e..678f546c 100755 --- a/googletest/test/gtest_xml_outfiles_test.py +++ b/googletest/test/gtest_xml_outfiles_test.py @@ -105,7 +105,7 @@ class GTestXMLOutFilesTest(gtest_xml_test_utils.GTestXMLTestCase): # TODO(wan@google.com): libtool causes the built test binary to be # named lt-gtest_xml_outfiles_test_ instead of - # gtest_xml_outfiles_test_. To account for this possibillity, we + # gtest_xml_outfiles_test_. To account for this possibility, we # allow both names in the following code. We should remove this # hack when Chandler Carruth's libtool replacement tool is ready. output_file_name1 = test_name + ".xml" diff --git a/googletest/test/gtest_xml_output_unittest.py b/googletest/test/gtest_xml_output_unittest.py index bcd59759..e940a5aa 100755 --- a/googletest/test/gtest_xml_output_unittest.py +++ b/googletest/test/gtest_xml_output_unittest.py @@ -237,7 +237,7 @@ class GTestXMLOutputUnitTest(gtest_xml_test_utils.GTestXMLTestCase): '--shut_down_xml'] p = gtest_test_utils.Subprocess(command) if p.terminated_by_signal: - # p.signal is avalable only if p.terminated_by_signal is True. + # p.signal is available only if p.terminated_by_signal is True. self.assertFalse( p.terminated_by_signal, '%s was killed by signal %d' % (GTEST_PROGRAM_NAME, p.signal)) |