Skip to content

Commit

Permalink
clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
markdroth committed Aug 26, 2024
1 parent de20095 commit de2c90a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 24 deletions.
7 changes: 3 additions & 4 deletions test/core/xds/xds_cluster_resource_type_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,9 @@ class XdsClusterTest : public ::testing::Test {
protected:
XdsClusterTest()
: xds_client_(MakeXdsClient()),
decode_context_{xds_client_.get(),
*xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(),
upb_arena_.ptr()} {}
decode_context_{
xds_client_.get(), *xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(), upb_arena_.ptr()} {}

static RefCountedPtr<XdsClient> MakeXdsClient() {
grpc_error_handle error;
Expand Down
7 changes: 3 additions & 4 deletions test/core/xds/xds_common_types_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,9 @@ class XdsCommonTypesTest : public ::testing::Test {
protected:
XdsCommonTypesTest()
: xds_client_(MakeXdsClient()),
decode_context_{xds_client_.get(),
*xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(),
upb_arena_.ptr()} {}
decode_context_{
xds_client_.get(), *xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(), upb_arena_.ptr()} {}

static RefCountedPtr<XdsClient> MakeXdsClient() {
auto bootstrap = GrpcXdsBootstrap::Create(
Expand Down
7 changes: 3 additions & 4 deletions test/core/xds/xds_endpoint_resource_type_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,9 @@ class XdsEndpointTest : public ::testing::Test {
protected:
XdsEndpointTest()
: xds_client_(MakeXdsClient()),
decode_context_{xds_client_.get(),
*xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(),
upb_arena_.ptr()} {}
decode_context_{
xds_client_.get(), *xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(), upb_arena_.ptr()} {}

static RefCountedPtr<XdsClient> MakeXdsClient() {
grpc_error_handle error;
Expand Down
7 changes: 3 additions & 4 deletions test/core/xds/xds_listener_resource_type_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,9 @@ class XdsListenerTest : public ::testing::Test {
protected:
XdsListenerTest()
: xds_client_(MakeXdsClient()),
decode_context_{xds_client_.get(),
*xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(),
upb_arena_.ptr()} {}
decode_context_{
xds_client_.get(), *xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(), upb_arena_.ptr()} {}

static RefCountedPtr<XdsClient> MakeXdsClient() {
grpc_error_handle error;
Expand Down
7 changes: 3 additions & 4 deletions test/core/xds/xds_metadata_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,9 @@ class XdsMetadataTest : public ::testing::Test {
protected:
XdsMetadataTest()
: xds_client_(MakeXdsClient()),
decode_context_{xds_client_.get(),
*xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(),
upb_arena_.ptr()} {}
decode_context_{
xds_client_.get(), *xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(), upb_arena_.ptr()} {}

static RefCountedPtr<XdsClient> MakeXdsClient() {
auto bootstrap = GrpcXdsBootstrap::Create(
Expand Down
7 changes: 3 additions & 4 deletions test/core/xds/xds_route_config_resource_type_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,9 @@ class XdsRouteConfigTest : public ::testing::Test {
protected:
explicit XdsRouteConfigTest(bool trusted_xds_server = false)
: xds_client_(MakeXdsClient(trusted_xds_server)),
decode_context_{xds_client_.get(),
*xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(),
upb_arena_.ptr()} {}
decode_context_{
xds_client_.get(), *xds_client_->bootstrap().servers().front(),
&xds_unittest_trace, upb_def_pool_.ptr(), upb_arena_.ptr()} {}

static RefCountedPtr<XdsClient> MakeXdsClient(bool trusted_xds_server) {
auto bootstrap = GrpcXdsBootstrap::Create(
Expand Down

0 comments on commit de2c90a

Please sign in to comment.