public void Library_NoComponentSpecificNamespaces() => // Note: If this test fails, the other one in this file will fail as well // but let's have the double protection. CodeHealthTester.AssertNoDisallowedNamespaces( typeof(IConsumer <>), "Google.Cloud.Diagnostics.Common.ErrorReporting", "Google.Cloud.Diagnostics.Common.Logging", "Google.Cloud.Diagnostics.Common.Trace");
public void Library_NoComponentSpecificNamespaces() => // Note: If this test fails, the other one in this file will fail as well // but let's have the double protection. CodeHealthTester.AssertNoDisallowedNamespaces( typeof(AspNetCoreErrorReportingExtensions), BaseNamespace + ".ErrorReporting", BaseNamespace + ".Logging", BaseNamespace + ".Trace");
public void Library_NoComponentSpecificNamespaces() => // Note: If this test fails, the other one in this file will fail as well // but let's have the double protection. CodeHealthTester.AssertNoDisallowedNamespaces( typeof(GoogleDiagnosticsStartupFilter), BaseNamespace + ".ErrorReporting", BaseNamespace + ".Logging", BaseNamespace + ".Trace");