diff options
author | Sven Gothel <[email protected]> | 2010-04-28 01:36:08 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2010-04-28 01:36:08 +0200 |
commit | bb251c6e1089da4a247350371fff425abf093e1e (patch) | |
tree | c32a3480ed4c446137a780a3408b706c3a622112 | |
parent | 3dae4b359e9494c34cc6056e43f1c835fca53100 (diff) |
Oops .. broke the tests, adding 'else' value ; fix assertion in test
-rw-r--r-- | make/build-common.xml | 2 | ||||
-rwxr-xr-x | src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/make/build-common.xml b/make/build-common.xml index bbc99b589..be323398e 100644 --- a/make/build-common.xml +++ b/make/build-common.xml @@ -153,7 +153,7 @@ <property name="build.junit" value="${build}/test/build" /> <property name="obj.junit" value="${build.junit}/obj"/> - <condition property="obj.custom" value="${custom.libdir}${path.separator}"> + <condition property="obj.custom" value="${custom.libdir}${path.separator}" else=""> <isset property="custom.libdir"/> </condition> diff --git a/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java b/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java index 49dddc701..ff4186b0c 100755 --- a/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java +++ b/src/junit/com/jogamp/test/junit/jogl/drawable/TestDrawable01NEWT.java @@ -78,7 +78,7 @@ public class TestDrawable01NEWT { void createWindow(boolean onscreen, boolean pbuffer, boolean undecorated) { caps.setOnscreen(onscreen); caps.setPBuffer(!onscreen && pbuffer); - caps.setDoubleBuffered(!onscreen); + caps.setDoubleBuffered(onscreen); // System.out.println("Requested: "+caps); // @@ -107,7 +107,7 @@ public class TestDrawable01NEWT { Assert.assertTrue(glCaps.getRedBits()>5); Assert.assertTrue(glCaps.isOnscreen()==onscreen); Assert.assertTrue(onscreen || !pbuffer || glCaps.isPBuffer()); // pass if onscreen, or !pbuffer req. or have pbuffer - Assert.assertTrue(glCaps.getDoubleBuffered()==!onscreen); + Assert.assertTrue(glCaps.getDoubleBuffered()==onscreen); Assert.assertTrue(glCaps.getDepthBits()>4); drawable = factory.createGLDrawable(window); |