-
Notifications
You must be signed in to change notification settings - Fork 554
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Fix to internal test mocks to handle mixins with logging confi…
…gs (#28073)
- Loading branch information
1 parent
403085c
commit 73a05f4
Showing
53 changed files
with
212 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_domains_grpc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_operations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_cluster_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_clusters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_clusters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_edge_container_grpc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_operations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_interconnect_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_initialize_zone | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_initialize_zone | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_edge_network_grpc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_error_group_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_get_group | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_get_group | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_project_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_group_stats | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_group_stats | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_project_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_report_error_event | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_report_error_event | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_contact_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_create_contact | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_create_contact | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_publisher_grpc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_operations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_channel_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_get_trigger | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_get_trigger | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_eventarc_grpc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_operations | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,6 +35,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_backup_path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -72,6 +72,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_instances | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,10 @@ def universe_domain | |
def stub_logger | ||
nil | ||
end | ||
|
||
def logger | ||
nil | ||
end | ||
end | ||
|
||
def test_list_instances | ||
|
Oops, something went wrong.