[SERVER-78942] Replace `forTest` calls in NamespaceStringTest with constructor calls directly Created: 13/Jul/23  Updated: 29/Oct/23  Resolved: 17/Jul/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Mathis Bessa Assignee: Mathis Bessa
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-65920 Remove NamespaceString ctors with def... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2023-07-24
Participants:

 Description   

We should define a friend class NamespaceStringTest in order to make direct calls to the NamespaceString constructors to be tested within the namespace_string_test.cpp tests.

We currently call for `createNamespaceString_forTest` when we should instead call the constructor.



 Comments   
Comment by Githook User [ 15/Jul/23 ]

Author:

{'name': 'Mathis Bessa', 'email': 'mathis.bessa@mongodb.com', 'username': 'mathisbessamdb'}

Message: SERVER-78942 Replace forTest calls in NamespaceStringTest with constructor calls directly
Branch: master
https://github.com/mongodb/mongo/commit/9cbce81826510c68f3158223f09d3050fc5453c6

Generated at Thu Feb 08 06:39:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.