Lines Matching refs:TEST

120 TEST(MockMethodTest, CanInstantiateWithIncompleteArgType) {
202 TEST(OnCallSyntaxTest, CompilesWithMethodNameExpandedFromMacro) {
209 TEST(OnCallSyntaxTest, WorksWithMethodNameExpandedFromMacro) {
216 TEST(ExpectCallSyntaxTest, CompilesWithMethodNameExpandedFromMacro) {
223 TEST(ExpectCallSyntaxTest, WorksWithMethodNameExpandedFromMacro) {
233 TEST(OnCallSyntaxTest, EvaluatesFirstArgumentOnce) {
241 TEST(OnCallSyntaxTest, EvaluatesSecondArgumentOnce) {
251 TEST(OnCallSyntaxTest, WithIsOptional) {
261 TEST(OnCallSyntaxTest, WithCanAppearAtMostOnce) {
272 TEST(OnCallSyntaxTest, WillByDefaultIsMandatory) {
281 TEST(OnCallSyntaxTest, WillByDefaultCanAppearAtMostOnce) {
293 TEST(ExpectCallSyntaxTest, EvaluatesFirstArgumentOnce) {
302 TEST(ExpectCallSyntaxTest, EvaluatesSecondArgumentOnce) {
313 TEST(ExpectCallSyntaxTest, WithIsOptional) {
323 TEST(ExpectCallSyntaxTest, WithCanAppearAtMostOnce) {
335 TEST(ExpectCallSyntaxTest, WithMustBeFirstClause) {
355 TEST(ExpectCallSyntaxTest, TimesCanBeInferred) {
370 TEST(ExpectCallSyntaxTest, TimesCanAppearAtMostOnce) {
383 TEST(ExpectCallSyntaxTest, TimesMustBeBeforeInSequence) {
396 TEST(ExpectCallSyntaxTest, InSequenceIsOptional) {
408 TEST(ExpectCallSyntaxTest, InSequenceCanAppearMultipleTimes) {
419 TEST(ExpectCallSyntaxTest, InSequenceMustBeBeforeAfter) {
434 TEST(ExpectCallSyntaxTest, InSequenceMustBeBeforeWillOnce) {
447 TEST(ExpectCallSyntaxTest, AfterMustBeBeforeWillOnce) {
461 TEST(ExpectCallSyntaxTest, WillIsOptional) {
472 TEST(ExpectCallSyntaxTest, WillCanAppearMultipleTimes) {
482 TEST(ExpectCallSyntaxTest, WillMustBeBeforeWillRepeatedly) {
494 TEST(ExpectCallSyntaxTest, WillRepeatedlyIsOptional) {
508 TEST(ExpectCallSyntaxTest, WillRepeatedlyCannotAppearMultipleTimes) {
519 TEST(ExpectCallSyntaxTest, WillRepeatedlyMustBeBeforeRetiresOnSaturation) {
529 TEST(ExpectCallSyntaxTest, RetiresOnSaturationIsOptional) {
540 TEST(ExpectCallSyntaxTest, RetiresOnSaturationCannotAppearMultipleTimes) {
552 TEST(ExpectCallSyntaxTest, DefaultCardinalityIsOnce) {
574 TEST(ExpectCallSyntaxTest, DoesNotWarnOnAdequateActionCount) {
610 TEST(ExpectCallSyntaxTest, WarnsOnTooManyActions) {
676 TEST(ExpectCallSyntaxTest, WarnsOnTooFewActions) {
701 TEST(OnCallTest, TakesBuiltInDefaultActionWhenNoOnCall) {
710 TEST(OnCallTest, TakesBuiltInDefaultActionWhenNoOnCallMatches) {
720 TEST(OnCallTest, PicksLastMatchingOnCall) {
736 TEST(ExpectCallTest, AllowsAnyCallWhenNoSpec) {
749 TEST(ExpectCallTest, PicksLastMatchingExpectCall) {
760 TEST(ExpectCallTest, CatchesTooFewCalls) {
774 TEST(ExpectCallTest, InfersCardinalityWhenThereIsNoWillRepeatedly) {
806 TEST(ExpectCallTest, InfersCardinality1WhenThereIsWillRepeatedly) {
837 TEST(ExpectCallTest, NthMatchTakesNthAction) {
851 TEST(ExpectCallTest, TakesRepeatedActionWhenWillListIsExhausted) {
866 TEST(ExpectCallTest, TakesDefaultActionWhenWillListIsExhausted) {
897 TEST(FunctionMockerMessageTest, ReportsExpectCallLocationForExhausedActions) {
911 TEST(FunctionMockerMessageTest,
927 TEST(UninterestingCallTest, DoesDefaultAction) {
942 TEST(UnexpectedCallTest, DoesDefaultAction) {
968 TEST(UnexpectedCallTest, GeneratesFailureForVoidFunction) {
1017 TEST(UnexpectedCallTest, GeneartesFailureForNonVoidFunction) {
1037 TEST(UnexpectedCallTest, RetiredExpectation) {
1051 TEST(UnexpectedCallTest, UnmatchedArguments) {
1064 TEST(UnexpectedCallTest, UnsatisifiedPrerequisites) {
1119 TEST(UndefinedReturnValueTest,
1134 TEST(ExcessiveCallTest, DoesDefaultAction) {
1160 TEST(ExcessiveCallTest, GeneratesFailureForVoidFunction) {
1174 TEST(ExcessiveCallTest, GeneratesFailureForNonVoidFunction) {
1190 TEST(InSequenceTest, AllExpectationInScopeAreInSequence) {
1207 TEST(InSequenceTest, NestedInSequence) {
1230 TEST(InSequenceTest, ExpectationsOutOfScopeAreNotAffected) {
1250 TEST(SequenceTest, AnyOrderIsOkByDefault) {
1278 TEST(SequenceTest, CallsMustBeInStrictOrderWhenSaidSo1) {
1302 TEST(SequenceTest, CallsMustBeInStrictOrderWhenSaidSo2) {
1390 TEST(SequenceTest, Retirement) {
1409 TEST(ExpectationTest, ConstrutorsWork) {
1441 TEST(ExpectationTest, AssignmentWorks) {
1456 TEST(ExpectationSetTest, MemberTypesAreCorrect) {
1460 TEST(ExpectationSetTest, ConstructorsWork) {
1489 TEST(ExpectationSetTest, AssignmentWorks) {
1499 TEST(ExpectationSetTest, InsertionWorks) {
1519 TEST(ExpectationSetTest, SizeWorks) {
1533 TEST(ExpectationSetTest, IsEnumerable) {
1547 TEST(AfterTest, SucceedsWhenPartialOrderIsSatisfied) {
1560 TEST(AfterTest, SucceedsWhenTotalOrderIsSatisfied) {
1578 TEST(AfterTest, CallsMustBeInStrictOrderWhenSpecifiedSo1) {
1600 TEST(AfterTest, CallsMustBeInStrictOrderWhenSpecifiedSo2) {
1624 TEST(AfterTest, CallsMustSatisfyPartialOrderWhenSpecifiedSo) {
1646 TEST(AfterTest, CallsMustSatisfyPartialOrderWhenSpecifiedSo2) {
1667 TEST(AfterTest, CanBeUsedWithInSequence) {
1686 TEST(AfterTest, CanBeCalledManyTimes) {
1703 TEST(AfterTest, AcceptsUpToFiveArguments) {
1722 TEST(AfterTest, AcceptsDuplicatedInput) {
1749 TEST(AfterTest, ChangesToExpectationSetHaveNoEffectAfterwards) {
1766 TEST(DeletingMockEarlyTest, Success1) {
1794 TEST(DeletingMockEarlyTest, Success2) {
1832 TEST(DeletingMockEarlyTest, CanDeleteSelfInActionReturningVoid) {
1838 TEST(DeletingMockEarlyTest, CanDeleteSelfInActionReturningValue) {
1846 TEST(DeletingMockEarlyTest, Failure1) {
1872 TEST(DeletingMockEarlyTest, Failure2) {
1918 TEST(ExpectationBaseTest,
1983 TEST(FunctionCallMessageTest,
1997 TEST(FunctionCallMessageTest,
2028 TEST(FunctionCallMessageTest,
2232 TEST(AllowLeakTest, AllowsLeakingUnusedMockObject) {
2237 TEST(AllowLeakTest, CanBeCalledBeforeOnCall) {
2244 TEST(AllowLeakTest, CanBeCalledAfterOnCall) {
2250 TEST(AllowLeakTest, CanBeCalledBeforeExpectCall) {
2257 TEST(AllowLeakTest, CanBeCalledAfterExpectCall) {
2263 TEST(AllowLeakTest, WorksWhenBothOnCallAndExpectCallArePresent) {
2272 TEST(VerifyAndClearExpectationsTest, NoMethodHasExpectations) {
2285 TEST(VerifyAndClearExpectationsTest, SomeMethodsHaveExpectationsAndSucceed) {
2301 TEST(VerifyAndClearExpectationsTest, SomeMethodsHaveExpectationsAndFail) {
2318 TEST(VerifyAndClearExpectationsTest, AllMethodsHaveExpectations) {
2336 TEST(VerifyAndClearExpectationsTest, AMethodHasManyExpectations) {
2356 TEST(VerifyAndClearExpectationsTest, CanCallManyTimes) {
2376 TEST(VerifyAndClearTest, NoMethodHasDefaultActions) {
2385 TEST(VerifyAndClearTest, SomeMethodsHaveDefaultActions) {
2398 TEST(VerifyAndClearTest, AllMethodsHaveDefaultActions) {
2416 TEST(VerifyAndClearTest, AMethodHasManyDefaultActions) {
2433 TEST(VerifyAndClearTest, CanCallManyTimes) {
2449 TEST(VerifyAndClearTest, Success) {
2467 TEST(VerifyAndClearTest, Failure) {
2488 TEST(VerifyAndClearTest, Const) {
2509 TEST(VerifyAndClearTest, CanSetDefaultActionsAndExpectationsAfterwards) {
2530 TEST(VerifyAndClearTest, DoesNotAffectOtherMockObjects) {
2562 TEST(VerifyAndClearTest,
2582 TEST(VerifyAndClearTest,
2607 TEST(SynchronizationTest, CanCallMockMethodInAction) {