summaryrefslogtreecommitdiffstats
path: root/googletest/test/googletest-output-test-golden-lin.txt
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-04-22 22:23:35 (GMT)
committerMatt Calabrese <calabrese@x.team>2019-04-24 13:34:40 (GMT)
commit84d986531e8df9fb6ea4a7bae8fb130c05b3782c (patch)
tree0b8757a3724c3550765e5efbe34fc40354aa9f75 /googletest/test/googletest-output-test-golden-lin.txt
parenta53e931dcd00c2556ee181d832e699c9f3c29036 (diff)
downloadgoogletest-84d986531e8df9fb6ea4a7bae8fb130c05b3782c.zip
googletest-84d986531e8df9fb6ea4a7bae8fb130c05b3782c.tar.gz
googletest-84d986531e8df9fb6ea4a7bae8fb130c05b3782c.tar.bz2
Googletest export
Add GTEST_FAIL_AT, an equivalent to ADD_FAILURE_AT but that spawns a fatal failure rather than a non-fatal, eg. the equivalent of an ASSERT* failure rather than an EXPECT* failure. PiperOrigin-RevId: 244746609
Diffstat (limited to 'googletest/test/googletest-output-test-golden-lin.txt')
-rw-r--r--googletest/test/googletest-output-test-golden-lin.txt19
1 files changed, 14 insertions, 5 deletions
diff --git a/googletest/test/googletest-output-test-golden-lin.txt b/googletest/test/googletest-output-test-golden-lin.txt
index 29507fc..270b15a 100644
--- a/googletest/test/googletest-output-test-golden-lin.txt
+++ b/googletest/test/googletest-output-test-golden-lin.txt
@@ -12,7 +12,7 @@ Expected equality of these values:
3
Stack trace: (omitted)
-[==========] Running 83 tests from 38 test suites.
+[==========] Running 84 tests from 39 test suites.
[----------] Global test environment set-up.
FooEnvironment::SetUp() called.
BarEnvironment::SetUp() called.
@@ -380,10 +380,18 @@ Stack trace: (omitted)
[ RUN ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
foo.cc:42: Failure
Failed
-Expected failure in foo.cc
+Expected nonfatal failure in foo.cc
Stack trace: (omitted)
[ FAILED ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
+[----------] 1 test from GtestFailAtTest
+[ RUN ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
+foo.cc:42: Failure
+Failed
+Expected fatal failure in foo.cc
+Stack trace: (omitted)
+
+[ FAILED ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
[----------] 4 tests from MixedUpTestSuiteTest
[ RUN ] MixedUpTestSuiteTest.FirstTestFromNamespaceFoo
[ OK ] MixedUpTestSuiteTest.FirstTestFromNamespaceFoo
@@ -984,9 +992,9 @@ Failed
Expected fatal failure.
Stack trace: (omitted)
-[==========] 83 tests from 38 test suites ran.
+[==========] 84 tests from 39 test suites ran.
[ PASSED ] 30 tests.
-[ FAILED ] 53 tests, listed below:
+[ FAILED ] 54 tests, listed below:
[ FAILED ] NonfatalFailureTest.EscapesStringOperands
[ FAILED ] NonfatalFailureTest.DiffForLongStrings
[ FAILED ] FatalFailureTest.FatalFailureInSubroutine
@@ -1006,6 +1014,7 @@ Stack trace: (omitted)
[ FAILED ] NonFatalFailureInSetUpTest.FailureInSetUp
[ FAILED ] FatalFailureInSetUpTest.FailureInSetUp
[ FAILED ] AddFailureAtTest.MessageContainsSpecifiedFileAndLineNumber
+[ FAILED ] GtestFailAtTest.MessageContainsSpecifiedFileAndLineNumber
[ FAILED ] MixedUpTestSuiteTest.ThisShouldFail
[ FAILED ] MixedUpTestSuiteTest.ThisShouldFailToo
[ FAILED ] MixedUpTestSuiteWithSameTestNameTest.TheSecondTestWithThisNameShouldFail
@@ -1041,7 +1050,7 @@ Stack trace: (omitted)
[ FAILED ] PrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
[ FAILED ] PrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
-53 FAILED TESTS
+54 FAILED TESTS
 YOU HAVE 1 DISABLED TEST
Note: Google Test filter = FatalFailureTest.*:LoggingTest.*