diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java b/test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java index 10156f9..81a1489 100644 --- a/test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java +++ b/test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java @@ -77,12 +77,13 @@ public class BasicProcAddressEmitterTest { Set<String> expected = new HashSet<String>( - asList("arrayTest", "bufferTest", "pbTest", "manyBuffersTest", "mixedTest", "doubleTest")); + asList("arrayTest", "bufferTest", "pbTest", "manyBuffersTest", "mixedTest", "doubleTest", + "fancyArrayTest")); for (Field field : fields) { System.out.println("address field: "+field); - String function = field.getName().substring("_addressoff_".length()-1); + String function = field.getName().substring("_addressof_".length()); assertTrue("unexpected field: '"+function+"'",expected.contains(function)); } |