You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2022/11/17 12:57:13 UTC
[commons-bcel] 02/02: Add disabled test
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
commit c5a5ab58d155fda34d5dcaea0af99259f572bbda
Author: Gary David Gregory (Code signing key) <gg...@apache.org>
AuthorDate: Thu Nov 17 07:57:05 2022 -0500
Add disabled test
---
.../org/apache/bcel/verifier/JavaMathTestCase.java | 39 ++++++++++++++++++++++
1 file changed, 39 insertions(+)
diff --git a/src/test/java/org/apache/bcel/verifier/JavaMathTestCase.java b/src/test/java/org/apache/bcel/verifier/JavaMathTestCase.java
new file mode 100644
index 00000000..9a10db4e
--- /dev/null
+++ b/src/test/java/org/apache/bcel/verifier/JavaMathTestCase.java
@@ -0,0 +1,39 @@
+/*
+ * 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
+ *
+ * http://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 static org.junit.jupiter.api.Assertions.assertTrue;
+
+import org.junit.jupiter.api.Disabled;
+import org.junit.jupiter.api.Test;
+
+public class JavaMathTestCase extends AbstractVerifierTestCase {
+
+ @Test
+ @Disabled
+ public void testBigDecimal() throws ClassNotFoundException {
+ assertTrue(doAllPasses("java.math.BigDecimal"));
+ }
+
+ @Test
+ @Disabled
+ public void testBigInteger() throws ClassNotFoundException {
+ assertTrue(doAllPasses("java.math.BigInteger"));
+ }
+
+}