-
Notifications
You must be signed in to change notification settings - Fork 306
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
780 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
framework/projects/Closure/compile-errors/test-134-154.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
index e07b13513..0dd914e4b 100644 | ||
--- a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
+++ b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
@@ -659,7 +659,7 @@ public class DataFlowAnalysisTest extends TestCase { | ||
assertTrue(outEdges.size() < 2); | ||
ConstPropLatticeElement aResult = flowThroughArithmeticInstruction( | ||
(ArithmeticInstruction) node, input); | ||
- for (DiGraphEdge<Instruction, Branch> _ : outEdges) { | ||
+ for (int i = 0; i < outEdges.size(); i++) { | ||
result.add(aResult); | ||
} | ||
} else { |
13 changes: 13 additions & 0 deletions
13
framework/projects/Closure/compile-errors/test-79-105.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
index e07b13513..0dd914e4b 100644 | ||
--- a/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
+++ b/test/com/google/javascript/jscomp/DataFlowAnalysisTest.java | ||
@@ -659,7 +659,7 @@ public class DataFlowAnalysisTest extends TestCase { | ||
assertTrue(outEdges.size() < 2); | ||
ConstPropLatticeElement aResult = flowThroughArithmeticInstruction( | ||
(ArithmeticInstruction) node, input); | ||
- for (DiGraphEdge<Instruction, Branch> _ : outEdges) { | ||
+ for (int i = 0; i < outEdges.size(); i++) { | ||
result.add(aResult); | ||
} | ||
} else { |
40 changes: 40 additions & 0 deletions
40
framework/projects/JacksonDatabind/compile-errors/DateDeserialization-90-99.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/DateDeserializationTest.java b/src/test/java/com/fasterxml/jackson/databind/deser/DateDeserializationTest.java | ||
index 8a7a0b5ca..040679cda 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/deser/DateDeserializationTest.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/deser/DateDeserializationTest.java | ||
@@ -119,7 +119,7 @@ public class DateDeserializationTest | ||
public void testDateUtilISO8601_DateTimeMillis() throws Exception | ||
{ | ||
// WITH timezone (from 4 to 0 digits) | ||
- failure(MAPPER, "2000-01-02T03:04:05.6789+01:00"); | ||
+ //failure(MAPPER, "2000-01-02T03:04:05.6789+01:00"); | ||
verify( MAPPER, "2000-01-02T03:04:05.678+01:00", judate(2000, 1, 2, 3, 4, 5, 678, "GMT+1")); | ||
verify( MAPPER, "2000-01-02T03:04:05.67+01:00", judate(2000, 1, 2, 3, 4, 5, 670, "GMT+1")); | ||
verify( MAPPER, "2000-01-02T03:04:05.6+01:00", judate(2000, 1, 2, 3, 4, 5, 600, "GMT+1")); | ||
@@ -234,7 +234,7 @@ public class DateDeserializationTest | ||
|
||
// seconds (+01:00) | ||
failure(MAPPER, "2000-01-02T03:04:5+01:00"); | ||
- failure(MAPPER, "2000-01-02T03:04:5.000+01:00"); | ||
+ //failure(MAPPER, "2000-01-02T03:04:5.000+01:00"); | ||
failure(MAPPER, "2000-01-02T03:04:005+01:00"); | ||
|
||
// seconds (Z) | ||
@@ -250,7 +250,7 @@ public class DateDeserializationTest | ||
|
||
// minutes (+01:00) | ||
failure(MAPPER, "2000-01-02T03:4:05+01:00"); | ||
- failure(MAPPER, "2000-01-02T03:4:05.000+01:00"); | ||
+ //failure(MAPPER, "2000-01-02T03:4:05.000+01:00"); | ||
failure(MAPPER, "2000-01-02T03:004:05+01:00"); | ||
|
||
// minutes (Z) | ||
@@ -266,7 +266,7 @@ public class DateDeserializationTest | ||
|
||
// hour (+01:00) | ||
failure(MAPPER, "2000-01-02T3:04:05+01:00"); | ||
- failure(MAPPER, "2000-01-02T3:04:05.000+01:00"); | ||
+ //failure(MAPPER, "2000-01-02T3:04:05.000+01:00"); | ||
failure(MAPPER, "2000-01-02T003:04:05+01:00"); | ||
|
||
// hour (Z) |
13 changes: 13 additions & 0 deletions
13
framework/projects/JacksonDatabind/compile-errors/NodeContext2049Test-98-101.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/failing/NodeContext2049Test.java b/src/test/java/com/fasterxml/jackson/failing/NodeContext2049Test.java | ||
index ab198d492..f60b9f381 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/failing/NodeContext2049Test.java | ||
+++ b/src/test/java/com/fasterxml/jackson/failing/NodeContext2049Test.java | ||
@@ -134,7 +134,7 @@ public class NodeContext2049Test extends BaseMapTest | ||
private ObjectMapper objectMapper; | ||
{ | ||
objectMapper = new ObjectMapper(); | ||
- objectMapper.registerModule(new Module() { | ||
+ objectMapper.registerModule(new com.fasterxml.jackson.databind.Module() { | ||
@Override | ||
public String getModuleName() { | ||
return "parentSetting"; |
22 changes: 22 additions & 0 deletions
22
framework/projects/JacksonDatabind/compile-errors/SimpleModuleTest-80-81.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/module/SimpleModuleTest.java b/src/test/java/com/fasterxml/jackson/databind/module/SimpleModuleTest.java | ||
index 505a9a2d9..71ebfb9c0 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/module/SimpleModuleTest.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/module/SimpleModuleTest.java | ||
@@ -241,7 +241,7 @@ public class SimpleModuleTest extends BaseMapTest | ||
SimpleModule mod = new SimpleModule("test", Version.unknownVersion()); | ||
mod.addSerializer(new BaseSerializer()); | ||
// and another variant here too | ||
- List<Module> mods = Arrays.asList((Module) mod); | ||
+ List<com.fasterxml.jackson.databind.Module> mods = Arrays.asList((com.fasterxml.jackson.databind.Module) mod); | ||
mapper.registerModules(mods); | ||
assertEquals(quote("Base:1"), mapper.writeValueAsString(new Impl1())); | ||
assertEquals(quote("Base:2"), mapper.writeValueAsString(new Impl2())); | ||
@@ -340,7 +340,7 @@ public class SimpleModuleTest extends BaseMapTest | ||
|
||
public void testAutoDiscovery() throws Exception | ||
{ | ||
- List<Module> mods = ObjectMapper.findModules(); | ||
+ List<com.fasterxml.jackson.databind.Module> mods = ObjectMapper.findModules(); | ||
assertEquals(0, mods.size()); | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
framework/projects/JacksonDatabind/compile-errors/TestSOAP-16-94.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/ext/TestSOAP.java b/src/test/java/com/fasterxml/jackson/databind/ext/TestSOAP.java | ||
index eb78c19ae..8dea50796 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/ext/TestSOAP.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/ext/TestSOAP.java | ||
@@ -1,20 +1,10 @@ | ||
package com.fasterxml.jackson.databind.ext; | ||
|
||
-import javax.xml.soap.Detail; | ||
-import javax.xml.soap.SOAPException; | ||
-import javax.xml.soap.SOAPFactory; | ||
- | ||
import com.fasterxml.jackson.core.JsonProcessingException; | ||
import com.fasterxml.jackson.databind.ObjectMapper; | ||
|
||
public class TestSOAP extends com.fasterxml.jackson.databind.BaseMapTest { | ||
|
||
- public void testSerializeSOAP() throws SOAPException, JsonProcessingException { | ||
- ObjectMapper objectMapper = new ObjectMapper(); | ||
- SOAPFactory fac = SOAPFactory.newInstance(); | ||
- Detail detailElement = fac.createDetail(); | ||
- detailElement.setTextContent("test"); | ||
- String result = objectMapper.writer().writeValueAsString(detailElement); | ||
- assertNotNull(result); | ||
+ public void testSerializeSOAP() { | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
framework/projects/JacksonDatabind/compile-errors/TestTypeFactory-23-112.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java b/src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java | ||
index e9a8070f4..65cc00c72 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/type/TestTypeFactoryWithClassLoader.java | ||
@@ -2,6 +2,7 @@ package com.fasterxml.jackson.databind.type; | ||
|
||
import static org.mockito.Mockito.*; | ||
|
||
+import org.junit.Ignore; | ||
import org.junit.Test; | ||
import org.junit.runner.RunWith; | ||
import org.mockito.Mock; | ||
@@ -17,7 +18,7 @@ import org.junit.BeforeClass; | ||
|
||
@RunWith(PowerMockRunner.class) | ||
@PrepareForTest(TypeFactory.class) | ||
- | ||
+@Ignore("gets java.lang.IllegalAccessError with JDK 11") | ||
public class TestTypeFactoryWithClassLoader { | ||
@Mock | ||
private TypeModifier typeModifier; |
30 changes: 30 additions & 0 deletions
30
framework/projects/JacksonDatabind/compile-errors/classLoader1-1-57.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
--- a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
@@ -53,7 +53,7 @@ public class TestExceptionDeserialization | ||
|
||
final ObjectMapper MAPPER = new ObjectMapper(); | ||
|
||
- public void testIOException() throws IOException | ||
+ public void SKIPtestIOException() throws IOException | ||
{ | ||
IOException ioe = new IOException("TEST"); | ||
String json = MAPPER.writeValueAsString(ioe); | ||
@@ -62,7 +62,7 @@ public class TestExceptionDeserialization | ||
} | ||
|
||
// As per [JACKSON-377] | ||
- public void testWithCreator() throws IOException | ||
+ public void SKIPtestWithCreator() throws IOException | ||
{ | ||
final String MSG = "the message"; | ||
String json = MAPPER.writeValueAsString(new MyException(MSG, 3)); | ||
@@ -75,7 +75,7 @@ public class TestExceptionDeserialization | ||
} | ||
|
||
// [JACKSON-388] | ||
- public void testWithNullMessage() throws IOException | ||
+ public void SKIPtestWithNullMessage() throws IOException | ||
{ | ||
final ObjectMapper mapper = new ObjectMapper(); | ||
mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); |
31 changes: 31 additions & 0 deletions
31
framework/projects/JacksonDatabind/compile-errors/classLoader2-58-62.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
index 7da66618f..c0a183ee8 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
@@ -53,7 +53,7 @@ public class TestExceptionDeserialization | ||
|
||
private final ObjectMapper MAPPER = new ObjectMapper(); | ||
|
||
- public void testIOException() throws IOException | ||
+ public void SKIPtestIOException() throws IOException | ||
{ | ||
IOException ioe = new IOException("TEST"); | ||
String json = MAPPER.writeValueAsString(ioe); | ||
@@ -61,7 +61,7 @@ public class TestExceptionDeserialization | ||
assertEquals(ioe.getMessage(), result.getMessage()); | ||
} | ||
|
||
- public void testWithCreator() throws IOException | ||
+ public void SKIPtestWithCreator() throws IOException | ||
{ | ||
final String MSG = "the message"; | ||
String json = MAPPER.writeValueAsString(new MyException(MSG, 3)); | ||
@@ -73,7 +73,7 @@ public class TestExceptionDeserialization | ||
assertEquals(result.getFoo(), result.stuff.get("foo")); | ||
} | ||
|
||
- public void testWithNullMessage() throws IOException | ||
+ public void SKIPtestWithNullMessage() throws IOException | ||
{ | ||
final ObjectMapper mapper = new ObjectMapper(); | ||
mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); |
31 changes: 31 additions & 0 deletions
31
framework/projects/JacksonDatabind/compile-errors/classLoader2a-69-69.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
index 7da66618f..c0a183ee8 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
@@ -53,7 +53,7 @@ public class TestExceptionDeserialization | ||
|
||
private final ObjectMapper MAPPER = new ObjectMapper(); | ||
|
||
- public void testIOException() throws IOException | ||
+ public void SKIPtestIOException() throws IOException | ||
{ | ||
IOException ioe = new IOException("TEST"); | ||
String json = MAPPER.writeValueAsString(ioe); | ||
@@ -61,7 +61,7 @@ public class TestExceptionDeserialization | ||
assertEquals(ioe.getMessage(), result.getMessage()); | ||
} | ||
|
||
- public void testWithCreator() throws IOException | ||
+ public void SKIPtestWithCreator() throws IOException | ||
{ | ||
final String MSG = "the message"; | ||
String json = MAPPER.writeValueAsString(new MyException(MSG, 3)); | ||
@@ -73,7 +73,7 @@ public class TestExceptionDeserialization | ||
assertEquals(result.getFoo(), result.stuff.get("foo")); | ||
} | ||
|
||
- public void testWithNullMessage() throws IOException | ||
+ public void SKIPtestWithNullMessage() throws IOException | ||
{ | ||
final ObjectMapper mapper = new ObjectMapper(); | ||
mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); |
31 changes: 31 additions & 0 deletions
31
framework/projects/JacksonDatabind/compile-errors/classLoader2b-71-79.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
index b6bd80625..98be8515c 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
@@ -53,7 +53,7 @@ public class TestExceptionDeserialization | ||
|
||
private final ObjectMapper MAPPER = new ObjectMapper(); | ||
|
||
- public void testIOException() throws IOException | ||
+ public void SKIPtestIOException() throws IOException | ||
{ | ||
IOException ioe = new IOException("TEST"); | ||
String json = MAPPER.writeValueAsString(ioe); | ||
@@ -61,7 +61,7 @@ public class TestExceptionDeserialization | ||
assertEquals(ioe.getMessage(), result.getMessage()); | ||
} | ||
|
||
- public void testWithCreator() throws IOException | ||
+ public void SKIPtestWithCreator() throws IOException | ||
{ | ||
final String MSG = "the message"; | ||
String json = MAPPER.writeValueAsString(new MyException(MSG, 3)); | ||
@@ -73,7 +73,7 @@ public class TestExceptionDeserialization | ||
assertEquals(result.getFoo(), result.stuff.get("foo")); | ||
} | ||
|
||
- public void testWithNullMessage() throws IOException | ||
+ public void SKIPtestWithNullMessage() throws IOException | ||
{ | ||
final ObjectMapper mapper = new ObjectMapper(); | ||
mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); |
31 changes: 31 additions & 0 deletions
31
framework/projects/JacksonDatabind/compile-errors/classLoader2c-92-94.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
diff --git a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
index b6bd80625..98be8515c 100644 | ||
--- a/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
+++ b/src/test/java/com/fasterxml/jackson/databind/deser/TestExceptionDeserialization.java | ||
@@ -53,7 +53,7 @@ public class TestExceptionDeserialization | ||
|
||
private final ObjectMapper MAPPER = new ObjectMapper(); | ||
|
||
- public void testIOException() throws IOException | ||
+ public void SKIPtestIOException() throws IOException | ||
{ | ||
IOException ioe = new IOException("TEST"); | ||
String json = MAPPER.writeValueAsString(ioe); | ||
@@ -61,7 +61,7 @@ public class TestExceptionDeserialization | ||
assertEquals(ioe.getMessage(), result.getMessage()); | ||
} | ||
|
||
- public void testWithCreator() throws IOException | ||
+ public void SKIPtestWithCreator() throws IOException | ||
{ | ||
final String MSG = "the message"; | ||
String json = MAPPER.writeValueAsString(new MyException(MSG, 3)); | ||
@@ -73,7 +73,7 @@ public class TestExceptionDeserialization | ||
assertEquals(result.getFoo(), result.stuff.get("foo")); | ||
} | ||
|
||
- public void testWithNullMessage() throws IOException | ||
+ public void SKIPtestWithNullMessage() throws IOException | ||
{ | ||
final ObjectMapper mapper = new ObjectMapper(); | ||
mapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); |
Oops, something went wrong.