Skip to content

Commit 9938405

Browse files
committed
Add tests for static fields with references to primitive wrappers
In this case, the values are represented as simple JSON numbers, booleans or strings. This did not work before the recent fix for primitive wrapper types.
1 parent 8317e49 commit 9938405

35 files changed

+265
-0
lines changed
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public class ContainerForBoolean {
2+
public Boolean booleanField;
3+
public ContainerForBoolean(Boolean b) { booleanField = b; }
4+
}
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public class ContainerForByte {
2+
public Byte byteField;
3+
public ContainerForByte(Byte b) { byteField = b; }
4+
}
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public class ContainerForCharacter {
2+
public Character characterField;
3+
public ContainerForCharacter(Character c) { characterField = c; }
4+
}
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public class ContainerForDouble {
2+
public Double doubleField;
3+
public ContainerForDouble(Double d) { doubleField = d; }
4+
}
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
public class ContainerForFloat {
2+
public Float floatField;
3+
public ContainerForFloat(Float f) { floatField = f; }
4+
}

0 commit comments

Comments
 (0)