summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2010-11-07 07:24:45 +0100
committerSven Gothel <[email protected]>2010-11-07 07:24:45 +0100
commit15006b22048ce6afda129ea2f802af8d89170df5 (patch)
treec896d74535f319c4a7150c34945082fae2c382c8 /test
parente7fe471e5899cfb22d40234242c7baea738d87fc (diff)
Fix test
Diffstat (limited to 'test')
-rw-r--r--test/junit/com/jogamp/gluegen/BasicProcAddressEmitterTest.java5
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));
}