You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running tests for googletest 1.15.2 and I see one failure (test results with self.maxDiff = None):
55/63 Test: googletest-output-test
Command: "/usr/bin/python3.9" "/data/builds/oi-userland/components/developer/googletest/googletest-1.15.2/googletest/test/googletest-output-test.py" "--build_dir=/data/builds/oi-userland/components/developer/googletest/build/amd64/googletest" "--no_stacktrace_support"
Directory: /data/builds/oi-userland/components/developer/googletest/build/amd64/googletest
"googletest-output-test" start time: Feb 07 02:17 CET
Output:
----------------------------------------------------------
F
======================================================================
FAIL: testOutput (__main__.GTestOutputTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/data/builds/oi-userland/components/developer/googletest/googletest-1.15.2/googletest/test/googletest-output-test.py", line 363, in testOutput
self.assertEqual(normalized_golden, normalized_actual)
AssertionError: 'The [29182 chars]class, so mixing TEST_F and TEST in the same t[13923 chars]s.\n' != 'The [29182 chars]class. However, in test suite BadDynamicFixtu[14000 chars]s.\n'
The non-test part of the code is expected to have 2 failures.
googletest-output-test_.cc:#: Failure
Value of: false
Actual: false
Expected: true
googletest-output-test_.cc:#: Failure
Expected equality of these values:
2
3
^[[0;32m[==========] ^[[mRunning 90 tests from 43 test suites.
^[[0;32m[----------] ^[[mGlobal test environment set-up.
FooEnvironment::SetUp() called.
BarEnvironment::SetUp() called.
[... snip ...]
DynamicFixture::TearDown
~DynamicFixture()
^[[0;32m[ OK ] ^[[mBadDynamicFixture1.FixtureBase
^[[0;32m[ RUN ] ^[[mBadDynamicFixture1.TestBase
DynamicFixture()
gtest.cc:#: Failure
Failed
All tests in the same test suite must use the same test fixture
- class, so mixing TEST_F and TEST in the same test suite is
- illegal. In test suite BadDynamicFixture1,
- test FixtureBase is defined using TEST_F but
- test TestBase is defined using TEST. You probably
- want to change the TEST to TEST_F or move it to another test
- case.
+ class. However, in test suite BadDynamicFixture1,
+ you defined test FixtureBase and test TestBase
+ using two different test fixture classes. This can happen if
+ the two classes are from different namespaces or translation
+ units and have the same name. You should probably rename one
+ of the classes to put the tests into different test suites.
~DynamicFixture()
^[[0;31m[ FAILED ] ^[[mBadDynamicFixture1.TestBase
DynamicFixture::TearDownTestSuite
^[[0;32m[----------] ^[[m? tests from BadDynamicFixture2
DynamicFixture::SetUpTestSuite
^[[0;32m[ RUN ] ^[[mBadDynamicFixture2.FixtureBase
DynamicFixture()
[... snip ...]
Describe the issue
I'm running tests for googletest 1.15.2 and I see one failure (test results with
self.maxDiff = None
):Steps to reproduce the problem
Run tests on OpenIndiana.
What version of GoogleTest are you using?
1.15.2
What operating system and version are you using?
OpenIndiana Hipster
What compiler and version are you using?
What build system are you using?
Additional context
No response
The text was updated successfully, but these errors were encountered: