From e1306fb85b258d92915fb08fd2545546570bc360 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Mon, 31 Oct 2022 11:32:32 -0400 Subject: [PATCH] test: allowlist to include module-info (#5600) --- tests/src/test/java/com/google/cloud/BomContentTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/src/test/java/com/google/cloud/BomContentTest.java b/tests/src/test/java/com/google/cloud/BomContentTest.java index 79e53928e963..6e6d0f4ab5bb 100644 --- a/tests/src/test/java/com/google/cloud/BomContentTest.java +++ b/tests/src/test/java/com/google/cloud/BomContentTest.java @@ -139,9 +139,10 @@ private static void assertUniqueClasses(List allArtifacts) if (className.contains("javax.annotation") || className.contains("$") || className.endsWith("package-info") + || className.endsWith("module-info") || className.equals("com.google.cloud.location.LocationsGrpc") || className.equals("com.google.gwt.core.client.UnsafeNativeLong")) { - // Ignore annotations, nested classes, and package-info files. + // Ignore annotations, nested classes, module-info and package-info files. // Ignore LocationsGrpc classes which are duplicated in generated grpc libraries. // Ignore GWT's UnsafeNativeLong, which appear in om.google.gwt:gwt-dev:2.9.0 and // com.google.jsinterop:base:1.0.0.