Commit aee6395
committed
Add missing mock call expectations
`CmdShowRouteDetailsTest` was complaing about some unexpected calls:
```
GMOCK WARNING:
Uninteresting mock function call - returning directly.
Function call: getAllPortInfo(@0x7f8d0c000b10 {})
NOTE: You can safely ignore the above warning unless this call should
not happen. Do not suppress it by blindly adding an EXPECT_CALL() if
you don't mean to enforce the call. See
https://github.com/google/googletest/blob/master/docs/gmock_cook_book.md#knowing-when-to-expect
for details.
GMOCK WARNING:
Uninteresting mock function call - returning directly.
Function call: getAggregatePortTable(@0x7f8d04001120 {})
NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/docs/gmock_cook_book.md#knowing-when-to-expect for details.
GMOCK WARNING:
Uninteresting mock function call - returning directly.
Function call: getAllPortInfo(@0x7f8d2d100c20 {})
NOTE: You can safely ignore the above warning unless this call should not happen. Do not suppress it by blindly adding an EXPECT_CALL() if you don't mean to enforce the call. See https://github.com/google/googletest/blob/master/docs/gmock_cook_book.md#knowing-when-to-expect for details.
```1 parent 88c4089 commit aee6395
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
196 | 202 | | |
197 | 203 | | |
198 | 204 | | |
| |||
205 | 211 | | |
206 | 212 | | |
207 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
208 | 220 | | |
209 | 221 | | |
210 | 222 | | |
| |||
221 | 233 | | |
222 | 234 | | |
223 | 235 | | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
224 | 242 | | |
225 | 243 | | |
226 | 244 | | |
| |||
0 commit comments