Home | History | Annotate | Download | only in test
      1 [ RUN      ] GMockOutputTest.ExpectedCall
      2 
      3 FILE:#: EXPECT_CALL(foo_, Bar2(0, _)) invoked
      4 Stack trace:
      5 
      6 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar2(0, _))...
      7     Function call: Bar2(0, 0)
      8           Returns: false
      9 Stack trace:
     10 [       OK ] GMockOutputTest.ExpectedCall
     11 [ RUN      ] GMockOutputTest.ExpectedCallToVoidFunction
     12 
     13 FILE:#: EXPECT_CALL(foo_, Bar3(0, _)) invoked
     14 Stack trace:
     15 
     16 FILE:#: Mock function call matches EXPECT_CALL(foo_, Bar3(0, _))...
     17     Function call: Bar3(0, 0)
     18 Stack trace:
     19 [       OK ] GMockOutputTest.ExpectedCallToVoidFunction
     20 [ RUN      ] GMockOutputTest.ExplicitActionsRunOut
     21 
     22 GMOCK WARNING:
     23 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
     24 Expected to be called twice, but has only 1 WillOnce().
     25 GMOCK WARNING:
     26 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
     27 Called 2 times, but only 1 WillOnce() is specified - returning default value.
     28 Stack trace:
     29 [       OK ] GMockOutputTest.ExplicitActionsRunOut
     30 [ RUN      ] GMockOutputTest.UnexpectedCall
     31 unknown file: Failure
     32 
     33 Unexpected mock function call - returning default value.
     34     Function call: Bar2(1, 0)
     35           Returns: false
     36 Google Mock tried the following 1 expectation, but it didn't match:
     37 
     38 FILE:#: EXPECT_CALL(foo_, Bar2(0, _))...
     39   Expected arg #0: is equal to 0
     40            Actual: 1
     41          Expected: to be called once
     42            Actual: never called - unsatisfied and active
     43 [  FAILED  ] GMockOutputTest.UnexpectedCall
     44 [ RUN      ] GMockOutputTest.UnexpectedCallToVoidFunction
     45 unknown file: Failure
     46 
     47 Unexpected mock function call - returning directly.
     48     Function call: Bar3(1, 0)
     49 Google Mock tried the following 1 expectation, but it didn't match:
     50 
     51 FILE:#: EXPECT_CALL(foo_, Bar3(0, _))...
     52   Expected arg #0: is equal to 0
     53            Actual: 1
     54          Expected: to be called once
     55            Actual: never called - unsatisfied and active
     56 [  FAILED  ] GMockOutputTest.UnexpectedCallToVoidFunction
     57 [ RUN      ] GMockOutputTest.ExcessiveCall
     58 FILE:#: Failure
     59 Mock function called more times than expected - returning default value.
     60     Function call: Bar2(0, 1)
     61           Returns: false
     62          Expected: to be called once
     63            Actual: called twice - over-saturated and active
     64 [  FAILED  ] GMockOutputTest.ExcessiveCall
     65 [ RUN      ] GMockOutputTest.ExcessiveCallToVoidFunction
     66 FILE:#: Failure
     67 Mock function called more times than expected - returning directly.
     68     Function call: Bar3(0, 1)
     69          Expected: to be called once
     70            Actual: called twice - over-saturated and active
     71 [  FAILED  ] GMockOutputTest.ExcessiveCallToVoidFunction
     72 [ RUN      ] GMockOutputTest.UninterestingCall
     73 
     74 GMOCK WARNING:
     75 Uninteresting mock function call - returning default value.
     76     Function call: Bar2(0, 1)
     77           Returns: false
     78 Stack trace:
     79 [       OK ] GMockOutputTest.UninterestingCall
     80 [ RUN      ] GMockOutputTest.UninterestingCallToVoidFunction
     81 
     82 GMOCK WARNING:
     83 Uninteresting mock function call - returning directly.
     84     Function call: Bar3(0, 1)
     85 Stack trace:
     86 [       OK ] GMockOutputTest.UninterestingCallToVoidFunction
     87 [ RUN      ] GMockOutputTest.RetiredExpectation
     88 unknown file: Failure
     89 
     90 Unexpected mock function call - returning default value.
     91     Function call: Bar2(1, 1)
     92           Returns: false
     93 Google Mock tried the following 2 expectations, but none matched:
     94 
     95 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(_, _))...
     96          Expected: the expectation is active
     97            Actual: it is retired
     98          Expected: to be called once
     99            Actual: called once - saturated and retired
    100 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(0, 0))...
    101   Expected arg #0: is equal to 0
    102            Actual: 1
    103   Expected arg #1: is equal to 0
    104            Actual: 1
    105          Expected: to be called once
    106            Actual: never called - unsatisfied and active
    107 [  FAILED  ] GMockOutputTest.RetiredExpectation
    108 [ RUN      ] GMockOutputTest.UnsatisfiedPrerequisite
    109 unknown file: Failure
    110 
    111 Unexpected mock function call - returning default value.
    112     Function call: Bar2(1, 0)
    113           Returns: false
    114 Google Mock tried the following 2 expectations, but none matched:
    115 
    116 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
    117   Expected arg #0: is equal to 0
    118            Actual: 1
    119          Expected: to be called once
    120            Actual: never called - unsatisfied and active
    121 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
    122          Expected: all pre-requisites are satisfied
    123            Actual: the following immediate pre-requisites are not satisfied:
    124 FILE:#: pre-requisite #0
    125                    (end of pre-requisites)
    126          Expected: to be called once
    127            Actual: never called - unsatisfied and active
    128 [  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisite
    129 [ RUN      ] GMockOutputTest.UnsatisfiedPrerequisites
    130 unknown file: Failure
    131 
    132 Unexpected mock function call - returning default value.
    133     Function call: Bar2(1, 0)
    134           Returns: false
    135 Google Mock tried the following 2 expectations, but none matched:
    136 
    137 FILE:#: tried expectation #0: EXPECT_CALL(foo_, Bar2(0, 0))...
    138   Expected arg #0: is equal to 0
    139            Actual: 1
    140          Expected: to be called once
    141            Actual: never called - unsatisfied and active
    142 FILE:#: tried expectation #1: EXPECT_CALL(foo_, Bar2(1, _))...
    143          Expected: all pre-requisites are satisfied
    144            Actual: the following immediate pre-requisites are not satisfied:
    145 FILE:#: pre-requisite #0
    146 FILE:#: pre-requisite #1
    147                    (end of pre-requisites)
    148          Expected: to be called once
    149            Actual: never called - unsatisfied and active
    150 [  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisites
    151 [ RUN      ] GMockOutputTest.UnsatisfiedWith
    152 FILE:#: Failure
    153 Actual function call count doesn't match EXPECT_CALL(foo_, Bar2(_, _))...
    154     Expected args: are a pair where the first >= the second
    155          Expected: to be called once
    156            Actual: never called - unsatisfied and active
    157 [  FAILED  ] GMockOutputTest.UnsatisfiedWith
    158 [ RUN      ] GMockOutputTest.UnsatisfiedExpectation
    159 FILE:#: Failure
    160 Actual function call count doesn't match EXPECT_CALL(foo_, Bar2(0, _))...
    161          Expected: to be called twice
    162            Actual: called once - unsatisfied and active
    163 FILE:#: Failure
    164 Actual function call count doesn't match EXPECT_CALL(foo_, Bar(_, _, _))...
    165          Expected: to be called once
    166            Actual: never called - unsatisfied and active
    167 [  FAILED  ] GMockOutputTest.UnsatisfiedExpectation
    168 [ RUN      ] GMockOutputTest.MismatchArguments
    169 unknown file: Failure
    170 
    171 Unexpected mock function call - returning default value.
    172     Function call: Bar(@0x# "Ho", 0, -0.1)
    173           Returns: '\0'
    174 Google Mock tried the following 1 expectation, but it didn't match:
    175 
    176 FILE:#: EXPECT_CALL(foo_, Bar(Ref(s), _, Ge(0)))...
    177   Expected arg #0: references the variable @0x# "Hi"
    178            Actual: "Ho", which is located @0x#
    179   Expected arg #2: is >= 0
    180            Actual: -0.1
    181          Expected: to be called once
    182            Actual: never called - unsatisfied and active
    183 [  FAILED  ] GMockOutputTest.MismatchArguments
    184 [ RUN      ] GMockOutputTest.MismatchWith
    185 unknown file: Failure
    186 
    187 Unexpected mock function call - returning default value.
    188     Function call: Bar2(2, 3)
    189           Returns: false
    190 Google Mock tried the following 1 expectation, but it didn't match:
    191 
    192 FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
    193     Expected args: are a pair where the first >= the second
    194            Actual: don't match
    195          Expected: to be called once
    196            Actual: never called - unsatisfied and active
    197 [  FAILED  ] GMockOutputTest.MismatchWith
    198 [ RUN      ] GMockOutputTest.MismatchArgumentsAndWith
    199 unknown file: Failure
    200 
    201 Unexpected mock function call - returning default value.
    202     Function call: Bar2(1, 3)
    203           Returns: false
    204 Google Mock tried the following 1 expectation, but it didn't match:
    205 
    206 FILE:#: EXPECT_CALL(foo_, Bar2(Ge(2), Ge(1)))...
    207   Expected arg #0: is >= 2
    208            Actual: 1
    209     Expected args: are a pair where the first >= the second
    210            Actual: don't match
    211          Expected: to be called once
    212            Actual: never called - unsatisfied and active
    213 [  FAILED  ] GMockOutputTest.MismatchArgumentsAndWith
    214 [ RUN      ] GMockOutputTest.UnexpectedCallWithDefaultAction
    215 unknown file: Failure
    216 
    217 Unexpected mock function call - taking default action specified at:
    218 FILE:#:
    219     Function call: Bar2(1, 0)
    220           Returns: false
    221 Google Mock tried the following 1 expectation, but it didn't match:
    222 
    223 FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
    224   Expected arg #0: is equal to 2
    225            Actual: 1
    226   Expected arg #1: is equal to 2
    227            Actual: 0
    228          Expected: to be called once
    229            Actual: never called - unsatisfied and active
    230 unknown file: Failure
    231 
    232 Unexpected mock function call - taking default action specified at:
    233 FILE:#:
    234     Function call: Bar2(0, 0)
    235           Returns: true
    236 Google Mock tried the following 1 expectation, but it didn't match:
    237 
    238 FILE:#: EXPECT_CALL(foo_, Bar2(2, 2))...
    239   Expected arg #0: is equal to 2
    240            Actual: 0
    241   Expected arg #1: is equal to 2
    242            Actual: 0
    243          Expected: to be called once
    244            Actual: never called - unsatisfied and active
    245 [  FAILED  ] GMockOutputTest.UnexpectedCallWithDefaultAction
    246 [ RUN      ] GMockOutputTest.ExcessiveCallWithDefaultAction
    247 FILE:#: Failure
    248 Mock function called more times than expected - taking default action specified at:
    249 FILE:#:
    250     Function call: Bar2(2, 2)
    251           Returns: true
    252          Expected: to be called once
    253            Actual: called twice - over-saturated and active
    254 FILE:#: Failure
    255 Mock function called more times than expected - taking default action specified at:
    256 FILE:#:
    257     Function call: Bar2(1, 1)
    258           Returns: false
    259          Expected: to be called once
    260            Actual: called twice - over-saturated and active
    261 [  FAILED  ] GMockOutputTest.ExcessiveCallWithDefaultAction
    262 [ RUN      ] GMockOutputTest.UninterestingCallWithDefaultAction
    263 
    264 GMOCK WARNING:
    265 Uninteresting mock function call - taking default action specified at:
    266 FILE:#:
    267     Function call: Bar2(2, 2)
    268           Returns: true
    269 Stack trace:
    270 
    271 GMOCK WARNING:
    272 Uninteresting mock function call - taking default action specified at:
    273 FILE:#:
    274     Function call: Bar2(1, 1)
    275           Returns: false
    276 Stack trace:
    277 [       OK ] GMockOutputTest.UninterestingCallWithDefaultAction
    278 [ RUN      ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
    279 
    280 GMOCK WARNING:
    281 FILE:#: Too few actions specified in EXPECT_CALL(foo_, Bar2(_, _))...
    282 Expected to be called twice, but has only 1 WillOnce().
    283 GMOCK WARNING:
    284 FILE:#: Actions ran out in EXPECT_CALL(foo_, Bar2(_, _))...
    285 Called 2 times, but only 1 WillOnce() is specified - taking default action specified at:
    286 FILE:#:
    287 Stack trace:
    288 [       OK ] GMockOutputTest.ExplicitActionsRunOutWithDefaultAction
    289 [ RUN      ] GMockOutputTest.CatchesLeakedMocks
    290 [       OK ] GMockOutputTest.CatchesLeakedMocks
    291 [  FAILED  ] GMockOutputTest.UnexpectedCall
    292 [  FAILED  ] GMockOutputTest.UnexpectedCallToVoidFunction
    293 [  FAILED  ] GMockOutputTest.ExcessiveCall
    294 [  FAILED  ] GMockOutputTest.ExcessiveCallToVoidFunction
    295 [  FAILED  ] GMockOutputTest.RetiredExpectation
    296 [  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisite
    297 [  FAILED  ] GMockOutputTest.UnsatisfiedPrerequisites
    298 [  FAILED  ] GMockOutputTest.UnsatisfiedWith
    299 [  FAILED  ] GMockOutputTest.UnsatisfiedExpectation
    300 [  FAILED  ] GMockOutputTest.MismatchArguments
    301 [  FAILED  ] GMockOutputTest.MismatchWith
    302 [  FAILED  ] GMockOutputTest.MismatchArgumentsAndWith
    303 [  FAILED  ] GMockOutputTest.UnexpectedCallWithDefaultAction
    304 [  FAILED  ] GMockOutputTest.ExcessiveCallWithDefaultAction
    305 
    306 
    307 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
    308 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
    309 FILE:#: ERROR: this mock object should be deleted but never is. Its address is @0x#.
    310 ERROR: 3 leaked mock objects found at program exit.
    311