Skip to content

Commit f5b008f

Browse files
authored
Merge pull request #307 from riptano/clang_format
test: Re-run clang-format
2 parents 19b5c63 + 3187111 commit f5b008f

4 files changed

Lines changed: 8 additions & 14 deletions

File tree

cpp-driver/gtests/src/integration/tests/test_cluster.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
class ClusterTests : public Integration {
2020
public:
21-
ClusterTests() {
22-
is_ccm_requested_ = false;
23-
}
21+
ClusterTests() { is_ccm_requested_ = false; }
2422
};
2523

2624
/**

cpp-driver/gtests/src/integration/tests/test_config.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
class ConfigTests : public Integration {
2020
public:
21-
ConfigTests() {
22-
Integration::SetUp();
23-
}
21+
ConfigTests() { Integration::SetUp(); }
2422
};
2523

2624
CASSANDRA_INTEGRATION_TEST_F(ConfigTests, Options) {

cpp-driver/gtests/src/integration/tests/test_control_connection.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,10 @@ CASSANDRA_INTEGRATION_TEST_F(ControlConnectionTwoNodeClusterTests, Reconnection)
273273
* and ensure only the first node is used as the contact point for automatic
274274
* node discovery of the second node
275275
*/
276-
Cluster cluster = default_cluster().with_load_balance_round_robin().with_constant_reconnect(100).with_contact_points(
277-
generate_contact_points(ccm_->get_ip_prefix(), 1));
276+
Cluster cluster = default_cluster()
277+
.with_load_balance_round_robin()
278+
.with_constant_reconnect(100)
279+
.with_contact_points(generate_contact_points(ccm_->get_ip_prefix(), 1));
278280
Session session = cluster.connect();
279281

280282
// Stop the first node and bootstrap a third node into the cluster

cpp-driver/gtests/src/integration/tests/test_statement.cpp

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
class StatementTests : public Integration {
2020
public:
21-
StatementTests() {
22-
number_dc1_nodes_ = 2;
23-
}
21+
StatementTests() { number_dc1_nodes_ = 2; }
2422
};
2523

2624
/**
@@ -108,9 +106,7 @@ CASSANDRA_INTEGRATION_TEST_F(StatementTests, SetHostWhereHostIsDown) {
108106

109107
class StatementNoClusterTests : public StatementTests {
110108
public:
111-
StatementNoClusterTests() {
112-
is_ccm_requested_ = false;
113-
}
109+
StatementNoClusterTests() { is_ccm_requested_ = false; }
114110
};
115111

116112
/**

0 commit comments

Comments
 (0)