[CXX-1537] Upgrade Catch from 1.9.4 to 2.2.1 Created: 26/Mar/18 Updated: 28/Oct/23 Resolved: 09/Apr/18 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Testing |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.0-rc0 |
| Type: | Task | Priority: | Minor - P4 |
| Reporter: | A. Jesse Jiryu Davis | Assignee: | A. Jesse Jiryu Davis |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The new REQUIRE_THROWS_MATCHES test assertion will be useful for testing session and (eventually) transaction errors from the C Driver: we must test that a C++ method raised a particular type of error and that it includes a particular error message pattern from the C Driver. |
| Comments |
| Comment by Githook User [ 09/Apr/18 ] |
|
Author: {'email': 'jesse@mongodb.com', 'name': 'A. Jesse Jiryu Davis', 'username': 'ajdavis'}Message: |
| Comment by A. Jesse Jiryu Davis [ 28/Mar/18 ] |
|
Update the check in test/sessions.cpp to use REQUIRE_THROWS_MATCHES. |