summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/json/files/json-20231013-JSONObjectTest.patch')
-rw-r--r--dev-java/json/files/json-20231013-JSONObjectTest.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-java/json/files/json-20231013-JSONObjectTest.patch b/dev-java/json/files/json-20231013-JSONObjectTest.patch
new file mode 100644
index 000000000000..e077f19bd5a1
--- /dev/null
+++ b/dev-java/json/files/json-20231013-JSONObjectTest.patch
@@ -0,0 +1,31 @@
+There was 1 failure:
+1) jsonObjectByBean1(org.json.junit.JSONObjectTest)
+com.jayway.jsonpath.PathNotFoundException: No results for path: $['mockitoInterceptor']
+ at com.jayway.jsonpath.internal.path.EvaluationContextImpl.getValue(EvaluationContextImpl.java:131)
+ at com.jayway.jsonpath.JsonPath.read(JsonPath.java:187)
+ at com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:164)
+ at com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:151)
+ at com.jayway.jsonpath.JsonPath.read(JsonPath.java:488)
+ at org.json.junit.JSONObjectTest.jsonObjectByBean1(JSONObjectTest.java:634)
+
+FAILURES!!!
+Tests run: 668, Failures: 1
+--- a/src/test/java/org/json/junit/JSONObjectTest.java
++++ b/src/test/java/org/json/junit/JSONObjectTest.java
+@@ -56,6 +56,7 @@ import org.json.junit.data.Singleton;
+ import org.json.junit.data.SingletonEnum;
+ import org.json.junit.data.WeirdList;
+ import org.junit.Test;
++import org.junit.Ignore;
+
+ import com.jayway.jsonpath.Configuration;
+ import com.jayway.jsonpath.JsonPath;
+@@ -601,7 +602,7 @@ public class JSONObjectTest {
+ * bean getters return valid JSON types
+ */
+ @SuppressWarnings("boxing")
+- @Test
++ @Test @Ignore
+ public void jsonObjectByBean1() {
+ /**
+ * Default access classes have to be mocked since JSONObject, which is