GlueGen v2.6.0-rc-20250712
GlueGen, Native Binding Generator for Java™ (public API).
com.jogamp.common.util.TestJarUtil Class Reference
Inheritance diagram for com.jogamp.common.util.TestJarUtil:
Collaboration diagram for com.jogamp.common.util.TestJarUtil:

Classes

class  TestClassLoader
 

Public Member Functions

void testJarUtilFlat01 () throws IOException, IllegalArgumentException, URISyntaxException
 
void testJarUtilJarInJar01 () throws IOException, ClassNotFoundException, IllegalArgumentException, URISyntaxException
 
void testJarUtilJarInJar02 () throws IOException, ClassNotFoundException, IllegalArgumentException, URISyntaxException
 
void testJarUtilJarInJar03 () throws IOException, ClassNotFoundException, IllegalArgumentException, URISyntaxException
 Tests JarUtil's ability to resolve non-JAR URLs with a custom resolver. More...
 
- Public Member Functions inherited from com.jogamp.junit.util.JunitTracer
final String getTestMethodName ()
 
final String getSimpleTestName (final String separator)
 
final String getFullTestName (final String separator)
 
final void setUpBase ()
 
final void tearDownBase ()
 

Static Public Member Functions

static void init ()
 
static void main (final String args[]) throws IOException
 
- Static Public Member Functions inherited from com.jogamp.junit.util.SingletonJunitCase
static final void enableSingletonLock (final boolean v)
 Default is true. More...
 
static final void oneTimeSetUpSingleton ()
 
static final void oneTimeTearDownSingleton ()
 
- Static Public Member Functions inherited from com.jogamp.junit.util.JunitTracer
static final boolean isTestSupported ()
 
static final void setTestSupported (final boolean v)
 
static final void oneTimeSetUpBase ()
 
static final void oneTimeTearDownBase ()
 
static void waitForKey (final String preMessage)
 

Additional Inherited Members

- Public Attributes inherited from com.jogamp.junit.util.JunitTracer
final TestName _unitTestName = new TestName()
 
- Static Public Attributes inherited from com.jogamp.junit.util.SingletonJunitCase
static final String SINGLE_INSTANCE_LOCK_FILE = "SingletonTestCase.lock"
 
static final int SINGLE_INSTANCE_LOCK_PORT = 59999
 
static final long SINGLE_INSTANCE_LOCK_TO = 15*60*1000
 
static final long SINGLE_INSTANCE_LOCK_POLL = 500
 

Detailed Description

Definition at line 60 of file TestJarUtil.java.

Member Function Documentation

◆ init()

static void com.jogamp.common.util.TestJarUtil.init ( )
static

Definition at line 64 of file TestJarUtil.java.

Here is the call graph for this function:

◆ main()

static void com.jogamp.common.util.TestJarUtil.main ( final String  args[]) throws IOException
static

Definition at line 267 of file TestJarUtil.java.

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

◆ testJarUtilFlat01()

void com.jogamp.common.util.TestJarUtil.testJarUtilFlat01 ( ) throws IOException, IllegalArgumentException, URISyntaxException

Definition at line 142 of file TestJarUtil.java.

◆ testJarUtilJarInJar01()

void com.jogamp.common.util.TestJarUtil.testJarUtilJarInJar01 ( ) throws IOException, ClassNotFoundException, IllegalArgumentException, URISyntaxException

Definition at line 149 of file TestJarUtil.java.

Here is the call graph for this function:

◆ testJarUtilJarInJar02()

void com.jogamp.common.util.TestJarUtil.testJarUtilJarInJar02 ( ) throws IOException, ClassNotFoundException, IllegalArgumentException, URISyntaxException

Definition at line 170 of file TestJarUtil.java.

Here is the call graph for this function:

◆ testJarUtilJarInJar03()

void com.jogamp.common.util.TestJarUtil.testJarUtilJarInJar03 ( ) throws IOException, ClassNotFoundException, IllegalArgumentException, URISyntaxException

Tests JarUtil's ability to resolve non-JAR URLs with a custom resolver.

Meant to be used in cases like an OSGi plugin, where all classes are loaded with custom classloaders and therefore return URLs that don't start with "jar:". Adapted from test 02 above.

Exceptions
URISyntaxException
IllegalArgumentException

Definition at line 198 of file TestJarUtil.java.

Here is the call graph for this function:

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