[SERVER-50157] Add InSequence in network mock framework Created: 06/Aug/20 Updated: 29/Oct/23 Resolved: 07/Dec/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Vesselina Ratcheva (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | mock-network, pm-1791_milestone-D | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Repl 2020-11-02, Repl 2020-11-16, Repl 2020-11-30, Repl 2020-12-14 |
| Participants: |
| Description |
|
gmock supports InSequence class, which checks the ordering of the expectations. |
| Comments |
| Comment by Githook User [ 07/Dec/20 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}Message: |
| Comment by Githook User [ 06/Dec/20 ] |
|
Author: {'name': 'Vesselina Ratcheva', 'email': 'vesselina.ratcheva@10gen.com', 'username': 'vessy-mongodb'}Message: |
| Comment by Siyuan Zhou [ 28/Oct/20 ] |
|
Please consider adding a summary comment at the beginning of Mock class to demonstrate the basic usage. It can also be done in a separate ticket. |