| 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 { |
nothing calls this directly
no test coverage detected
searching dependent graphs…