diff options
author | Sven Gothel <[email protected]> | 2011-10-27 04:59:48 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-10-27 04:59:48 +0200 |
commit | ef30b77fab27262f8b5ef3f98880c0caec30bab5 (patch) | |
tree | c6242d5c742afdd3d5815f490b5ceb61a871423e /src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java | |
parent | fa5969168440a01fab814df78a3d23d10c27f72d (diff) |
Fix VersionNumber cstr w/ string parsing: cutt-off non-digit-parts, suppress exceptions
Diffstat (limited to 'src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java')
-rw-r--r-- | src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java index e587acf..43d6a61 100644 --- a/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java +++ b/src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java @@ -1,6 +1,8 @@ package com.jogamp.common.nio; +import java.io.IOException; + import com.jogamp.common.os.*; import org.junit.Assert; @@ -43,4 +45,9 @@ public class TestPointerBufferEndian { public void testIndirect () { testImpl (false); } + + public static void main(String args[]) throws IOException { + String tstname = TestPointerBufferEndian.class.getName(); + org.junit.runner.JUnitCore.main(tstname); + } } |