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");
Exemplo n.º 2
0
 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");
Exemplo n.º 3
0
 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");