diff options
author | Sven Gothel <[email protected]> | 2010-11-07 07:24:45 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-11-07 07:24:45 +0100 |
commit | 15006b22048ce6afda129ea2f802af8d89170df5 (patch) | |
tree | c896d74535f319c4a7150c34945082fae2c382c8 /test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java | |
parent | e7fe471e5899cfb22d40234242c7baea738d87fc (diff) |
Fix test
Diffstat (limited to 'test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java')
-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)); } |