summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-06-28 16:07:36 +0200
committerSven Gothel <[email protected]>2014-06-28 16:07:36 +0200
commit43c85971bba8a188b8888f68133ad4ecc97131fd (patch)
tree317d687fb9d538359c6b302e7bdfc91cc782cb50 /src/test
parentf91dad1a0898959fb379f0f5a2081fe0fbb50f9d (diff)
Fix 'typo' in messages: 'Catched' -> 'Caught'
Diffstat (limited to 'src/test')
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java6
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java6
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java2
-rw-r--r--src/test/com/jogamp/opengl/test/junit/util/UITestCase.java4
7 files changed, 12 insertions, 12 deletions
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java
index 76bcfd094..67e2555fd 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUTextRendererListenerBase01.java
@@ -126,7 +126,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB
this.fontName = font.toString();
} catch (IOException ioe) {
- System.err.println("Catched: "+ioe.getMessage());
+ System.err.println("Caught: "+ioe.getMessage());
ioe.printStackTrace();
}
setMatrix(0, 0, 0, 0f, sampleCount);
@@ -326,7 +326,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB
return true;
}
} catch (IOException ex) {
- System.err.println("Catched: "+ex.getMessage());
+ System.err.println("Caught: "+ex.getMessage());
}
return false;
}
@@ -343,7 +343,7 @@ public abstract class GPUTextRendererListenerBase01 extends GPURendererListenerB
return true;
}
} catch (IOException ex) {
- System.err.println("Catched: "+ex.getMessage());
+ System.err.println("Caught: "+ex.getMessage());
}
return false;
}
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java
index 6dfda1ae6..89361b511 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/GPUUISceneGLListener0A.java
@@ -157,7 +157,7 @@ public class GPUUISceneGLListener0A implements GLEventListener {
try {
font = FontFactory.get(FontFactory.UBUNTU).getDefault();
} catch (IOException ioe) {
- System.err.println("Catched: "+ioe.getMessage());
+ System.err.println("Caught: "+ioe.getMessage());
ioe.printStackTrace();
}
sceneUIController = new SceneUIController(sceneDist, zNear, zFar);
@@ -708,7 +708,7 @@ public class GPUUISceneGLListener0A implements GLEventListener {
try {
font = FontFactory.get(fontSet).getDefault();
} catch (IOException ioe) {
- System.err.println("Catched: "+ioe.getMessage());
+ System.err.println("Caught: "+ioe.getMessage());
ioe.printStackTrace();
}
@@ -991,4 +991,4 @@ public class GPUUISceneGLListener0A implements GLEventListener {
}
}
} };
-} \ No newline at end of file
+}
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java
index ea593ec7d..3a4e3c4ce 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/MSAATool.java
@@ -43,7 +43,7 @@ public class MSAATool {
System.err.println("glIsEnabled(0x"+Integer.toHexString(name)+") -> error 0x"+Integer.toHexString(glerr));
}
} catch (Exception e) {
- System.err.println("Catched Exception: "+e.getMessage());
+ System.err.println("Caught exception: "+e.getMessage());
// e.printStackTrace();
}
return isEnabled;
diff --git a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java
index 0844d1f02..c57f65567 100644
--- a/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java
+++ b/src/test/com/jogamp/opengl/test/junit/graph/demos/ui/UIGLListener01.java
@@ -60,7 +60,7 @@ public class UIGLListener01 extends UIListenerBase01 {
*/
System.err.println(button);
} catch (IOException ex) {
- System.err.println("Catched: "+ex.getMessage());
+ System.err.println("Caught: "+ex.getMessage());
ex.printStackTrace();
}
}
diff --git a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java
index 8eb84e152..881625ee4 100644
--- a/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java
+++ b/src/test/com/jogamp/opengl/test/junit/jogl/demos/gl2/Gears.java
@@ -257,7 +257,7 @@ public class Gears implements GLEventListener, TileRendererBase.TileRendererList
window.removeMouseListener(gearsMouse);
window.removeKeyListener(gearsKeys);
}
- } catch (Exception e) { System.err.println("Catched: "); e.printStackTrace(); }
+ } catch (Exception e) { System.err.println("Caught: "); e.printStackTrace(); }
setGears(0, 0, 0);
}
diff --git a/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java b/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java
index e5f13640d..746e7ee55 100644
--- a/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java
+++ b/src/test/com/jogamp/opengl/test/junit/util/MiscUtils.java
@@ -204,7 +204,7 @@ public class MiscUtils {
}
}
} catch (IOException ioe) {
- System.err.println("Catched "+ioe.getClass().getName()+": "+ioe.getMessage());
+ System.err.println("Caught "+ioe.getClass().getName()+": "+ioe.getMessage());
ioe.printStackTrace();
} finally {
eos = true;
diff --git a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java
index 3c0f388b6..d37760ec3 100644
--- a/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java
+++ b/src/test/com/jogamp/opengl/test/junit/util/UITestCase.java
@@ -170,7 +170,7 @@ public abstract class UITestCase {
}
}
} catch (Exception e) {
- System.err.println("Catched "+e.getClass().getName()+": "+e.getMessage());
+ System.err.println("Caught "+e.getClass().getName()+": "+e.getMessage());
e.printStackTrace();
}
}
@@ -203,7 +203,7 @@ public abstract class UITestCase {
errorCode = p.exitValue();
}
} catch (Exception e) {
- System.err.println("Catched "+e.getClass().getName()+": "+e.getMessage());
+ System.err.println("Caught "+e.getClass().getName()+": "+e.getMessage());
e.printStackTrace();
errorCode = Integer.MIN_VALUE;
}