[Gtest][Latest version 1.8.0 build successfully for all four architechtures - armv7l...
[platform/upstream/gtest.git] / test / gtest_output_test_golden_lin.txt
index a1d342d..2223d56 100755 (executable)
@@ -5,9 +5,9 @@ Value of: false
   Actual: false
 Expected: true
 gtest_output_test_.cc:#: Failure
-Value of: 3
-Expected: 2
-\e[0;32m[==========] \e[mRunning 62 tests from 27 test cases.
+      Expected: 2
+To be equal to: 3
+\e[0;32m[==========] \e[mRunning 66 tests from 29 test cases.
 \e[0;32m[----------] \e[mGlobal test environment set-up.
 FooEnvironment::SetUp() called.
 BarEnvironment::SetUp() called.
@@ -31,20 +31,44 @@ BarEnvironment::SetUp() called.
 \e[0;32m[       OK ] \e[mPassingTest.PassingTest1
 \e[0;32m[ RUN      ] \e[mPassingTest.PassingTest2
 \e[0;32m[       OK ] \e[mPassingTest.PassingTest2
+\e[0;32m[----------] \e[m2 tests from NonfatalFailureTest
+\e[0;32m[ RUN      ] \e[mNonfatalFailureTest.EscapesStringOperands
+gtest_output_test_.cc:#: Failure
+      Expected: kGoldenString
+      Which is: "\"Line"
+To be equal to: actual
+      Which is: "actual \"string\""
+gtest_output_test_.cc:#: Failure
+      Expected: golden
+      Which is: "\"Line"
+To be equal to: actual
+      Which is: "actual \"string\""
+\e[0;31m[  FAILED  ] \e[mNonfatalFailureTest.EscapesStringOperands
+\e[0;32m[ RUN      ] \e[mNonfatalFailureTest.DiffForLongStrings
+gtest_output_test_.cc:#: Failure
+      Expected: golden_str
+      Which is: "\"Line\0 1\"\nLine 2"
+To be equal to: "Line 2"
+With diff:
+@@ -1,2 @@
+-\"Line\0 1\"
+ Line 2
+
+\e[0;31m[  FAILED  ] \e[mNonfatalFailureTest.DiffForLongStrings
 \e[0;32m[----------] \e[m3 tests from FatalFailureTest
 \e[0;32m[ RUN      ] \e[mFatalFailureTest.FatalFailureInSubroutine
 (expecting a failure that x should be 1)
 gtest_output_test_.cc:#: Failure
-Value of: x
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: x
+      Which is: 2
 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInSubroutine
 \e[0;32m[ RUN      ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
 (expecting a failure that x should be 1)
 gtest_output_test_.cc:#: Failure
-Value of: x
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: x
+      Which is: 2
 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
 \e[0;32m[ RUN      ] \e[mFatalFailureTest.NonfatalFailureInSubroutine
 (expecting a failure on false)
@@ -83,39 +107,39 @@ This failure is expected, and shouldn't have a trace.
 \e[0;32m[ RUN      ] \e[mSCOPED_TRACETest.WorksInLoop
 (expected to fail)
 gtest_output_test_.cc:#: Failure
-Value of: n
-  Actual: 1
-Expected: 2
+      Expected: 2
+To be equal to: n
+      Which is: 1
 Google Test trace:
 gtest_output_test_.cc:#: i = 1
 gtest_output_test_.cc:#: Failure
-Value of: n
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: n
+      Which is: 2
 Google Test trace:
 gtest_output_test_.cc:#: i = 2
 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksInLoop
 \e[0;32m[ RUN      ] \e[mSCOPED_TRACETest.WorksInSubroutine
 (expected to fail)
 gtest_output_test_.cc:#: Failure
-Value of: n
-  Actual: 1
-Expected: 2
+      Expected: 2
+To be equal to: n
+      Which is: 1
 Google Test trace:
 gtest_output_test_.cc:#: n = 1
 gtest_output_test_.cc:#: Failure
-Value of: n
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: n
+      Which is: 2
 Google Test trace:
 gtest_output_test_.cc:#: n = 2
 \e[0;31m[  FAILED  ] \e[mSCOPED_TRACETest.WorksInSubroutine
 \e[0;32m[ RUN      ] \e[mSCOPED_TRACETest.CanBeNested
 (expected to fail)
 gtest_output_test_.cc:#: Failure
-Value of: n
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: n
+      Which is: 2
 Google Test trace:
 gtest_output_test_.cc:#: n = 2
 gtest_output_test_.cc:#: 
@@ -413,9 +437,9 @@ Expected: 1 fatal failure
 \e[0;32m[       OK ] \e[mTypedTest/0.Success
 \e[0;32m[ RUN      ] \e[mTypedTest/0.Failure
 gtest_output_test_.cc:#: Failure
-Value of: TypeParam()
-  Actual: 0
-Expected: 1
+      Expected: 1
+To be equal to: TypeParam()
+      Which is: 0
 Expected failure
 \e[0;31m[  FAILED  ] \e[mTypedTest/0.Failure, where TypeParam = int
 \e[0;32m[----------] \e[m2 tests from Unsigned/TypedTestP/0, where TypeParam = unsigned char
@@ -423,10 +447,10 @@ Expected failure
 \e[0;32m[       OK ] \e[mUnsigned/TypedTestP/0.Success
 \e[0;32m[ RUN      ] \e[mUnsigned/TypedTestP/0.Failure
 gtest_output_test_.cc:#: Failure
-Value of: TypeParam()
-  Actual: '\0'
-Expected: 1U
-Which is: 1
+      Expected: 1U
+      Which is: 1
+To be equal to: TypeParam()
+      Which is: '\0'
 Expected failure
 \e[0;31m[  FAILED  ] \e[mUnsigned/TypedTestP/0.Failure, where TypeParam = unsigned char
 \e[0;32m[----------] \e[m2 tests from Unsigned/TypedTestP/1, where TypeParam = unsigned int
@@ -434,10 +458,10 @@ Expected failure
 \e[0;32m[       OK ] \e[mUnsigned/TypedTestP/1.Success
 \e[0;32m[ RUN      ] \e[mUnsigned/TypedTestP/1.Failure
 gtest_output_test_.cc:#: Failure
-Value of: TypeParam()
-  Actual: 0
-Expected: 1U
-Which is: 1
+      Expected: 1U
+      Which is: 1
+To be equal to: TypeParam()
+      Which is: 0
 Expected failure
 \e[0;31m[  FAILED  ] \e[mUnsigned/TypedTestP/1.Failure, where TypeParam = unsigned int
 \e[0;32m[----------] \e[m4 tests from ExpectFailureTest
@@ -573,10 +597,20 @@ Expected non-fatal failure.
 \e[0;32m[----------] \e[m1 test from PrintingFailingParams/FailingParamTest
 \e[0;32m[ RUN      ] \e[mPrintingFailingParams/FailingParamTest.Fails/0
 gtest_output_test_.cc:#: Failure
-Value of: GetParam()
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: GetParam()
+      Which is: 2
 \e[0;31m[  FAILED  ] \e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
+\e[0;32m[----------] \e[m2 tests from PrintingStrings/ParamTest
+\e[0;32m[ RUN      ] \e[mPrintingStrings/ParamTest.Success/a
+\e[0;32m[       OK ] \e[mPrintingStrings/ParamTest.Success/a
+\e[0;32m[ RUN      ] \e[mPrintingStrings/ParamTest.Failure/a
+gtest_output_test_.cc:#: Failure
+      Expected: "b"
+To be equal to: GetParam()
+      Which is: "a"
+Expected failure
+\e[0;31m[  FAILED  ] \e[mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
 \e[0;32m[----------] \e[mGlobal test environment tear-down
 BarEnvironment::TearDown() called.
 gtest_output_test_.cc:#: Failure
@@ -586,9 +620,11 @@ FooEnvironment::TearDown() called.
 gtest_output_test_.cc:#: Failure
 Failed
 Expected fatal failure.
-\e[0;32m[==========] \e[m62 tests from 27 test cases ran.
-\e[0;32m[  PASSED  ] \e[m21 tests.
-\e[0;31m[  FAILED  ] \e[m41 tests, listed below:
+\e[0;32m[==========] \e[m66 tests from 29 test cases ran.
+\e[0;32m[  PASSED  ] \e[m22 tests.
+\e[0;31m[  FAILED  ] \e[m44 tests, listed below:
+\e[0;31m[  FAILED  ] \e[mNonfatalFailureTest.EscapesStringOperands
+\e[0;31m[  FAILED  ] \e[mNonfatalFailureTest.DiffForLongStrings
 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInSubroutine
 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.FatalFailureInNestedSubroutine
 \e[0;31m[  FAILED  ] \e[mFatalFailureTest.NonfatalFailureInSubroutine
@@ -630,8 +666,9 @@ Expected fatal failure.
 \e[0;31m[  FAILED  ] \e[mExpectFailureWithThreadsTest.ExpectNonFatalFailure
 \e[0;31m[  FAILED  ] \e[mScopedFakeTestPartResultReporterTest.InterceptOnlyCurrentThread
 \e[0;31m[  FAILED  ] \e[mPrintingFailingParams/FailingParamTest.Fails/0, where GetParam() = 2
+\e[0;31m[  FAILED  ] \e[mPrintingStrings/ParamTest.Failure/a, where GetParam() = "a"
 
-41 FAILED TESTS
+44 FAILED TESTS
 \e[0;33m  YOU HAVE 1 DISABLED TEST
 
 \e[mNote: Google Test filter = FatalFailureTest.*:LoggingTest.*
@@ -641,16 +678,16 @@ Expected fatal failure.
 [ RUN      ] FatalFailureTest.FatalFailureInSubroutine
 (expecting a failure that x should be 1)
 gtest_output_test_.cc:#: Failure
-Value of: x
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: x
+      Which is: 2
 [  FAILED  ] FatalFailureTest.FatalFailureInSubroutine (? ms)
 [ RUN      ] FatalFailureTest.FatalFailureInNestedSubroutine
 (expecting a failure that x should be 1)
 gtest_output_test_.cc:#: Failure
-Value of: x
-  Actual: 2
-Expected: 1
+      Expected: 1
+To be equal to: x
+      Which is: 2
 [  FAILED  ] FatalFailureTest.FatalFailureInNestedSubroutine (? ms)
 [ RUN      ] FatalFailureTest.NonfatalFailureInSubroutine
 (expecting a failure on false)
@@ -685,8 +722,6 @@ Expected: (3) >= (a[i]), actual: 3 vs 6
 [  FAILED  ] LoggingTest.InterleavingLoggingAndAssertions
 
  4 FAILED TESTS
-  YOU HAVE 1 DISABLED TEST
-
 Note: Google Test filter = *DISABLED_*
 [==========] Running 1 test from 1 test case.
 [----------] Global test environment set-up.
@@ -706,6 +741,3 @@ Note: This is test shard 2 of 2.
 [----------] Global test environment tear-down
 [==========] 1 test from 1 test case ran.
 [  PASSED  ] 1 test.
-
-  YOU HAVE 1 DISABLED TEST
-