MCPcopy Index your code
hub / github.com/java-native-access/jna / TestAllocStructure

Class TestAllocStructure

test/com/sun/jna/StructureTest.java:106–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104
105 // must be public to populate array
106 public static class TestAllocStructure extends Structure {
107 public static final List<String> FIELDS = createFieldsOrder("f0", "f1", "f2", "f3");
108 public int f0;
109 public int f1;
110 public int f2;
111 public int f3;
112
113 @Override
114 protected List<String> getFieldOrder() {
115 return FIELDS;
116 }
117 }
118
119 public void testFieldsAllocated() {
120 class TestStructure extends Structure {

Callers

nothing calls this directly

Calls 1

createFieldsOrderMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…