aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2016-06-13 09:56:26 -0700
committerGravatar vjpai <vpai@google.com>2016-06-13 09:56:26 -0700
commit97da6473b4a52579fc2f9ed03b56c8078daec6d0 (patch)
treec7fe5422b2e940eea63b85b20205ba6d2fb62bc6 /test/cpp/end2end
parent15855f3e7fbf8407393e70dd3c92ee2b0a871430 (diff)
Manual clang-format
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r--test/cpp/end2end/async_end2end_test.cc3
-rw-r--r--test/cpp/end2end/server_builder_plugin_test.cc6
2 files changed, 4 insertions, 5 deletions
diff --git a/test/cpp/end2end/async_end2end_test.cc b/test/cpp/end2end/async_end2end_test.cc
index df9a86dcfa..535d8d5d3d 100644
--- a/test/cpp/end2end/async_end2end_test.cc
+++ b/test/cpp/end2end/async_end2end_test.cc
@@ -207,8 +207,7 @@ class ServerBuilderSyncPluginDisabler : public ::grpc::ServerBuilderOption {
public:
void UpdateArguments(ChannelArguments* arg) GRPC_OVERRIDE {}
- void UpdatePlugins(
- std::vector<std::unique_ptr<ServerBuilderPlugin> >* plugins)
+ void UpdatePlugins(std::vector<std::unique_ptr<ServerBuilderPlugin>>* plugins)
GRPC_OVERRIDE {
auto plugin = plugins->begin();
while (plugin != plugins->end()) {
diff --git a/test/cpp/end2end/server_builder_plugin_test.cc b/test/cpp/end2end/server_builder_plugin_test.cc
index cad48316b9..75f23b64a7 100644
--- a/test/cpp/end2end/server_builder_plugin_test.cc
+++ b/test/cpp/end2end/server_builder_plugin_test.cc
@@ -113,8 +113,7 @@ class InsertPluginServerBuilderOption : public ServerBuilderOption {
void UpdateArguments(ChannelArguments* arg) GRPC_OVERRIDE {}
- void UpdatePlugins(
- std::vector<std::unique_ptr<ServerBuilderPlugin> >* plugins)
+ void UpdatePlugins(std::vector<std::unique_ptr<ServerBuilderPlugin>>* plugins)
GRPC_OVERRIDE {
plugins->clear();
@@ -226,10 +225,11 @@ class ServerBuilderPluginTest : public ::testing::TestWithParam<bool> {
std::unique_ptr<Server> server_;
TestServiceImpl service_;
int port_;
+
private:
TestServerBuilderPlugin* CheckPresent() {
auto it = builder_->plugins_.begin();
- for ( ; it != builder_->plugins_.end(); it++) {
+ for (; it != builder_->plugins_.end(); it++) {
if ((*it)->name() == PLUGIN_NAME) break;
}
if (it != builder_->plugins_.end()) {