[SERVER-78313] Allow non-sequential int backed enums defined in IDL Created: 21/Jun/23 Updated: 29/Oct/23 Resolved: 26/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Sara Golemon | Assignee: | Emilio Alvear Cantu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Security 2023-06-26, Security 2023-07-10 | ||||||||
| Participants: | |||||||||
| Description |
|
1/ Remove this block from the IDL generator code. 2/ Update test cases such as this one to expect success and move them to the appropriate test block. 3/ Add an int backed enum to unittest.idl defining multiple, non-contiguous values. 4/ Add unit tests to idl_test.cpp exercising static casts of these values to integers. |
| Comments |
| Comment by Githook User [ 26/Jun/23 ] |
|
Author: {'name': 'Emilio0404', 'email': 'emilio.alvear@hotmail.com', 'username': 'Emilio0404'}Message: |