JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.opengl.test.junit.util.MiscUtils Class Reference
Collaboration diagram for com.jogamp.opengl.test.junit.util.MiscUtils:

Classes

class  StreamDump
 

Static Public Member Functions

static boolean atob (final String str, final boolean def)
 
static int atoi (final String str, final int def)
 
static long atol (final String str, final long def)
 
static float atof (final String str, final float def)
 
static String toHexString (final byte hex)
 
static String toHexString (final short hex)
 
static String toHexString (final int hex)
 
static String toHexString (final long hex)
 
static void waitForKey (final String preMessage)
 
static void assertFloatBufferEquals (final String errmsg, final FloatBuffer expected, final FloatBuffer actual, final float delta)
 
static void assertFloatBufferNotEqual (final String errmsg, final FloatBuffer expected, final FloatBuffer actual, final float delta)
 
static void assertMatrix4fEquals (final Matrix4f expected, final Matrix4f actual, final float delta)
 
static void assertMatrix4fEquals (final String errmsg, final Matrix4f expected, final Matrix4f actual, final float delta)
 
static void assertMatrix4fNotEqual (final String errmsg, final Matrix4f expected, final Matrix4f actual, final float delta)
 
static boolean setFieldIfExists (final Object instance, final String fieldName, final Object value)
 
static void dumpSharedGLContext (final String prefix, final GLContext self)
 

Detailed Description

Definition at line 47 of file MiscUtils.java.

Member Function Documentation

◆ assertFloatBufferEquals()

static void com.jogamp.opengl.test.junit.util.MiscUtils.assertFloatBufferEquals ( final String  errmsg,
final FloatBuffer  expected,
final FloatBuffer  actual,
final float  delta 
)
static

Definition at line 108 of file MiscUtils.java.

◆ assertFloatBufferNotEqual()

static void com.jogamp.opengl.test.junit.util.MiscUtils.assertFloatBufferNotEqual ( final String  errmsg,
final FloatBuffer  expected,
final FloatBuffer  actual,
final float  delta 
)
static

Definition at line 133 of file MiscUtils.java.

◆ assertMatrix4fEquals() [1/2]

static void com.jogamp.opengl.test.junit.util.MiscUtils.assertMatrix4fEquals ( final Matrix4f  expected,
final Matrix4f  actual,
final float  delta 
)
static

Definition at line 154 of file MiscUtils.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ assertMatrix4fEquals() [2/2]

static void com.jogamp.opengl.test.junit.util.MiscUtils.assertMatrix4fEquals ( final String  errmsg,
final Matrix4f  expected,
final Matrix4f  actual,
final float  delta 
)
static

Definition at line 157 of file MiscUtils.java.

Here is the call graph for this function:

◆ assertMatrix4fNotEqual()

static void com.jogamp.opengl.test.junit.util.MiscUtils.assertMatrix4fNotEqual ( final String  errmsg,
final Matrix4f  expected,
final Matrix4f  actual,
final float  delta 
)
static

Definition at line 177 of file MiscUtils.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ atob()

static boolean com.jogamp.opengl.test.junit.util.MiscUtils.atob ( final String  str,
final boolean  def 
)
static

Definition at line 48 of file MiscUtils.java.

Here is the caller graph for this function:

◆ atof()

static float com.jogamp.opengl.test.junit.util.MiscUtils.atof ( final String  str,
final float  def 
)
static

Definition at line 75 of file MiscUtils.java.

Here is the caller graph for this function:

◆ atoi()

static int com.jogamp.opengl.test.junit.util.MiscUtils.atoi ( final String  str,
final int  def 
)
static

Definition at line 57 of file MiscUtils.java.

◆ atol()

static long com.jogamp.opengl.test.junit.util.MiscUtils.atol ( final String  str,
final long  def 
)
static

Definition at line 66 of file MiscUtils.java.

◆ dumpSharedGLContext()

static void com.jogamp.opengl.test.junit.util.MiscUtils.dumpSharedGLContext ( final String  prefix,
final GLContext  self 
)
static

Definition at line 271 of file MiscUtils.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setFieldIfExists()

static boolean com.jogamp.opengl.test.junit.util.MiscUtils.setFieldIfExists ( final Object  instance,
final String  fieldName,
final Object  value 
)
static

Definition at line 193 of file MiscUtils.java.

Here is the caller graph for this function:

◆ toHexString() [1/4]

static String com.jogamp.opengl.test.junit.util.MiscUtils.toHexString ( final byte  hex)
static

Definition at line 84 of file MiscUtils.java.

◆ toHexString() [2/4]

static String com.jogamp.opengl.test.junit.util.MiscUtils.toHexString ( final int  hex)
static

Definition at line 92 of file MiscUtils.java.

◆ toHexString() [3/4]

static String com.jogamp.opengl.test.junit.util.MiscUtils.toHexString ( final long  hex)
static

Definition at line 96 of file MiscUtils.java.

◆ toHexString() [4/4]

static String com.jogamp.opengl.test.junit.util.MiscUtils.toHexString ( final short  hex)
static

Definition at line 88 of file MiscUtils.java.

◆ waitForKey()

static void com.jogamp.opengl.test.junit.util.MiscUtils.waitForKey ( final String  preMessage)
static

Definition at line 100 of file MiscUtils.java.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: