12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196 |
- 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
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 2
- 3
- Stack trace: (omitted)
- [0;32m[==========] [mRunning 89 tests from 42 test suites.
- [0;32m[----------] [mGlobal test environment set-up.
- FooEnvironment::SetUp() called.
- BarEnvironment::SetUp() called.
- [0;32m[----------] [m1 test from ADeathTest
- [0;32m[ RUN ] [mADeathTest.ShouldRunFirst
- [0;32m[ OK ] [mADeathTest.ShouldRunFirst
- [0;32m[----------] [m1 test from ATypedDeathTest/0, where TypeParam = int
- [0;32m[ RUN ] [mATypedDeathTest/0.ShouldRunFirst
- [0;32m[ OK ] [mATypedDeathTest/0.ShouldRunFirst
- [0;32m[----------] [m1 test from ATypedDeathTest/1, where TypeParam = double
- [0;32m[ RUN ] [mATypedDeathTest/1.ShouldRunFirst
- [0;32m[ OK ] [mATypedDeathTest/1.ShouldRunFirst
- [0;32m[----------] [m1 test from My/ATypeParamDeathTest/0, where TypeParam = int
- [0;32m[ RUN ] [mMy/ATypeParamDeathTest/0.ShouldRunFirst
- [0;32m[ OK ] [mMy/ATypeParamDeathTest/0.ShouldRunFirst
- [0;32m[----------] [m1 test from My/ATypeParamDeathTest/1, where TypeParam = double
- [0;32m[ RUN ] [mMy/ATypeParamDeathTest/1.ShouldRunFirst
- [0;32m[ OK ] [mMy/ATypeParamDeathTest/1.ShouldRunFirst
- [0;32m[----------] [m2 tests from PassingTest
- [0;32m[ RUN ] [mPassingTest.PassingTest1
- [0;32m[ OK ] [mPassingTest.PassingTest1
- [0;32m[ RUN ] [mPassingTest.PassingTest2
- [0;32m[ OK ] [mPassingTest.PassingTest2
- [0;32m[----------] [m2 tests from NonfatalFailureTest
- [0;32m[ RUN ] [mNonfatalFailureTest.EscapesStringOperands
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- kGoldenString
- Which is: "\"Line"
- actual
- Which is: "actual \"string\""
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- golden
- Which is: "\"Line"
- actual
- Which is: "actual \"string\""
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mNonfatalFailureTest.EscapesStringOperands
- [0;32m[ RUN ] [mNonfatalFailureTest.DiffForLongStrings
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- golden_str
- Which is: "\"Line\0 1\"\nLine 2"
- "Line 2"
- With diff:
- @@ -1,2 @@
- -\"Line\0 1\"
- Line 2
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mNonfatalFailureTest.DiffForLongStrings
- [0;32m[----------] [m3 tests from FatalFailureTest
- [0;32m[ RUN ] [mFatalFailureTest.FatalFailureInSubroutine
- (expecting a failure that x should be 1)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- x
- Which is: 2
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInSubroutine
- [0;32m[ RUN ] [mFatalFailureTest.FatalFailureInNestedSubroutine
- (expecting a failure that x should be 1)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- x
- Which is: 2
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInNestedSubroutine
- [0;32m[ RUN ] [mFatalFailureTest.NonfatalFailureInSubroutine
- (expecting a failure on false)
- googletest-output-test_.cc:#: Failure
- Value of: false
- Actual: false
- Expected: true
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mFatalFailureTest.NonfatalFailureInSubroutine
- [0;32m[----------] [m1 test from LoggingTest
- [0;32m[ RUN ] [mLoggingTest.InterleavingLoggingAndAssertions
- (expecting 2 failures on (3) >= (a[i]))
- i == 0
- i == 1
- googletest-output-test_.cc:#: Failure
- Expected: (3) >= (a[i]), actual: 3 vs 9
- Stack trace: (omitted)
- i == 2
- i == 3
- googletest-output-test_.cc:#: Failure
- Expected: (3) >= (a[i]), actual: 3 vs 6
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mLoggingTest.InterleavingLoggingAndAssertions
- [0;32m[----------] [m7 tests from SCOPED_TRACETest
- [0;32m[ RUN ] [mSCOPED_TRACETest.AcceptedValues
- googletest-output-test_.cc:#: Failure
- Failed
- Just checking that all these values work fine.
- Google Test trace:
- googletest-output-test_.cc:#: (null)
- googletest-output-test_.cc:#: 1337
- googletest-output-test_.cc:#: std::string
- googletest-output-test_.cc:#: literal string
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mSCOPED_TRACETest.AcceptedValues
- [0;32m[ RUN ] [mSCOPED_TRACETest.ObeysScopes
- (expected to fail)
- googletest-output-test_.cc:#: Failure
- Failed
- This failure is expected, and shouldn't have a trace.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- This failure is expected, and should have a trace.
- Google Test trace:
- googletest-output-test_.cc:#: Expected trace
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- This failure is expected, and shouldn't have a trace.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mSCOPED_TRACETest.ObeysScopes
- [0;32m[ RUN ] [mSCOPED_TRACETest.WorksInLoop
- (expected to fail)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 2
- n
- Which is: 1
- Google Test trace:
- googletest-output-test_.cc:#: i = 1
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- n
- Which is: 2
- Google Test trace:
- googletest-output-test_.cc:#: i = 2
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInLoop
- [0;32m[ RUN ] [mSCOPED_TRACETest.WorksInSubroutine
- (expected to fail)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 2
- n
- Which is: 1
- Google Test trace:
- googletest-output-test_.cc:#: n = 1
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- n
- Which is: 2
- Google Test trace:
- googletest-output-test_.cc:#: n = 2
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInSubroutine
- [0;32m[ RUN ] [mSCOPED_TRACETest.CanBeNested
- (expected to fail)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- n
- Which is: 2
- Google Test trace:
- googletest-output-test_.cc:#: n = 2
- googletest-output-test_.cc:#:
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeNested
- [0;32m[ RUN ] [mSCOPED_TRACETest.CanBeRepeated
- (expected to fail)
- googletest-output-test_.cc:#: Failure
- Failed
- This failure is expected, and should contain trace point A.
- Google Test trace:
- googletest-output-test_.cc:#: A
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- This failure is expected, and should contain trace point A and B.
- Google Test trace:
- googletest-output-test_.cc:#: B
- googletest-output-test_.cc:#: A
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- This failure is expected, and should contain trace point A, B, and C.
- Google Test trace:
- googletest-output-test_.cc:#: C
- googletest-output-test_.cc:#: B
- googletest-output-test_.cc:#: A
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- This failure is expected, and should contain trace point A, B, and D.
- Google Test trace:
- googletest-output-test_.cc:#: D
- googletest-output-test_.cc:#: B
- googletest-output-test_.cc:#: A
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeRepeated
- [0;32m[ RUN ] [mSCOPED_TRACETest.WorksConcurrently
- (expecting 6 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #1 (in thread B, only trace B alive).
- Google Test trace:
- googletest-output-test_.cc:#: Trace B
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #2 (in thread A, trace A & B both alive).
- Google Test trace:
- googletest-output-test_.cc:#: Trace A
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #3 (in thread B, trace A & B both alive).
- Google Test trace:
- googletest-output-test_.cc:#: Trace B
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #4 (in thread B, only trace A alive).
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #5 (in thread A, only trace A alive).
- Google Test trace:
- googletest-output-test_.cc:#: Trace A
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #6 (in thread A, no trace alive).
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mSCOPED_TRACETest.WorksConcurrently
- [0;32m[----------] [m1 test from ScopedTraceTest
- [0;32m[ RUN ] [mScopedTraceTest.WithExplicitFileAndLine
- googletest-output-test_.cc:#: Failure
- Failed
- Check that the trace is attached to a particular location.
- Google Test trace:
- explicit_file.cc:123: expected trace message
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mScopedTraceTest.WithExplicitFileAndLine
- [0;32m[----------] [m1 test from NonFatalFailureInFixtureConstructorTest
- [0;32m[ RUN ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
- (expecting 5 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #1, in the test fixture c'tor.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #2, in SetUp().
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #3, in the test body.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #4, in TearDown.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #5, in the test fixture d'tor.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
- [0;32m[----------] [m1 test from FatalFailureInFixtureConstructorTest
- [0;32m[ RUN ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
- (expecting 2 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #1, in the test fixture c'tor.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #2, in the test fixture d'tor.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
- [0;32m[----------] [m1 test from NonFatalFailureInSetUpTest
- [0;32m[ RUN ] [mNonFatalFailureInSetUpTest.FailureInSetUp
- (expecting 4 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #1, in SetUp().
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #2, in the test function.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #3, in TearDown().
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #4, in the test fixture d'tor.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mNonFatalFailureInSetUpTest.FailureInSetUp
- [0;32m[----------] [m1 test from FatalFailureInSetUpTest
- [0;32m[ RUN ] [mFatalFailureInSetUpTest.FailureInSetUp
- (expecting 3 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #1, in SetUp().
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #2, in TearDown().
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected failure #3, in the test fixture d'tor.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mFatalFailureInSetUpTest.FailureInSetUp
- [0;32m[----------] [m1 test from AddFailureAtTest
- [0;32m[ RUN ] [mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
- foo.cc:42: Failure
- Failed
- Expected nonfatal failure in foo.cc
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
- [0;32m[----------] [m1 test from GtestFailAtTest
- [0;32m[ RUN ] [mGtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
- foo.cc:42: Failure
- Failed
- Expected fatal failure in foo.cc
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mGtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
- [0;32m[----------] [m4 tests from MixedUpTestSuiteTest
- [0;32m[ RUN ] [mMixedUpTestSuiteTest.FirstTestFromNamespaceFoo
- [0;32m[ OK ] [mMixedUpTestSuiteTest.FirstTestFromNamespaceFoo
- [0;32m[ RUN ] [mMixedUpTestSuiteTest.SecondTestFromNamespaceFoo
- [0;32m[ OK ] [mMixedUpTestSuiteTest.SecondTestFromNamespaceFoo
- [0;32m[ RUN ] [mMixedUpTestSuiteTest.ThisShouldFail
- gtest.cc:#: Failure
- Failed
- All tests in the same test suite must use the same test fixture
- class. However, in test suite MixedUpTestSuiteTest,
- you defined test FirstTestFromNamespaceFoo and test ThisShouldFail
- 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.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mMixedUpTestSuiteTest.ThisShouldFail
- [0;32m[ RUN ] [mMixedUpTestSuiteTest.ThisShouldFailToo
- gtest.cc:#: Failure
- Failed
- All tests in the same test suite must use the same test fixture
- class. However, in test suite MixedUpTestSuiteTest,
- you defined test FirstTestFromNamespaceFoo and test ThisShouldFailToo
- 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.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mMixedUpTestSuiteTest.ThisShouldFailToo
- [0;32m[----------] [m2 tests from MixedUpTestSuiteWithSameTestNameTest
- [0;32m[ RUN ] [mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
- [0;32m[ OK ] [mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
- [0;32m[ RUN ] [mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
- gtest.cc:#: Failure
- Failed
- All tests in the same test suite must use the same test fixture
- class. However, in test suite MixedUpTestSuiteWithSameTestNameTest,
- you defined test TheSecondTestWithThisNameShouldFail and test TheSecondTestWithThisNameShouldFail
- 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.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
- [0;32m[----------] [m2 tests from TEST_F_before_TEST_in_same_test_case
- [0;32m[ RUN ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
- [0;32m[ OK ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTEST_F
- [0;32m[ RUN ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
- 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 TEST_F_before_TEST_in_same_test_case,
- test DefinedUsingTEST_F is defined using TEST_F but
- test DefinedUsingTESTAndShouldFail is defined using TEST. You probably
- want to change the TEST to TEST_F or move it to another test
- case.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
- [0;32m[----------] [m2 tests from TEST_before_TEST_F_in_same_test_case
- [0;32m[ RUN ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
- [0;32m[ OK ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST
- [0;32m[ RUN ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
- 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 TEST_before_TEST_F_in_same_test_case,
- test DefinedUsingTEST_FAndShouldFail is defined using TEST_F but
- test DefinedUsingTEST is defined using TEST. You probably
- want to change the TEST to TEST_F or move it to another test
- case.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
- [0;32m[----------] [m8 tests from ExpectNonfatalFailureTest
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.CanReferenceGlobalVariables
- [0;32m[ OK ] [mExpectNonfatalFailureTest.CanReferenceGlobalVariables
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.CanReferenceLocalVariables
- [0;32m[ OK ] [mExpectNonfatalFailureTest.CanReferenceLocalVariables
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
- [0;32m[ OK ] [mExpectNonfatalFailureTest.SucceedsWhenThereIsOneNonfatalFailure
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual: 2 failures
- googletest-output-test_.cc:#: Non-fatal failure:
- Failed
- Expected non-fatal failure 1.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Non-fatal failure:
- Failed
- Expected non-fatal failure 2.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual:
- googletest-output-test_.cc:#: Fatal failure:
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
- [0;32m[ RUN ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
- [0;32m[----------] [m8 tests from ExpectFatalFailureTest
- [0;32m[ RUN ] [mExpectFatalFailureTest.CanReferenceGlobalVariables
- [0;32m[ OK ] [mExpectFatalFailureTest.CanReferenceGlobalVariables
- [0;32m[ RUN ] [mExpectFatalFailureTest.CanReferenceLocalStaticVariables
- [0;32m[ OK ] [mExpectFatalFailureTest.CanReferenceLocalStaticVariables
- [0;32m[ RUN ] [mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
- [0;32m[ OK ] [mExpectFatalFailureTest.SucceedsWhenThereIsOneFatalFailure
- [0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
- [0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual: 2 failures
- googletest-output-test_.cc:#: Fatal failure:
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Fatal failure:
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
- [0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual:
- googletest-output-test_.cc:#: Non-fatal failure:
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
- [0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenStatementReturns
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementReturns
- [0;32m[ RUN ] [mExpectFatalFailureTest.FailsWhenStatementThrows
- (expecting a failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementThrows
- [0;32m[----------] [m2 tests from TypedTest/0, where TypeParam = int
- [0;32m[ RUN ] [mTypedTest/0.Success
- [0;32m[ OK ] [mTypedTest/0.Success
- [0;32m[ RUN ] [mTypedTest/0.Failure
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- TypeParam()
- Which is: 0
- Expected failure
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mTypedTest/0.Failure, where TypeParam = int
- [0;32m[----------] [m2 tests from TypedTestWithNames/char0, where TypeParam = char
- [0;32m[ RUN ] [mTypedTestWithNames/char0.Success
- [0;32m[ OK ] [mTypedTestWithNames/char0.Success
- [0;32m[ RUN ] [mTypedTestWithNames/char0.Failure
- googletest-output-test_.cc:#: Failure
- Failed
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mTypedTestWithNames/char0.Failure, where TypeParam = char
- [0;32m[----------] [m2 tests from TypedTestWithNames/int1, where TypeParam = int
- [0;32m[ RUN ] [mTypedTestWithNames/int1.Success
- [0;32m[ OK ] [mTypedTestWithNames/int1.Success
- [0;32m[ RUN ] [mTypedTestWithNames/int1.Failure
- googletest-output-test_.cc:#: Failure
- Failed
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mTypedTestWithNames/int1.Failure, where TypeParam = int
- [0;32m[----------] [m2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
- [0;32m[ RUN ] [mUnsigned/TypedTestP/0.Success
- [0;32m[ OK ] [mUnsigned/TypedTestP/0.Success
- [0;32m[ RUN ] [mUnsigned/TypedTestP/0.Failure
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1U
- Which is: 1
- TypeParam()
- Which is: '\0'
- Expected failure
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
- [0;32m[----------] [m2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
- [0;32m[ RUN ] [mUnsigned/TypedTestP/1.Success
- [0;32m[ OK ] [mUnsigned/TypedTestP/1.Success
- [0;32m[ RUN ] [mUnsigned/TypedTestP/1.Failure
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1U
- Which is: 1
- TypeParam()
- Which is: 0
- Expected failure
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
- [0;32m[----------] [m2 tests from UnsignedCustomName/TypedTestP/unsignedChar0, where TypeParam = unsigned char
- [0;32m[ RUN ] [mUnsignedCustomName/TypedTestP/unsignedChar0.Success
- [0;32m[ OK ] [mUnsignedCustomName/TypedTestP/unsignedChar0.Success
- [0;32m[ RUN ] [mUnsignedCustomName/TypedTestP/unsignedChar0.Failure
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1U
- Which is: 1
- TypeParam()
- Which is: '\0'
- Expected failure
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mUnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
- [0;32m[----------] [m2 tests from UnsignedCustomName/TypedTestP/unsignedInt1, where TypeParam = unsigned int
- [0;32m[ RUN ] [mUnsignedCustomName/TypedTestP/unsignedInt1.Success
- [0;32m[ OK ] [mUnsignedCustomName/TypedTestP/unsignedInt1.Success
- [0;32m[ RUN ] [mUnsignedCustomName/TypedTestP/unsignedInt1.Failure
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1U
- Which is: 1
- TypeParam()
- Which is: 0
- Expected failure
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mUnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
- [0;32m[----------] [m4 tests from ExpectFailureTest
- [0;32m[ RUN ] [mExpectFailureTest.ExpectFatalFailure
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual:
- googletest-output-test_.cc:#: Success:
- Succeeded
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual:
- googletest-output-test_.cc:#: Non-fatal failure:
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure containing "Some other fatal failure expected."
- Actual:
- googletest-output-test_.cc:#: Fatal failure:
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailure
- [0;32m[ RUN ] [mExpectFailureTest.ExpectNonFatalFailure
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual:
- googletest-output-test_.cc:#: Success:
- Succeeded
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual:
- googletest-output-test_.cc:#: Fatal failure:
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure containing "Some other non-fatal failure."
- Actual:
- googletest-output-test_.cc:#: Non-fatal failure:
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailure
- [0;32m[ RUN ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual:
- googletest-output-test_.cc:#: Success:
- Succeeded
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual:
- googletest-output-test_.cc:#: Non-fatal failure:
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 fatal failure containing "Some other fatal failure expected."
- Actual:
- googletest-output-test_.cc:#: Fatal failure:
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
- [0;32m[ RUN ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual:
- googletest-output-test_.cc:#: Success:
- Succeeded
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual:
- googletest-output-test_.cc:#: Fatal failure:
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- (expecting 1 failure)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure containing "Some other non-fatal failure."
- Actual:
- googletest-output-test_.cc:#: Non-fatal failure:
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
- [0;32m[----------] [m2 tests from ExpectFailureWithThreadsTest
- [0;32m[ RUN ] [mExpectFailureWithThreadsTest.ExpectFatalFailure
- (expecting 2 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- gtest.cc:#: Failure
- Expected: 1 fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectFatalFailure
- [0;32m[ RUN ] [mExpectFailureWithThreadsTest.ExpectNonFatalFailure
- (expecting 2 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- gtest.cc:#: Failure
- Expected: 1 non-fatal failure
- Actual: 0 failures
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectNonFatalFailure
- [0;32m[----------] [m1 test from ScopedFakeTestPartResultReporterTest
- [0;32m[ RUN ] [mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
- (expecting 2 failures)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- googletest-output-test_.cc:#: Failure
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
- [0;32m[----------] [m2 tests from DynamicFixture
- DynamicFixture::SetUpTestSuite
- [0;32m[ RUN ] [mDynamicFixture.DynamicTestPass
- DynamicFixture()
- DynamicFixture::SetUp
- DynamicFixture::TearDown
- ~DynamicFixture()
- [0;32m[ OK ] [mDynamicFixture.DynamicTestPass
- [0;32m[ RUN ] [mDynamicFixture.DynamicTestFail
- DynamicFixture()
- DynamicFixture::SetUp
- googletest-output-test_.cc:#: Failure
- Value of: Pass
- Actual: false
- Expected: true
- Stack trace: (omitted)
- DynamicFixture::TearDown
- ~DynamicFixture()
- [0;31m[ FAILED ] [mDynamicFixture.DynamicTestFail
- DynamicFixture::TearDownTestSuite
- [0;32m[----------] [m1 test from DynamicFixtureAnotherName
- DynamicFixture::SetUpTestSuite
- [0;32m[ RUN ] [mDynamicFixtureAnotherName.DynamicTestPass
- DynamicFixture()
- DynamicFixture::SetUp
- DynamicFixture::TearDown
- ~DynamicFixture()
- [0;32m[ OK ] [mDynamicFixtureAnotherName.DynamicTestPass
- DynamicFixture::TearDownTestSuite
- [0;32m[----------] [m2 tests from BadDynamicFixture1
- DynamicFixture::SetUpTestSuite
- [0;32m[ RUN ] [mBadDynamicFixture1.FixtureBase
- DynamicFixture()
- DynamicFixture::SetUp
- 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.
- Stack trace: (omitted)
- ~DynamicFixture()
- [0;31m[ FAILED ] [mBadDynamicFixture1.TestBase
- DynamicFixture::TearDownTestSuite
- [0;32m[----------] [m2 tests from BadDynamicFixture2
- DynamicFixture::SetUpTestSuite
- [0;32m[ RUN ] [mBadDynamicFixture2.FixtureBase
- DynamicFixture()
- DynamicFixture::SetUp
- DynamicFixture::TearDown
- ~DynamicFixture()
- [0;32m[ OK ] [mBadDynamicFixture2.FixtureBase
- [0;32m[ RUN ] [mBadDynamicFixture2.Derived
- DynamicFixture()
- gtest.cc:#: Failure
- Failed
- All tests in the same test suite must use the same test fixture
- class. However, in test suite BadDynamicFixture2,
- you defined test FixtureBase and test Derived
- 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.
- Stack trace: (omitted)
- ~DynamicFixture()
- [0;31m[ FAILED ] [mBadDynamicFixture2.Derived
- DynamicFixture::TearDownTestSuite
- [0;32m[----------] [m1 test from TestSuiteThatFailsToSetUp
- googletest-output-test_.cc:#: Failure
- Value of: false
- Actual: false
- Expected: true
- Stack trace: (omitted)
- [0;32m[ RUN ] [mTestSuiteThatFailsToSetUp.ShouldNotRun
- googletest-output-test_.cc:#: Skipped
- [0;32m[ SKIPPED ] [mTestSuiteThatFailsToSetUp.ShouldNotRun
- [0;32m[----------] [m1 test from PrintingFailingParams/FailingParamTest
- [0;32m[ RUN ] [mPrintingFailingParams/FailingParamTest.Fails/0
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- GetParam()
- Which is: 2
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
- [0;32m[----------] [m1 test from EmptyBasenameParamInst
- [0;32m[ RUN ] [mEmptyBasenameParamInst.Passes/0
- [0;32m[ OK ] [mEmptyBasenameParamInst.Passes/0
- [0;32m[----------] [m2 tests from PrintingStrings/ParamTest
- [0;32m[ RUN ] [mPrintingStrings/ParamTest.Success/a
- [0;32m[ OK ] [mPrintingStrings/ParamTest.Success/a
- [0;32m[ RUN ] [mPrintingStrings/ParamTest.Failure/a
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- "b"
- GetParam()
- Which is: "a"
- Expected failure
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
- [0;32m[----------] [m3 tests from GoogleTestVerification
- [0;32m[ RUN ] [mGoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
- googletest-output-test_.cc:#: Failure
- Parameterized test suite NoTests is instantiated via INSTANTIATE_TEST_SUITE_P, but no tests are defined via TEST_P . No test cases will run.
- Ideally, INSTANTIATE_TEST_SUITE_P should only ever be invoked from code that always depend on code that provides TEST_P. Failing to do so is often an indication of dead code, e.g. the last TEST_P was removed but the rest got left behind.
- To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
- GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(NoTests);
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mGoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
- [0;32m[ RUN ] [mGoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
- googletest-output-test_.cc:#: Failure
- Parameterized test suite DetectNotInstantiatedTest is defined via TEST_P, but never instantiated. None of the test cases will run. Either no INSTANTIATE_TEST_SUITE_P is provided or the only ones provided expand to nothing.
- Ideally, TEST_P definitions should only ever be included as part of binaries that intend to use them. (As opposed to, for example, being placed in a library that may be linked in to get other utilities.)
- To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
- GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTest);
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mGoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
- [0;32m[ RUN ] [mGoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
- googletest-output-test_.cc:#: Failure
- Type parameterized test suite DetectNotInstantiatedTypesTest is defined via REGISTER_TYPED_TEST_SUITE_P, but never instantiated via INSTANTIATE_TYPED_TEST_SUITE_P. None of the test cases will run.
- Ideally, TYPED_TEST_P definitions should only ever be included as part of binaries that intend to use them. (As opposed to, for example, being placed in a library that may be linked in to get other utilities.)
- To suppress this error for this test suite, insert the following line (in a non-header) in the namespace it is defined in:
- GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(DetectNotInstantiatedTypesTest);
- Stack trace: (omitted)
- [0;31m[ FAILED ] [mGoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
- [0;32m[----------] [mGlobal test environment tear-down
- BarEnvironment::TearDown() called.
- googletest-output-test_.cc:#: Failure
- Failed
- Expected non-fatal failure.
- Stack trace: (omitted)
- FooEnvironment::TearDown() called.
- googletest-output-test_.cc:#: Failure
- Failed
- Expected fatal failure.
- Stack trace: (omitted)
- [0;32m[==========] [m89 tests from 42 test suites ran.
- [0;32m[ PASSED ] [m31 tests.
- [0;32m[ SKIPPED ] [m1 test, listed below:
- [0;32m[ SKIPPED ] [mTestSuiteThatFailsToSetUp.ShouldNotRun
- [0;31m[ FAILED ] [m57 tests, listed below:
- [0;31m[ FAILED ] [mNonfatalFailureTest.EscapesStringOperands
- [0;31m[ FAILED ] [mNonfatalFailureTest.DiffForLongStrings
- [0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInSubroutine
- [0;31m[ FAILED ] [mFatalFailureTest.FatalFailureInNestedSubroutine
- [0;31m[ FAILED ] [mFatalFailureTest.NonfatalFailureInSubroutine
- [0;31m[ FAILED ] [mLoggingTest.InterleavingLoggingAndAssertions
- [0;31m[ FAILED ] [mSCOPED_TRACETest.AcceptedValues
- [0;31m[ FAILED ] [mSCOPED_TRACETest.ObeysScopes
- [0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInLoop
- [0;31m[ FAILED ] [mSCOPED_TRACETest.WorksInSubroutine
- [0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeNested
- [0;31m[ FAILED ] [mSCOPED_TRACETest.CanBeRepeated
- [0;31m[ FAILED ] [mSCOPED_TRACETest.WorksConcurrently
- [0;31m[ FAILED ] [mScopedTraceTest.WithExplicitFileAndLine
- [0;31m[ FAILED ] [mNonFatalFailureInFixtureConstructorTest.FailureInConstructor
- [0;31m[ FAILED ] [mFatalFailureInFixtureConstructorTest.FailureInConstructor
- [0;31m[ FAILED ] [mNonFatalFailureInSetUpTest.FailureInSetUp
- [0;31m[ FAILED ] [mFatalFailureInSetUpTest.FailureInSetUp
- [0;31m[ FAILED ] [mAddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
- [0;31m[ FAILED ] [mGtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
- [0;31m[ FAILED ] [mMixedUpTestSuiteTest.ThisShouldFail
- [0;31m[ FAILED ] [mMixedUpTestSuiteTest.ThisShouldFailToo
- [0;31m[ FAILED ] [mMixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
- [0;31m[ FAILED ] [mTEST_F_before_TEST_in_same_test_case.DefinedUsingTESTAndShouldFail
- [0;31m[ FAILED ] [mTEST_before_TEST_F_in_same_test_case.DefinedUsingTEST_FAndShouldFail
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsNoNonfatalFailure
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereAreTwoNonfatalFailures
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenThereIsOneFatalFailure
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementReturns
- [0;31m[ FAILED ] [mExpectNonfatalFailureTest.FailsWhenStatementThrows
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsNoFatalFailure
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereAreTwoFatalFailures
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenThereIsOneNonfatalFailure
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementReturns
- [0;31m[ FAILED ] [mExpectFatalFailureTest.FailsWhenStatementThrows
- [0;31m[ FAILED ] [mTypedTest/0.Failure, where TypeParam = int
- [0;31m[ FAILED ] [mTypedTestWithNames/char0.Failure, where TypeParam = char
- [0;31m[ FAILED ] [mTypedTestWithNames/int1.Failure, where TypeParam = int
- [0;31m[ FAILED ] [mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
- [0;31m[ FAILED ] [mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
- [0;31m[ FAILED ] [mUnsignedCustomName/TypedTestP/unsignedChar0.Failure, where TypeParam = unsigned char
- [0;31m[ FAILED ] [mUnsignedCustomName/TypedTestP/unsignedInt1.Failure, where TypeParam = unsigned int
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailure
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailure
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectFatalFailureOnAllThreads
- [0;31m[ FAILED ] [mExpectFailureTest.ExpectNonFatalFailureOnAllThreads
- [0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectFatalFailure
- [0;31m[ FAILED ] [mExpectFailureWithThreadsTest.ExpectNonFatalFailure
- [0;31m[ FAILED ] [mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
- [0;31m[ FAILED ] [mDynamicFixture.DynamicTestFail
- [0;31m[ FAILED ] [mBadDynamicFixture1.TestBase
- [0;31m[ FAILED ] [mBadDynamicFixture2.Derived
- [0;31m[ FAILED ] [mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
- [0;31m[ FAILED ] [mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
- [0;31m[ FAILED ] [mGoogleTestVerification.UninstantiatedParameterizedTestSuite<NoTests>
- [0;31m[ FAILED ] [mGoogleTestVerification.UninstantiatedParameterizedTestSuite<DetectNotInstantiatedTest>
- [0;31m[ FAILED ] [mGoogleTestVerification.UninstantiatedTypeParameterizedTestSuite<DetectNotInstantiatedTypesTest>
- 57 FAILED TESTS
- [0;31m[ FAILED ] [mTestSuiteThatFailsToSetUp: SetUpTestSuite or TearDownTestSuite
- 1 FAILED TEST SUITE
- [0;33m YOU HAVE 1 DISABLED TEST
- [mNote: Google Test filter = FatalFailureTest.*:LoggingTest.*
- [==========] Running 4 tests from 2 test suites.
- [----------] Global test environment set-up.
- [----------] 3 tests from FatalFailureTest
- [ RUN ] FatalFailureTest.FatalFailureInSubroutine
- (expecting a failure that x should be 1)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- x
- Which is: 2
- Stack trace: (omitted)
- [ FAILED ] FatalFailureTest.FatalFailureInSubroutine (? ms)
- [ RUN ] FatalFailureTest.FatalFailureInNestedSubroutine
- (expecting a failure that x should be 1)
- googletest-output-test_.cc:#: Failure
- Expected equality of these values:
- 1
- x
- Which is: 2
- Stack trace: (omitted)
- [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
- [ RUN ] FatalFailureTest.NonfatalFailureInSubroutine
- (expecting a failure on false)
- googletest-output-test_.cc:#: Failure
- Value of: false
- Actual: false
- Expected: true
- Stack trace: (omitted)
- [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine (? ms)
- [----------] 3 tests from FatalFailureTest (? ms total)
- [----------] 1 test from LoggingTest
- [ RUN ] LoggingTest.InterleavingLoggingAndAssertions
- (expecting 2 failures on (3) >= (a[i]))
- i == 0
- i == 1
- googletest-output-test_.cc:#: Failure
- Expected: (3) >= (a[i]), actual: 3 vs 9
- Stack trace: (omitted)
- i == 2
- i == 3
- googletest-output-test_.cc:#: Failure
- Expected: (3) >= (a[i]), actual: 3 vs 6
- Stack trace: (omitted)
- [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions (? ms)
- [----------] 1 test from LoggingTest (? ms total)
- [----------] Global test environment tear-down
- [==========] 4 tests from 2 test suites ran. (? ms total)
- [ PASSED ] 0 tests.
- [ FAILED ] 4 tests, listed below:
- [ FAILED ] FatalFailureTest.FatalFailureInSubroutine
- [ FAILED ] FatalFailureTest.FatalFailureInNestedSubroutine
- [ FAILED ] FatalFailureTest.NonfatalFailureInSubroutine
- [ FAILED ] LoggingTest.InterleavingLoggingAndAssertions
- 4 FAILED TESTS
- Note: Google Test filter = *DISABLED_*
- [==========] Running 1 test from 1 test suite.
- [----------] Global test environment set-up.
- [----------] 1 test from DisabledTestsWarningTest
- [ RUN ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
- [ OK ] DisabledTestsWarningTest.DISABLED_AlsoRunDisabledTestsFlagSuppressesWarning
- [----------] Global test environment tear-down
- [==========] 1 test from 1 test suite ran.
- [ PASSED ] 1 test.
- Note: Google Test filter = PassingTest.*
- Note: This is test shard 2 of 2.
- [==========] Running 1 test from 1 test suite.
- [----------] Global test environment set-up.
- [----------] 1 test from PassingTest
- [ RUN ] PassingTest.PassingTest2
- [ OK ] PassingTest.PassingTest2
- [----------] Global test environment tear-down
- [==========] 1 test from 1 test suite ran.
- [ PASSED ] 1 test.
|