Skip to content

Commit aed32aa

Browse files
committed
CXX-277 Add missing platform/basic.h to some tests
1 parent 6b6d83a commit aed32aa

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

src/mongo/client/connection_string_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/unittest/unittest.h"
1719

1820
#include "mongo/client/dbclientinterface.h"

src/mongo/client/dbclient_rs_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* the DBClientReplicaSet talks to, so the tests only covers the client side logic.
1919
*/
2020

21+
#include "mongo/platform/basic.h"
22+
2123
#include "mongo/bson/bson_field.h"
2224
#include "mongo/client/connpool.h"
2325
#include "mongo/client/dbclientcursor.h"

src/mongo/client/replica_set_monitor_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/replica_set_monitor.h"
1719

1820
#include <boost/make_shared.hpp>

src/mongo/dbtests/mock_dbclient_conn_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* This file includes integration testing between the MockDBClientBase and MockRemoteDB.
1818
*/
1919

20+
#include "mongo/platform/basic.h"
21+
2022
#include "mongo/client/dbclientcursor.h"
2123
#include "mongo/client/dbclientinterface.h"
2224
#include "mongo/db/jsobj.h"

src/mongo/dbtests/mock_replica_set_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/dbclientinterface.h"
1719
#include "mongo/dbtests/mock/mock_replica_set.h"
1820
#include "mongo/unittest/unittest.h"

src/mongo/dbtests/replica_set_monitor_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/connpool.h"
1719
#include "mongo/client/dbclientinterface.h"
1820
#include "mongo/client/dbclient_rs.h"

0 commit comments

Comments
 (0)