Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/mongocxx/test/client_helpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,10 +297,6 @@ stdx::optional<bsoncxx::document::value> parse_test_file(std::string path) {
return bsoncxx::from_json(stream.str());
}

bool supports_collation(const client& client) {
return get_max_wire_version(client) >= 5;
}

bsoncxx::document::value transform_document(bsoncxx::document::view view, const xformer_t& fcn) {
bsoncxx::builder::basic::array context;

Expand Down
9 changes: 0 additions & 9 deletions src/mongocxx/test/client_helpers.hh
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,6 @@ std::string get_hosts(const client& client = {uri{}, add_test_server_api()});
///
stdx::optional<bsoncxx::document::value> parse_test_file(std::string path);

//
// Determines whether or not the given client supports the collation feature, by running the
// "hello" command.
//
// Throws mongocxx::operation_exception if the operation fails, or the server reply is
// malformed.
//
bool supports_collation(const client& client);

using item_t = std::pair<stdx::optional<stdx::string_view>, bsoncxx::types::bson_value::view>;
using xformer_t = std::function<stdx::optional<item_t>(item_t, bsoncxx::builder::basic::array*)>;

Expand Down
Loading