From 15006b22048ce6afda129ea2f802af8d89170df5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 7 Nov 2010 07:24:45 +0100 Subject: Fix test --- test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java') 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 expected = new HashSet( - 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)); } -- cgit v1.2.3