From c795290af0cb30c36760b739c9e6ebcfa3357fc8 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 10 Oct 2014 15:43:43 +0200 Subject: Fix minor compile errors introduced while backporting from master branch --- .../opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java | 4 ++-- .../jogamp/opengl/test/junit/newt/TestWindowAndPointerIconNEWT.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/com/jogamp/opengl') diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java index eb2536639..40c943f30 100644 --- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/es2/newt/TestGearsES2NEWT.java @@ -162,7 +162,7 @@ public class TestGearsES2NEWT extends UITestCase { public void display(final GLAutoDrawable drawable) { final GLAnimatorControl actrl = drawable.getAnimator(); if(waitForKey && actrl.getTotalFPSFrames() == 60*3) { - JunitTracer.waitForKey("3s mark"); + UITestCase.waitForKey("3s mark"); actrl.resetFPSCounter(); waitForKey = false; } @@ -726,7 +726,7 @@ public class TestGearsES2NEWT extends UITestCase { System.err.println("mappedBuffers "+useMappedBuffers); if(waitForKey) { - JunitTracer.waitForKey("Start"); + UITestCase.waitForKey("Start"); } org.junit.runner.JUnitCore.main(TestGearsES2NEWT.class.getName()); } diff --git a/src/test/com/jogamp/opengl/test/junit/newt/TestWindowAndPointerIconNEWT.java b/src/test/com/jogamp/opengl/test/junit/newt/TestWindowAndPointerIconNEWT.java index 75e63f7a7..868d897b8 100644 --- a/src/test/com/jogamp/opengl/test/junit/newt/TestWindowAndPointerIconNEWT.java +++ b/src/test/com/jogamp/opengl/test/junit/newt/TestWindowAndPointerIconNEWT.java @@ -41,7 +41,6 @@ import org.junit.Test; import org.junit.runners.MethodSorters; import com.jogamp.common.util.IOUtil; -import com.jogamp.junit.util.SingletonJunitCase; import com.jogamp.newt.Display; import com.jogamp.newt.Display.PointerIcon; import com.jogamp.newt.opengl.GLWindow; @@ -49,11 +48,12 @@ import com.jogamp.opengl.test.junit.jogl.demos.es2.GearsES2; import com.jogamp.opengl.test.junit.util.AWTRobotUtil; import com.jogamp.opengl.test.junit.util.MiscUtils; import com.jogamp.opengl.test.junit.util.QuitAdapter; +import com.jogamp.opengl.test.junit.util.UITestCase; import com.jogamp.opengl.util.Animator; import com.jogamp.opengl.util.AnimatorBase; @FixMethodOrder(MethodSorters.NAME_ASCENDING) -public class TestWindowAndPointerIconNEWT extends SingletonJunitCase { +public class TestWindowAndPointerIconNEWT extends UITestCase { static long duration = 1000; // ms -- cgit v1.2.3