aboutsummaryrefslogtreecommitdiffstats
path: root/src/junit/com/jogamp/common/util
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-12-02 02:38:12 +0100
committerSven Gothel <[email protected]>2011-12-02 02:38:12 +0100
commit28f9b90a728ef1d683fa53d9c521af27a389baaf (patch)
tree6581f8691b0d165a265c9bfe81ca1c67837f36b1 /src/junit/com/jogamp/common/util
parent2a461c6dc4e4ce01bdfe114e72cc69ec08fb2390 (diff)
Fix Test1p2ProcAddressEmitter (static var); Add TestTracer
Diffstat (limited to 'src/junit/com/jogamp/common/util')
-rw-r--r--src/junit/com/jogamp/common/util/TestArrayHashSet01.java4
-rw-r--r--src/junit/com/jogamp/common/util/TestIOUtil01.java3
-rw-r--r--src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java3
-rw-r--r--src/junit/com/jogamp/common/util/TestJarUtil.java3
-rw-r--r--src/junit/com/jogamp/common/util/TestPlatform01.java3
-rw-r--r--src/junit/com/jogamp/common/util/TestRunnableTask01.java4
-rw-r--r--src/junit/com/jogamp/common/util/TestTempJarCache.java3
-rw-r--r--src/junit/com/jogamp/common/util/TestVersionInfo.java4
-rw-r--r--src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java3
9 files changed, 21 insertions, 9 deletions
diff --git a/src/junit/com/jogamp/common/util/TestArrayHashSet01.java b/src/junit/com/jogamp/common/util/TestArrayHashSet01.java
index b16cc74..a41b86c 100644
--- a/src/junit/com/jogamp/common/util/TestArrayHashSet01.java
+++ b/src/junit/com/jogamp/common/util/TestArrayHashSet01.java
@@ -34,7 +34,9 @@ import java.io.IOException;
import org.junit.Assert;
import org.junit.Test;
-public class TestArrayHashSet01 {
+import com.jogamp.junit.util.TestTracer;
+
+public class TestArrayHashSet01 extends TestTracer {
public static class Dummy {
int i1, i2, i3;
diff --git a/src/junit/com/jogamp/common/util/TestIOUtil01.java b/src/junit/com/jogamp/common/util/TestIOUtil01.java
index fd95652..3875acd 100644
--- a/src/junit/com/jogamp/common/util/TestIOUtil01.java
+++ b/src/junit/com/jogamp/common/util/TestIOUtil01.java
@@ -46,8 +46,9 @@ import org.junit.Test;
import com.jogamp.common.os.MachineDescription;
import com.jogamp.common.os.Platform;
+import com.jogamp.junit.util.TestTracer;
-public class TestIOUtil01 {
+public class TestIOUtil01 extends TestTracer {
static final MachineDescription machine = Platform.getMachineDescription();
static final int tsz = machine.pageSizeInBytes() + machine.pageSizeInBytes() / 2 ;
diff --git a/src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java b/src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java
index 20eee3f..eb3e2ee 100644
--- a/src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java
+++ b/src/junit/com/jogamp/common/util/TestIteratorIndexCORE.java
@@ -38,8 +38,9 @@ import org.junit.AfterClass;
import org.junit.Test;
import com.jogamp.common.os.Platform;
+import com.jogamp.junit.util.TestTracer;
-public class TestIteratorIndexCORE {
+public class TestIteratorIndexCORE extends TestTracer {
static int elems = 10;
static int loop = ( Platform.getCPUFamily() == Platform.CPUFamily.ARM ) ? 20 : 9999999;
diff --git a/src/junit/com/jogamp/common/util/TestJarUtil.java b/src/junit/com/jogamp/common/util/TestJarUtil.java
index 9eef97d..11540d9 100644
--- a/src/junit/com/jogamp/common/util/TestJarUtil.java
+++ b/src/junit/com/jogamp/common/util/TestJarUtil.java
@@ -46,8 +46,9 @@ import com.jogamp.common.GlueGenVersion;
import com.jogamp.common.util.cache.TempCacheReg;
import com.jogamp.common.util.cache.TempFileCache;
import com.jogamp.common.util.cache.TempJarCache;
+import com.jogamp.junit.util.TestTracer;
-public class TestJarUtil {
+public class TestJarUtil extends TestTracer {
static TempFileCache fileCache;
@BeforeClass
diff --git a/src/junit/com/jogamp/common/util/TestPlatform01.java b/src/junit/com/jogamp/common/util/TestPlatform01.java
index c10bf0b..d26ecf5 100644
--- a/src/junit/com/jogamp/common/util/TestPlatform01.java
+++ b/src/junit/com/jogamp/common/util/TestPlatform01.java
@@ -33,8 +33,9 @@ import org.junit.Test;
import com.jogamp.common.os.MachineDescription;
import com.jogamp.common.os.Platform;
+import com.jogamp.junit.util.TestTracer;
-public class TestPlatform01 {
+public class TestPlatform01 extends TestTracer {
@Test
public void testInfo00() {
diff --git a/src/junit/com/jogamp/common/util/TestRunnableTask01.java b/src/junit/com/jogamp/common/util/TestRunnableTask01.java
index f72a7a7..8fa776f 100644
--- a/src/junit/com/jogamp/common/util/TestRunnableTask01.java
+++ b/src/junit/com/jogamp/common/util/TestRunnableTask01.java
@@ -34,7 +34,9 @@ import java.lang.reflect.InvocationTargetException;
import org.junit.Assert;
import org.junit.Test;
-public class TestRunnableTask01 {
+import com.jogamp.junit.util.TestTracer;
+
+public class TestRunnableTask01 extends TestTracer {
@Test
public void testInvokeAndWait00() throws IOException, InterruptedException, InvocationTargetException {
diff --git a/src/junit/com/jogamp/common/util/TestTempJarCache.java b/src/junit/com/jogamp/common/util/TestTempJarCache.java
index f1630d4..bff66f9 100644
--- a/src/junit/com/jogamp/common/util/TestTempJarCache.java
+++ b/src/junit/com/jogamp/common/util/TestTempJarCache.java
@@ -47,8 +47,9 @@ import com.jogamp.common.os.Platform;
import com.jogamp.common.util.cache.TempCacheReg;
import com.jogamp.common.util.cache.TempFileCache;
import com.jogamp.common.util.cache.TempJarCache;
+import com.jogamp.junit.util.TestTracer;
-public class TestTempJarCache {
+public class TestTempJarCache extends TestTracer {
static TempFileCache fileCache;
static class TestClassLoader extends URLClassLoader {
diff --git a/src/junit/com/jogamp/common/util/TestVersionInfo.java b/src/junit/com/jogamp/common/util/TestVersionInfo.java
index 65e6e63..910b478 100644
--- a/src/junit/com/jogamp/common/util/TestVersionInfo.java
+++ b/src/junit/com/jogamp/common/util/TestVersionInfo.java
@@ -29,11 +29,13 @@
package com.jogamp.common.util;
import com.jogamp.common.GlueGenVersion;
+import com.jogamp.junit.util.TestTracer;
+
import java.io.IOException;
import org.junit.Test;
-public class TestVersionInfo {
+public class TestVersionInfo extends TestTracer {
@Test
public void testInfo01() {
diff --git a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java
index 3654428..a224633 100644
--- a/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java
+++ b/src/junit/com/jogamp/common/util/locks/TestRecursiveLock01.java
@@ -40,8 +40,9 @@ import org.junit.Assert;
import org.junit.Test;
import com.jogamp.common.os.Platform;
+import com.jogamp.junit.util.TestTracer;
-public class TestRecursiveLock01 {
+public class TestRecursiveLock01 extends TestTracer {
public enum YieldMode {
NONE(0), YIELD(1), SLEEP(2);