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_.c
没有合适的资源?快使用搜索试试~ 我知道了~
gtest_test1111111111111111.zip
共2000个文件
hpp:3150个
h:418个
cc:103个
需积分: 9 0 下载量 161 浏览量
2021-11-27
07:15:09
上传
评论
收藏 25.12MB ZIP 举报
温馨提示
因为pthread stack大小并没有变化。 至于使用CMAKE与不使用CMAKE自动生成makefile所build 的程序运行结果为什么不同,只能猜测也许有个别参数的差异导致两者分别
资源推荐
资源详情
资源评论
收起资源包目录
gtest_test1111111111111111.zip (2000个子文件)
VirtualTable.cpp 10KB
ChainableMockMethodCore.cpp 6KB
ChainableMockMethodContainer.cpp 6KB
MockObjectBase.cpp 6KB
InvocationMocker.cpp 6KB
ChainingMockHelper.cpp 6KB
Formatter.cpp 5KB
MethodIndiceChecker.cpp 4KB
AnyCast.cpp 4KB
ReturnObjectList.cpp 4KB
HookMockObject.cpp 4KB
Result.cpp 4KB
ConstraintSet.cpp 4KB
StubContainer.cpp 4KB
Invocation.cpp 3KB
ChainableMockObject.cpp 3KB
InvocationMockerSet.cpp 3KB
InterfaceInfo.cpp 3KB
PendingMatcher.cpp 3KB
InvocationMockBuilderGetter.cpp 3KB
ChainableMockObjectBase.cpp 3KB
UnixCodeModifier.cpp 3KB
JmpOnlyApiHook.cpp 3KB
StringConstraint.cpp 2KB
ProcStub.cpp 2KB
VirtualTableUtils.cpp 2KB
DecoratedConstraint.cpp 2KB
BeforeMatcher.cpp 2KB
AfterMatcher.cpp 2KB
TypelessConstraintAdapter.cpp 2KB
InvokedAtMost.cpp 2KB
Asserter.cpp 2KB
VoidResultHandler.cpp 2KB
MismatchResultHandler.cpp 2KB
InvokedTimesMatcher.cpp 2KB
JmpCode.cpp 2KB
ApiHookKey.cpp 2KB
RepeatStub.cpp 2KB
InvokedOnce.cpp 2KB
InvokedExactly.cpp 2KB
ExpectsMatcher.cpp 2KB
InvokedAtLeast.cpp 2KB
ChainableMockMethodNameKey.cpp 2KB
ChainableMockMethodIndexKey.cpp 2KB
AnyBase.cpp 2KB
InvocationTimesMatcher.cpp 2KB
ApiHook.cpp 2KB
Exception.cpp 2KB
OutBoundPointer.cpp 2KB
CallerMatcher.cpp 2KB
TestFailureMatcher.cpp 2KB
ReturnStub.cpp 2KB
IgnoreReturnStub.cpp 2KB
IsStringContains.cpp 2KB
TypelessStubAdapter.cpp 2KB
ThenStub.cpp 2KB
WillStub.cpp 1KB
IsStringEndWith.cpp 1KB
Any.cpp 1KB
DefaultStub.cpp 1KB
DieStub.cpp 1KB
NormalResultHandler.cpp 1KB
MismatchResultHandlerFactory.cpp 1KB
DelegatedMethodGetter.cpp 1KB
WinCodeModifier.cpp 1KB
RefAny.cpp 1KB
IsStringStartWith.cpp 1KB
DefaultMatcher.cpp 1KB
SimpleInvocationRecorder.cpp 1KB
StubsMatcher.cpp 1KB
IgnoreResultHandlerFactory.cpp 1KB
NormalResultHandlerFactory.cpp 1KB
VoidResultHandlerFactory.cpp 1KB
AssertionFailedError.cpp 1KB
TypeString.cpp 1KB
gtest_report_failure.cpp 1KB
GlobalMockObject.cpp 1KB
IsAnythingHelper.cpp 1KB
InvocationId.cpp 1KB
IgnoreResultHandler.cpp 1KB
cpputest_report_failure.cpp 1KB
stdexcept_report_failure.cpp 1KB
cppunit_report_failure.cpp 1KB
IdentityBuilder.cpp 1016B
DummyApiHook.cpp 829B
gmock-matchers.h 202KB
gtest.h 92KB
gtest.h 92KB
gtest-port.h 84KB
gtest-port.h 84KB
gmock-spec-builders.h 75KB
gtest-internal.h 60KB
gtest-internal.h 60KB
gmock-actions.h 60KB
gtest-internal-inl.h 46KB
gtest-printers.h 36KB
gtest-printers.h 36KB
gtest-param-util.h 34KB
gtest-param-util.h 34KB
gtest-matchers.h 32KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
资源评论
weixin_40679842
- 粉丝: 18
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功