This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-bcel.git
The following commit(s) were added to refs/heads/master by this push:
new 0c3192f5 Add disabled tests for
https://github.com/apache/commons-bcel/pull/476
0c3192f5 is described below
commit 0c3192f55c6c877cae0d53d4af4e2938f820ff00
Author: Gary D. Gregory <[email protected]>
AuthorDate: Sat Oct 11 14:21:51 2025 -0400
Add disabled tests for https://github.com/apache/commons-bcel/pull/476
---
src/test/java/org/apache/bcel/verifier/A.java | 25 +++++++++
src/test/java/org/apache/bcel/verifier/B.java | 23 ++++++++
src/test/java/org/apache/bcel/verifier/C.java | 23 ++++++++
.../apache/bcel/verifier/TransitiveHullTest.java | 61 ++++++++++++++++++++++
4 files changed, 132 insertions(+)
diff --git a/src/test/java/org/apache/bcel/verifier/A.java
b/src/test/java/org/apache/bcel/verifier/A.java
new file mode 100644
index 00000000..42e1c932
--- /dev/null
+++ b/src/test/java/org/apache/bcel/verifier/A.java
@@ -0,0 +1,25 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.bcel.verifier;
+
+class A extends B {
+
+ C c = new C();
+}
diff --git a/src/test/java/org/apache/bcel/verifier/B.java
b/src/test/java/org/apache/bcel/verifier/B.java
new file mode 100644
index 00000000..00347c47
--- /dev/null
+++ b/src/test/java/org/apache/bcel/verifier/B.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.bcel.verifier;
+
+class B {
+}
diff --git a/src/test/java/org/apache/bcel/verifier/C.java
b/src/test/java/org/apache/bcel/verifier/C.java
new file mode 100644
index 00000000..39772c98
--- /dev/null
+++ b/src/test/java/org/apache/bcel/verifier/C.java
@@ -0,0 +1,23 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.bcel.verifier;
+
+class C {
+}
diff --git a/src/test/java/org/apache/bcel/verifier/TransitiveHullTest.java
b/src/test/java/org/apache/bcel/verifier/TransitiveHullTest.java
new file mode 100644
index 00000000..fa327c3d
--- /dev/null
+++ b/src/test/java/org/apache/bcel/verifier/TransitiveHullTest.java
@@ -0,0 +1,61 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.apache.bcel.verifier;
+
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+/**
+ * Tests {@link TransitiveHull}.
+ *
+ * @see <a href="https://github.com/apache/commons-bcel/pull/476">PR #476</a>
+ */
+class TransitiveHullTest {
+
+ @Test
+ @Disabled
+ void testA() {
+ TransitiveHull.main(new String[] { A.class.getName() });
+ }
+
+ @Test
+ @Disabled
+ void testB() {
+ TransitiveHull.main(new String[] { B.class.getName() });
+ }
+
+ @Test
+ @Disabled
+ void testC() {
+ TransitiveHull.main(new String[] { C.class.getName() });
+ }
+
+ @Test
+ @Disabled
+ void testClassDoesNotExist() {
+ TransitiveHull.main(new String[] { "ClassDoesNotExist" });
+ }
+
+ @Test
+ @Disabled
+ void testSelf() {
+ TransitiveHull.main(new String[] { TransitiveHull.class.getName() });
+ }
+}