From ef30b77fab27262f8b5ef3f98880c0caec30bab5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 27 Oct 2011 04:59:48 +0200 Subject: Fix VersionNumber cstr w/ string parsing: cutt-off non-digit-parts, suppress exceptions --- src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/junit/com/jogamp/common/nio/TestPointerBufferEndian.java') 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); + } } -- cgit v1.2.3