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: 2 additions & 2 deletions test/extensions/filters/http/admission_control/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ envoy_extension_cc_test(
"//source/common/http:headers_lib",
"//source/extensions/filters/http/admission_control:admission_control_filter_lib",
"//test/mocks/http:http_mocks",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/mocks/thread_local:thread_local_mocks",
"//test/test_common:simulated_time_system_lib",
"//test/test_common:utility_lib",
Expand All @@ -38,7 +38,7 @@ envoy_extension_cc_test(
"//source/common/http:headers_lib",
"//source/extensions/filters/http/admission_control:admission_control_filter_lib",
"//test/mocks/http:http_mocks",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/mocks/thread_local:thread_local_mocks",
"//test/test_common:simulated_time_system_lib",
"//test/test_common:utility_lib",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#include "extensions/filters/http/admission_control/thread_local_controller.h"

#include "test/mocks/runtime/mocks.h"
#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/thread_local/mocks.h"
#include "test/test_common/simulated_time_system.h"
#include "test/test_common/utility.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#include "extensions/filters/http/admission_control/evaluators/success_criteria_evaluator.h"

#include "test/mocks/runtime/mocks.h"
#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/thread_local/mocks.h"
#include "test/test_common/simulated_time_system.h"
#include "test/test_common/utility.h"
Expand Down
3 changes: 2 additions & 1 deletion test/extensions/filters/http/aws_lambda/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.aws_lambda",
deps = [
"//source/extensions/filters/http/aws_lambda:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/mocks/server:instance_mocks",
"@envoy_api//envoy/extensions/filters/http/aws_lambda/v3:pkg_cc_proto",
],
)
3 changes: 2 additions & 1 deletion test/extensions/filters/http/aws_lambda/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#include "extensions/filters/http/aws_lambda/aws_lambda_filter.h"
#include "extensions/filters/http/aws_lambda/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/server/instance.h"
#include "test/test_common/utility.h"

#include "gmock/gmock.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/aws_request_signing/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.aws_request_signing",
deps = [
"//source/extensions/filters/http/aws_request_signing:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"@envoy_api//envoy/extensions/filters/http/aws_request_signing/v3:pkg_cc_proto",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "extensions/filters/http/aws_request_signing/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/test_common/utility.h"

#include "gmock/gmock.h"
Expand Down
3 changes: 2 additions & 1 deletion test/extensions/filters/http/buffer/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.buffer",
deps = [
"//source/extensions/filters/http/buffer:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/mocks/server:instance_mocks",
"//test/test_common:utility_lib",
"@envoy_api//envoy/extensions/filters/http/buffer/v3:pkg_cc_proto",
],
Expand Down
3 changes: 2 additions & 1 deletion test/extensions/filters/http/buffer/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#include "extensions/filters/http/buffer/buffer_filter.h"
#include "extensions/filters/http/buffer/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/server/instance.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
4 changes: 2 additions & 2 deletions test/extensions/filters/http/cache/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ envoy_extension_cc_test(
deps = [
"//source/extensions/filters/http/cache:cache_filter_lib",
"//source/extensions/filters/http/cache/simple_http_cache:simple_http_cache_lib",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/test_common:simulated_time_system_lib",
"//test/test_common:utility_lib",
],
Expand All @@ -64,7 +64,7 @@ envoy_extension_cc_test(
"//source/extensions/filters/http/cache:config",
"//source/extensions/filters/http/cache/simple_http_cache:simple_http_cache_lib",
"//test/mocks/http:http_mocks",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/test_common:utility_lib",
],
)
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/cache/cache_filter_test.cc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "extensions/filters/http/cache/cache_filter.h"
#include "extensions/filters/http/cache/simple_http_cache/simple_http_cache.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/test_common/simulated_time_system.h"
#include "test/test_common/utility.h"

Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/cache/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "extensions/filters/http/cache/cache_filter.h"
#include "extensions/filters/http/cache/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/test_common/utility.h"

#include "gtest/gtest.h"
Expand Down
3 changes: 2 additions & 1 deletion test/extensions/filters/http/common/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ envoy_cc_test_library(
],
deps = [
"//source/extensions/filters/http/common:jwks_fetcher_lib",
"//test/mocks/server:server_mocks",
"//test/mocks/upstream:upstream_mocks",
"@envoy_api//envoy/config/core/v3:pkg_cc_proto",
],
)
Expand All @@ -46,6 +46,7 @@ envoy_extension_cc_test(
"//source/extensions/filters/http/common:jwks_fetcher_lib",
"//test/extensions/filters/http/common:mock_lib",
"//test/mocks/http:http_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/test_common:utility_lib",
"@envoy_api//envoy/config/core/v3:pkg_cc_proto",
],
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/common/fuzz/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ envoy_cc_test_library(
"//test/fuzz:utility_lib",
"//test/mocks/buffer:buffer_mocks",
"//test/mocks/http:http_mocks",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/proto:bookstore_proto_cc_proto",
"@envoy_api//envoy/extensions/filters/http/grpc_json_transcoder/v3:pkg_cc_proto",
"@envoy_api//envoy/extensions/filters/http/jwt_authn/v3:pkg_cc_proto",
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/common/fuzz/uber_filter.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#include "test/fuzz/utility.h"
#include "test/mocks/buffer/mocks.h"
#include "test/mocks/http/mocks.h"
#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/stream_info/mocks.h"

namespace Envoy {
Expand Down
1 change: 1 addition & 0 deletions test/extensions/filters/http/common/jwks_fetcher_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

#include "test/extensions/filters/http/common/mock.h"
#include "test/mocks/http/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/test_common/utility.h"

using envoy::config::core::v3::HttpUri;
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/common/mock.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include "extensions/filters/http/common/jwks_fetcher.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/upstream/mocks.h"

#include "gmock/gmock.h"

Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/compressor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ envoy_extension_cc_test(
":mock_config_cc_proto",
"//source/extensions/filters/http/compressor:config",
"//test/mocks/runtime:runtime_mocks",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/test_common:utility_lib",
],
)
2 changes: 1 addition & 1 deletion test/extensions/filters/http/compressor/config_test.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "extensions/filters/http/compressor/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"

#include "gtest/gtest.h"

Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/decompressor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ envoy_extension_cc_test(
"//source/extensions/compression/gzip/decompressor:config",
"//source/extensions/filters/http/decompressor:config",
"//test/integration:http_integration_lib",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/test_common:simulated_time_system_lib",
"//test/test_common:utility_lib",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "extensions/compression/gzip/compressor/config.h"

#include "test/integration/http_integration.h"
#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/test_common/simulated_time_system.h"
#include "test/test_common/utility.h"

Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/dynamo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.dynamo",
deps = [
"//source/extensions/filters/http/dynamo:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"@envoy_api//envoy/extensions/filters/http/dynamo/v3:pkg_cc_proto",
],
)
2 changes: 1 addition & 1 deletion test/extensions/filters/http/dynamo/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "extensions/filters/http/dynamo/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/ext_authz/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.ext_authz",
deps = [
"//source/extensions/filters/http/ext_authz:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"@envoy_api//envoy/config/core/v3:pkg_cc_proto",
"@envoy_api//envoy/extensions/filters/http/ext_authz/v3:pkg_cc_proto",
],
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/ext_authz/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include "extensions/filters/http/ext_authz/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/test_common/utility.h"

#include "gmock/gmock.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/fault/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ envoy_extension_cc_test(
deps = [
":utility_lib",
"//source/extensions/filters/http/fault:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"@envoy_api//envoy/extensions/filters/http/fault/v3:pkg_cc_proto",
"@envoy_api//envoy/type/v3:pkg_cc_proto",
],
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/fault/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include "extensions/filters/http/fault/config.h"

#include "test/extensions/filters/http/fault/utility.h"
#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/grpc_http1_bridge/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.grpc_http1_bridge",
deps = [
"//source/extensions/filters/http/grpc_http1_bridge:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
],
)
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "extensions/filters/http/grpc_http1_bridge/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
3 changes: 2 additions & 1 deletion test/extensions/filters/http/grpc_http1_reverse_bridge/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.grpc_http1_reverse_bridge",
deps = [
"//source/extensions/filters/http/grpc_http1_reverse_bridge:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/mocks/server:instance_mocks",
"//test/test_common:utility_lib",
"@envoy_api//envoy/extensions/filters/http/grpc_http1_reverse_bridge/v3:pkg_cc_proto",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#include "extensions/filters/http/grpc_http1_reverse_bridge/config.h"
#include "extensions/filters/http/grpc_http1_reverse_bridge/filter.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/server/instance.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/grpc_json_transcoder/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.grpc_json_transcoder",
deps = [
"//source/extensions/filters/http/grpc_json_transcoder:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"@envoy_api//envoy/extensions/filters/http/grpc_json_transcoder/v3:pkg_cc_proto",
],
)
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "extensions/filters/http/grpc_json_transcoder/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/grpc_stats/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ envoy_extension_cc_test(
"//source/extensions/filters/http/grpc_stats:config",
"//test/common/buffer:utility_lib",
"//test/common/stream_info:test_util",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/test_common:logging_lib",
"@envoy_api//envoy/extensions/filters/http/grpc_stats/v3:pkg_cc_proto",
],
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/grpc_stats/config_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "test/common/buffer/utility.h"
#include "test/common/stream_info/test_util.h"
#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/test_common/logging.h"

