()
| 98 | } |
| 99 | |
| 100 | public void testGetNativeMapped() { |
| 101 | Pointer p = new Memory(Native.POINTER_SIZE); |
| 102 | p.setPointer(0, null); |
| 103 | Object o = p.getValue(0, TestPointerType.class, null); |
| 104 | assertNull("Wrong empty value: " + o, o); |
| 105 | p.setPointer(0, p); |
| 106 | TestPointerType tp = new TestPointerType(p); |
| 107 | assertEquals("Wrong value", tp, p.getValue(0, TestPointerType.class, null)); |
| 108 | } |
| 109 | |
| 110 | public void testGetStringArray() { |
| 111 | Pointer p = new Memory(Native.POINTER_SIZE*3); |
nothing calls this directly
no test coverage detected