summaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/nio
diff options
context:
space:
mode:
Diffstat (limited to 'src/junit/com/jogamp/common/nio')
-rw-r--r--src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java2
-rw-r--r--src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java
index 3334f7f..d97e98c 100644
--- a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java
+++ b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java
@@ -20,7 +20,7 @@ import org.junit.runners.MethodSorters;
public class TestPointerBufferEndian extends SingletonJunitCase {
protected void testImpl (final boolean direct) {
- final MachineDescription machine = Platform.getMachineDescription();
+ final MachineDataInfo machine = Platform.getMachineDataInfo();
final int bitsPtr = machine.pointerSizeInBytes() * 8;
final String bitsProp = System.getProperty("sun.arch.data.model");
out.println("OS: <"+PlatformPropsImpl.OS+"> CPU: <"+PlatformPropsImpl.ARCH+"> Bits: <"+bitsPtr+"/"+bitsProp+">");
diff --git a/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java b/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java
index 081337e..a569b54 100644
--- a/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java
+++ b/src/junit/com/jogamp/common/nio/TestStructAccessorEndian.java
@@ -10,7 +10,7 @@ import jogamp.common.os.PlatformPropsImpl;
import org.junit.Assert;
import org.junit.Test;
-import com.jogamp.common.os.MachineDescription;
+import com.jogamp.common.os.MachineDataInfo;
import com.jogamp.common.os.Platform;
import com.jogamp.junit.util.SingletonJunitCase;
@@ -22,7 +22,7 @@ public class TestStructAccessorEndian extends SingletonJunitCase {
@Test
public void testStructAccessorEndian1 () {
- final MachineDescription machine = Platform.getMachineDescription();
+ final MachineDataInfo machine = Platform.getMachineDataInfo();
final int bitsPtr = machine.pointerSizeInBytes() * 8;
final String bitsProp = System.getProperty("sun.arch.data.model");
out.println("OS: <"+PlatformPropsImpl.OS+"> CPU: <"+PlatformPropsImpl.ARCH+"> Bits: <"+bitsPtr+"/"+bitsProp+">");