#include "gmock/gmock.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/grpc_web/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.grpc_web",
deps = [
"//source/extensions/filters/http/grpc_web:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
],
)

Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/grpc_web/config_test.cc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "extensions/filters/http/grpc_web/config.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"

#include "gmock/gmock.h"
#include "gtest/gtest.h"
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/gzip/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ envoy_extension_cc_test(
"//source/extensions/filters/http/gzip:gzip_filter_lib",
"//test/mocks/http:http_mocks",
"//test/mocks/runtime:runtime_mocks",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/test_common:logging_lib",
"//test/test_common:utility_lib",
"@envoy_api//envoy/extensions/filters/http/gzip/v3:pkg_cc_proto",
Expand Down
2 changes: 1 addition & 1 deletion test/extensions/filters/http/gzip/gzip_filter_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

#include "test/mocks/http/mocks.h"
#include "test/mocks/runtime/mocks.h"
#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/stats/mocks.h"
#include "test/test_common/logging.h"
#include "test/test_common/utility.h"
Expand Down
3 changes: 2 additions & 1 deletion test/extensions/filters/http/header_to_metadata/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ envoy_extension_cc_test(
extension_name = "envoy.filters.http.header_to_metadata",
deps = [
"//source/extensions/filters/http/header_to_metadata:config",
"//test/mocks/server:server_mocks",
"//test/mocks/server:factory_context_mocks",
"//test/mocks/server:instance_mocks",
"//test/test_common:utility_lib",
"@envoy_api//envoy/extensions/filters/http/header_to_metadata/v3:pkg_cc_proto",
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
#include "extensions/filters/http/header_to_metadata/config.h"
#include "extensions/filters/http/header_to_metadata/header_to_metadata_filter.h"

#include "test/mocks/server/mocks.h"
#include "test/mocks/server/factory_context.h"
#include "test/mocks/server/instance.h"
#include "test/test_common/utility.h"

#include "gmock/gmock.h"
Expand Down
Loading