summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-22 17:34:47 +0100
committerSven Gothel <[email protected]>2011-02-22 17:34:47 +0100
commitec4fcc9699db753a6d462c8c3df7ba71949c9fdd (patch)
tree00812e354af24c048899be2aae3b6db11ded2d28 /src/junit/com/jogamp/common
parent65ab75dec5b3ab063a5cdb034325426d27e3b425 (diff)
parent0fea7dfb1514ab1c3d5765057975be50d7282d0d (diff)
Merge remote branch 'mbien/master'
Diffstat (limited to 'src/junit/com/jogamp/common')
-rw-r--r--src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java b/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java
index 0b10fe8..a00f4c9 100644
--- a/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java
+++ b/src/junit/com/jogamp/common/nio/CachedBufferFactoryTest.java
@@ -28,6 +28,7 @@
package com.jogamp.common.nio;
import java.nio.ByteBuffer;
+import java.nio.ByteOrder;
import java.nio.IntBuffer;
import java.util.ArrayList;
import java.util.List;
@@ -88,6 +89,7 @@ public class CachedBufferFactoryTest {
// create
for (int i = 0; i < sizes.length; i++) {
buffers[i] = factory.newDirectIntBuffer(sizes[i]);
+ assertEquals(ByteOrder.nativeOrder(), buffers[i].order());
fill(buffers[i], values[i]);
}